Kodi Community Forum
Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware (/showthread.php?tid=70068)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


- Amelandbor - 2010-04-21

Thanks a lot. Everything working smoothly here now.


Xorg Frustration! - unicorn13ocp - 2010-04-22

Firstly thanks for the script!

My install is Zotac IONITX - FE with firstly tried Mini Karmic and using xci.sh to get xbmc, then a straight install of XBMCFreaks911Live14.

TV is a Samsung 32"B650 with 1080p Native

The problem I had with both installs is that after running the script the rebooting to ensure a good restart, the interface at 1920x1080x60hz is ok but the thumbnails freeze and when selecting movies with 1920x1080x23.976/24hz all I have is audio and no Video with break-up.

I was Gonna link to photobucket here but no matter what i try the links never work within the board:confused2:

ANyone have any ideas as I am fresh out after running through the listed optins in post 1.

this is xorg.conf

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60_0" "1920x1080_24"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for SAMSUNG (DFP-1) ---
#  "nvidia-auto-select" : 1920 x 1080 @  60.0 Hz  
#  "1920x1080"          : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60"       : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60_0"     : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_50"       : 1920 x 1080 @ 50 Hz (CEA-861B Format 31)
#  "1920x1080_30"       : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
#  "1920x1080_25"       : 1920 x 1080 @ 25 Hz (CEA-861B Format 33)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1920x1080_50i"      : 1920 x 1080 @  50.0 Hz Interlace  
#  "1680x1050"          : 1680 x 1050 @  60.0 Hz  
#  "1680x1050_60"       : 1680 x 1050 @  60.0 Hz  
#  "1440x900"           : 1440 x  900 @  75.0 Hz  
#  "1440x900_75"        : 1440 x  900 @  75.0 Hz  
#  "1440x900_60"        : 1440 x  900 @  59.9 Hz  
#  "1360x768"           : 1360 x  768 @  60.0 Hz  
#  "1360x768_60"        : 1360 x  768 @  60.0 Hz  
#  "1280x1024"          : 1280 x 1024 @  75.0 Hz  
#  "1280x1024_75"       : 1280 x 1024 @  75.0 Hz  
#  "1280x1024_60"       : 1280 x 1024 @  60.0 Hz  
#  "1280x960"           : 1280 x  960 @  60.0 Hz  
#  "1280x960_60"        : 1280 x  960 @  60.0 Hz  
#  "1280x800"           : 1280 x  800 @  59.8 Hz  
#  "1280x800_60"        : 1280 x  800 @  59.8 Hz  
#  "1280x720"           : 1280 x  720 @  60.0 Hz  
#  "1280x720_60"        : 1280 x  720 @  60.0 Hz  
#  "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "1280x720_50"        : 1280 x  720 @  50.0 Hz  
#  "1152x864"           : 1152 x  864 @  75.0 Hz  
#  "1152x864_75"        : 1152 x  864 @  75.0 Hz  
#  "1024x768"           : 1024 x  768 @  75.0 Hz  
#  "1024x768_75"        : 1024 x  768 @  75.0 Hz  
#  "1024x768_70"        : 1024 x  768 @  70.1 Hz  
#  "1024x768_60"        : 1024 x  768 @  60.0 Hz  
#  "800x600"            :  800 x  600 @  75.0 Hz  
#  "800x600_75"         :  800 x  600 @  75.0 Hz  
#  "800x600_72"         :  800 x  600 @  72.2 Hz  
#  "800x600_60"         :  800 x  600 @  60.3 Hz  
#  "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 18)
#  "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 18)
#  "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3)
#  "640x480"            :  640 x  480 @  75.0 Hz  
#  "640x480_75"         :  640 x  480 @  75.0 Hz  
#  "640x480_73"         :  640 x  480 @  72.8 Hz  
#  "640x480_60"         :  640 x  480 @  60.0 Hz  
#  --- End of ModePool for SAMSUNG (DFP-1): ---

Thanks in advance
Andy


- Haohmaru - 2010-04-22

I've a B650 (40") too and the script did the job fine ! Encodes are smooth.
I only have issues with m2ts files or remuxes in mkv. They stuttering. Anyone knows how to fix that ?


- Second Tier - 2010-04-23

unicorn13ocp Wrote:TV is a Samsung 32"B650 with 1080p Native

Haohmaru Wrote:I've a B650 (40") too

If possible, can you guys post your TV's complete EDID? My 52-A650 is connected via this HDMI-minidisplayport adpater, which is sending it's own EDID to X. Can't get 1920x1080@24 to work with this script as the bogus EDID only has 50 and 60 modes listed (and a load of other crap). I've worked around it in Xorg.conf but want to clean up some of the values I guessed.

