• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 15
Req native resolution ( disable upscaling ) option
#76
Just out for curiosity, how good is the upscaling from 576p to 1080p in the Raspberry when dealing with multichannel audio at the same time?

I think it would also benefit in that case, right?
Reply
#77
(2012-10-26, 08:05)alfredo Wrote: Just out for curiosity, how good is the upscaling from 576p to 1080p in the Raspberry when dealing with multichannel audio at the same time?

I think it would also benefit in that case, right?

There's little processing cost in the upscale - that is handled in hardware.
You would get a secondary benefit in running the display at a lower resolution, that the overlay would be at a lower resolution, and hence the work required by the ARM to produce the overlay would be less.
This is also a disadvantage, as your subtitle/OSD would be much lower quality.

The upscaling done by the Pi, is decent ("Sinc over the range +-3*PI with Hamming window applied", rather than something basic like bilinear), but I'm sure a $2K TV/AVR can do a better job.

BTW: "omxplayer -r" on the Pi does something *very* similar to the patch proposed here. It set HDMI mode to the lowest resolution larger than the video size which has a matching (or integer multiple of) framerate.
I think it looks a little better, but the difference is subtle.
Reply
#78
Reading this thread since I updated to a 70" vizio and I can really see the limitation of xbmc on my linux box. Same file played via my 4 yr old popcorn hour looks fantastic. I am sure others had similar experience with WDTV and other boxes. Most of the stuff we watch is SD (TV shows, etc).

My question to adam.h. , how do I pull and build your branch on my linux box ? Any instructions etc ?

Thanks
Mudit

Edit: System Info - Linux Ubuntu 12.04, i3 2120, GT 240 HDMI -> Pio Elite VSX-23TXH -> Vizio 70" black friday costco special.
Reply
#79
Ok -- I got it to compiled and running it now. I can the difference between native and xbmc. I am watching a Top Gear episode, the native resolution is 640x352, which is closer to 16:9. When I play the file, I can see the HDMI resync, the TV goes blank and then it says HDMI is in 640x480 mode (which is 4:3). So technically its not really correct.

I am connecting the xbmc to a Pioneer Elite VSX-23TXH receiver which is connected to 70" TV.

Two issues (sorry if these were already answered earlier)

1. The audio starts playing immediately, but it takes about 2-3 seconds before the video is displayed.
2. When I play this file without the NR turned on, the file is played in stretched mode and no black bars on left/right side. But in native resolution, I see the black bars and I cant get rid of them. The video xbmc->video settings->Crop black bars, doesnt do anything. Also, the video mode also doesnt change anything for the L/R black bars. The only way I can get rid of the black bars is buying using the stretch function in my TV.

Here is my advanced settings changes
Code:
<nativeupscale>
                                                  <overridefps>true</overridefps>
                                                  <correctpixelratio>true</correctpixelratio>
                                                  <destres>1920x1080</destres>
                                                  <minoutres>0x0</minoutres>
                                                  <maxsrcres>0x0</maxsrcres>
</nativeupscale>

Here is log from xbmc.log for the HDMI-0 (Pioneer Rcvr)

Code:
....

Enumerated ALSA devices:
11:24:03 T:3006928704  NOTICE:     Device 1
11:24:03 T:3006928704  NOTICE:         m_deviceName      : hdmi:CARD=NVidia,DEV=1
11:24:03 T:3006928704  NOTICE:         m_displayName     : HDA NVidia
11:24:03 T:3006928704  NOTICE:         m_displayNameExtra: PIO VSX-23TXH on HDMI
11:24:03 T:3006928704  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
11:24:03 T:3006928704  NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
11:24:03 T:3006928704  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
11:24:03 T:3006928704  NOTICE:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_S32NE,AE_FMT_S16NE

....

11:24:03 T:3006928704    INFO: Output 'HDMI-0' has 26 modes
11:24:03 T:3006928704    INFO: ID:0x1c7 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1c8 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1c9 Name:1920x1080 Refresh:59.939388 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1ca Name:1920x1080 Refresh:50.000000 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1cb Name:1920x1080 Refresh:23.970909 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1cc Name:1920x1080 Refresh:29.998381 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1cd Name:1920x1080 Refresh:25.022240 Width:1920 Height:1080
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1ce Name:1280x800 Refresh:59.810329 Width:1280 Height:800
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.106322
11:24:03 T:3006928704    INFO: ID:0x1cf Name:1280x720 Refresh:60.000000 Width:1280 Height:720
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1d0 Name:1280x720 Refresh:59.943432 Width:1280 Height:720
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1d1 Name:1280x720 Refresh:50.000000 Width:1280 Height:720
11:24:03 T:3006928704    INFO: Pixel Ratio: 0.995690
11:24:03 T:3006928704    INFO: ID:0x1d2 Name:1024x768 Refresh:75.028580 Width:1024 Height:768
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d3 Name:1024x768 Refresh:70.069359 Width:1024 Height:768
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d4 Name:1024x768 Refresh:60.003841 Width:1024 Height:768
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d5 Name:800x600 Refresh:75.000000 Width:800 Height:600
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d6 Name:800x600 Refresh:72.187569 Width:800 Height:600
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d7 Name:800x600 Refresh:60.316540 Width:800 Height:600
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1d8 Name:720x576 Refresh:50.000000 Width:720 Height:576
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.416092
11:24:03 T:3006928704    INFO: ID:0x1d9 Name:720x480 Refresh:59.940060 Width:720 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.180077
11:24:03 T:3006928704    INFO: ID:0x1da Name:640x480 Refresh:75.000000 Width:640 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1db Name:640x480 Refresh:59.940479 Width:640 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1dc Name:640x480 Refresh:59.928570 Width:640 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.327586
11:24:03 T:3006928704    INFO: ID:0x1dd Name:480x576 Refresh:50.000000 Width:480 Height:576
11:24:03 T:3006928704    INFO: Pixel Ratio: 2.124138
11:24:03 T:3006928704    INFO: ID:0x1de Name:480x480 Refresh:59.940060 Width:480 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 1.770115
11:24:03 T:3006928704    INFO: ID:0x1df Name:411x576 Refresh:50.070591 Width:411 Height:576
11:24:03 T:3006928704    INFO: Pixel Ratio: 2.480745
11:24:03 T:3006928704    INFO: ID:0x1e0 Name:411x480 Refresh:59.972790 Width:411 Height:480
11:24:03 T:3006928704    INFO: Pixel Ratio: 2.067288