BTW, other than this issue, the script works a treat!


- TSlackM - 2010-04-26

I have a question regarding this,
nvidia reports desktop resulution at 1920x1080@23,976
however xbmc reports it to 1920x1080@24,000

is this to be expected? i would like to see it reporting 23,976 in xbmc too.


- bobo1on1 - 2010-04-26

It's not possible to make xbmc show that, and it doesn't really matter.


- stefano85 - 2010-04-26

stefano85 Wrote:hi guys, here i have the same problem as boba23, i have followed this guide and i have stutter if i set enable to "allow flipping" option in nvidia settings.anyway i see it only in 24/23.976 hz movie. Also the problem is that if i set it off when see a movie without black bars (totally fullscreen) i notice a tearing problem in upside screen always in the same point. maybe a problem with "allow flipping" disabled, but at least there's no more little stutter every 1-2 minutes. sorry for the bad english, hope there's a solution to this.
i have ubuntu 9.10 32bit with nvidia 195.36.15, asrock ion 330 pro (via HDMI) xbmc last svn, samsung 40 b7000 led tv correctly configured in xorg.conf.

sorry but is anyone here have the same problem as us? i've updated to lucid rc but it's the same thing. allow flipping with 24/23.976 hz films gets me stutter, it's that maybe related to the fact that xrandr can't handle non integer values? xbmc don't report frame drops, but that stutter is driving me almost crazy.


- lixe - 2010-04-28

Thanks! This works really nice =)

But I have a question/problem: Is it normal, that I'm not able to change my appearance settings in Ubuntu? I can only choose "None", but not "Normal" or (I guess, because I have a german Ubuntu installed) "Extended". Ubuntu searches for drivers if I select an other setting, but finally I only get an error message.


- stefano85 - 2010-04-28

lixe Wrote:Thanks! This works really nice =)

But I have a question/problem: Is it normal, that I'm not able to change my appearance settings in Ubuntu? I can only choose "None", but not "Normal" or (I guess, because I have a german Ubuntu installed) "Extended". Ubuntu searches for drivers if I select an other setting, but finally I only get an error message.

with the Option "Composite" "false" in your xorg.conf you've been disabled the effects and compiz in ubuntu that can cause problem with tearing with xbmc. That's why you can't choose that option. hope this helps. bye


- gokudo - 2010-04-29

I can't thank you enough to express how glad i am. No more need for "borrowed" modelines of some other tv not knowing if it's safe or not, no more sudden jerkiness, everything runs way better than before! AWESOME!


still getting really bad stuttering - nbennett1970 - 2010-04-29

Been battling with xbmc for several weeks now. To be fair I think I've established that my TV (Panasonic TX-32LXD700) is not sending the correct EDID information. Although it is a 720p screen it accepts 1080p input, and although not documented does accept 1080p and 24fps this test states that it does accept this signal: http://www.hdtvtest.co.uk/Panasonic-TX32LXD700/

Running XBMC-Live (xbmc-live-freak v13) on Foxconn NetBox 330i which has the Intel Atom processor and the Nvidia ION GPU)

I've had to setup modelines to even have 1080p and 24fps available, but still getting bad stuttering even with this guide.

I'd appreciate any advice - links to xorg.conf and xbmc.log below:

http://pastebin.com/p1abqL7d - xorg.conf

http://pastebin.com/isZ9x5gc - xbmc log file

Thanks!


- furii - 2010-04-29

nbennett1970 Wrote:Been battling with xbmc for several weeks now. To be fair I think I've established that my TV (Panasonic TX-32LXD700) is not sending the correct EDID information. Although it is a 720p screen it accepts 1080p input, and although not documented does accept 1080p and 24fps this test states that it does accept this signal: http://www.hdtvtest.co.uk/Panasonic-TX32LXD700/

Running XBMC-Live (xbmc-live-freak v13) on Foxconn NetBox 330i which has the Intel Atom processor and the Nvidia ION GPU)

I've had to setup modelines to even have 1080p and 24fps available, but still getting bad stuttering even with this guide.

I'd appreciate any advice - links to xorg.conf and xbmc.log below:

http://pastebin.com/p1abqL7d - xorg.conf

http://pastebin.com/isZ9x5gc - xbmc log file

Thanks!

i'm not sure why you are trying to force 1920x1080 resolution on a monitor that only has 1366x768 pixels. yes, it accepts a 1080p signal but the tv is going to scale that down to 720p so there's no reason to try using anything higher.


- nbennett1970 - 2010-04-29

furii Wrote:i'm not sure why you are trying to force 1920x1080 resolution on a monitor that only has 1366x768 pixels. yes, it accepts a 1080p signal but the tv is going to scale that down to 720p so there's no reason to try using anything higher.