....

11:25:53 T:2797935424   DEBUG: OutputPicture - change configuration. 640x352. framerate: 25.00. format: YV12

.....

11:25:54 T:2797935424  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
11:25:54 T:2797935424  NOTICE: Searching for NATIVE resolution: 640x352
11:25:54 T:2797935424  NOTICE: Display resolution ADJUST2 : HDMI-0: 640x480 @ 75.00Hz (32)
....






Reply
#80
Try <correctpixelratio>false</correctpixelratio>, just in case.
Issue 1 : It's not xbmc, it's your TV screen witch take several seconds to HDMI resync, xbmc send video at the same time than audio, it's your TV witch is not displaying it. I know this, because my TV has the same behavior : Several seconds to resync HDMI.

I've tested this feature, but in the end gave up...
Reply
#81
(2012-12-07, 14:32)jpsdr Wrote: Try <correctpixelratio>false</correctpixelratio>, just in case.
Issue 1 : It's not xbmc, it's your TV screen witch take several seconds to HDMI resync, xbmc send video at the same time than audio, it's your TV witch is not displaying it. I know this, because my TV has the same behavior : Several seconds to resync HDMI.

I've tested this feature, but in the end gave up...

I do like the feature but I think I'll rather wait for XBMC to do better scaling. Somehow that the switching is a deal killer.
Is it possible to add a delay in playing the video via the video player so it gives enough time for the HDMI sync to happen ?

EDIT: correctpixelratio - change it to true or false doesnt change the behavior.

Thanks
Mudit

Reply
#82
(2012-12-08, 00:33)mwahal Wrote: Is it possible to add a delay in playing the video via the video player so it gives enough time for the HDMI sync to happen ?

Yes, i think there is somewhere in the system/video options, a setting wich allows to delay when xbmc change mode.
Reply
#83
(2012-12-08, 16:13)jpsdr Wrote:
(2012-12-08, 00:33)mwahal Wrote: Is it possible to add a delay in playing the video via the video player so it gives enough time for the HDMI sync to happen ?

Yes, i think there is somewhere in the system/video options, a setting wich allows to delay when xbmc change mode.

I think the delay is simply too long to enjoy any benefits of native resolution.

Reply
#84
(2012-12-08, 16:13)jpsdr Wrote:
(2012-12-08, 00:33)mwahal Wrote: Is it possible to add a delay in playing the video via the video player so it gives enough time for the HDMI sync to happen ?

Yes, i think there is somewhere in the system/video options, a setting wich allows to delay when xbmc change mode.

The delay is for pausing when refresh rate changes, not when the xbmc change resolution mode. Unless they both are equal somehow.
Reply
#85
They may... It doesn't hurt to try.
Reply
#86
@mwahal, it looks like NR tries to stretch your source to 4x3 which may not be the best idea in this case. The <correctpixelratio>false</correctpixelratio> disables any automatic stretching done by NR, so whatever is in your original xbmc settings will be in place.

The long syncing time may be related to this high fps (I see 75 Hz in your logs) - you can disable it as well with <overridefps>false</overridefps>.

Reply
#87
adam.h - I did try correctpixelratio true and false, but the picture remained same - a boxed 4:3. Any logs/debugs you want me to enable ?

I will try the overridefps false.
Reply
#88
check your stretching options in xbmc - if correctpixelratio is false then xbmc settings are taking over
Reply
#89
My video zoom option is set to Normal.
Reply
#90
@Adam.h, I am new here, I just found this thread (and the Github pull) by accident after asking about just this sort of thing http://forum.xbmc.org/showthread.php?tid=148665

I am not a complete newbie when it comes to running a compiler but I am not so experienced about adding patches (only did so on MAME a couple times recently) so I would appreciate if you or someone else could help me out to get this on my HTPC.

FWIW, I hope you don't let the attitudes of those guys on the Github get you down or make you stop working on this, because it is MOST DEFINITELY needed.

+1 indeed.

- Edgewalker
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 15

Logout Mark Read Team Forum Stats Members Help
native resolution ( disable upscaling ) option9