Hi Furii - thanks for your comments. A good question! I'm really trying to force 24fps which I think I can only do at 1080p - assumption from the hdtvtest is that the TV will be better at down-scaling than letting XBMC / Ion do this (as the TV can display at 120Hz [a multiple of 24] then no pull-down should be required also). My theory is that if the TV can show blu-ray from a player with zero judder/stutter it should be able to do the same from a blu-ray rip on xbmc - i hope!


- furii - 2010-04-29

nbennett1970 Wrote:Hi Furii - thanks for your comments. A good question! I'm really trying to force 24fps which I think I can only do at 1080p - assumption from the hdtvtest is that the TV will be better at down-scaling than letting XBMC / Ion do this (as the TV can display at 120Hz [a multiple of 24] then no pull-down should be required also). My theory is that if the TV can show blu-ray from a player with zero judder/stutter it should be able to do the same from a blu-ray rip on xbmc - i hope!

did you read that you can't do 720p@24p somewhere? as far as i know 24p is just the frame rate at which the video is displayed and isn't related to the resolution. i know that article said something about playing back 1080p video at 24p without converting to 60hz, but i don't really see a reason why it would be forced to play at 60hz unless the ps3 sets it as such.

have you tried running jumjum's script without making your own modifications to the xorg.conf? that should give you the best results. also you need to add <loglevel>1</loglevel> to your advancedsettings.xml to get a proper debug log.

after doing a bit of browsing it doesn't seem your tv actually has a 24p mode: http://community.whathifi.com/forums/p/35546/36032.aspx#36032
double edit: from the user manual it clearly states that the only display mode for 720p is 60p or 50p. therefor 24p content you have will be subject to 3:2 pulldown.

Code:
Input signal that can be displayed
Note • Signals other than above may not be displayed properly. • The above signals are reformatted for optimal viewing on your display. • Applicable input signal for PC is basically compatible to VESA standard timing. • PC signal is magnified or compressed for display, so that it may not be possible to show fine detail
with sufficient clarity.
Signal name COMPONENT HDMI
525 (480) / 60i ∗ ∗
525 (480) / 60p ∗ ∗
625 (576) / 50i ∗ ∗
625 (576) / 50p ∗ ∗
750 (720) / 60p ∗ ∗
750 (720) / 50p ∗ ∗
1,125 (1,080) / 60i ∗ ∗
1,125 (1,080) / 50i ∗ ∗
1,125 (1,080) / 60p ∗
1,125 (1,080) / 50p ∗



- nbennett1970 - 2010-04-30

furii Wrote:did you read that you can't do 720p@24p somewhere? as far as i know 24p is just the frame rate at which the video is displayed and isn't related to the resolution. i know that article said something about playing back 1080p video at 24p without converting to 60hz, but i don't really see a reason why it would be forced to play at 60hz unless the ps3 sets it as such.

have you tried running jumjum's script without making your own modifications to the xorg.conf? that should give you the best results. also you need to add <loglevel>1</loglevel> to your advancedsettings.xml to get a proper debug log.

after doing a bit of browsing it doesn't seem your tv actually has a 24p mode: http://community.whathifi.com/forums/p/35546/36032.aspx#36032
double edit: from the user manual it clearly states that the only display mode for 720p is 60p or 50p. therefor 24p content you have will be subject to 3:2 pulldown.

Code:
Input signal that can be displayed
Note • Signals other than above may not be displayed properly. • The above signals are reformatted for optimal viewing on your display. • Applicable input signal for PC is basically compatible to VESA standard timing. • PC signal is magnified or compressed for display, so that it may not be possible to show fine detail
with sufficient clarity.
Signal name COMPONENT HDMI
525 (480) / 60i ∗ ∗
525 (480) / 60p ∗ ∗
625 (576) / 50i ∗ ∗
625 (576) / 50p ∗ ∗
750 (720) / 60p ∗ ∗
750 (720) / 50p ∗ ∗
1,125 (1,080) / 60i ∗ ∗
1,125 (1,080) / 50i ∗ ∗
1,125 (1,080) / 60p ∗
1,125 (1,080) / 50p ∗



Hi Furii - thanks. That makes sense. I've re-run JumJums script and discovered that 720p works much better on my display that 1080p (amended xorg.conf to reflect this). Still getting quite a lot of stuttering (particulalrly on vertical pans such as the opening scene of 'Day after tomorrow', although not dropping frames any more as far as I can tell. I've uploaded my xorg.conf & xbmc debug files (with the advanced settings you suggested) - if you get a chance to have a look I'd appreciate it.

http://pastebin.com/L7fmpWxM - Xorg.conf


http://pastebin.com/i57ZLCnG - xbmc.log