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


- puddno - 2010-10-11

Hi, great thread. Building a couple of nvidia-based xbmc live boxes for friends and family. Is there a permanent solution to the resolution/Hz problem? In other words is it possible to force hd resolutions(720p/1080p) and skip XBMC reading the EDID info? So that I can plug my XBMC-player in to any TV whilst getting all the resolutions available.

Thanks!


nvidia 260.19.12 - ezechiel1917 - 2010-10-18

hmm... just updated to nvidia drivers 260.19.12 and now I'm getting perfectly smooth 24p playback, better than ever before. I've never had problem with 24p it was always smooth with no regular or random stutter/frame dropouts, but I've always noticed 24p jitter, but now it's all gone and playback is just perfect. Anyone else experience this with latest drivers?
NodNod

Here is my xorg.conf btw

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ONK"
    ModelName "ONK TX-SR508"
    HorizSync       15 - 81
    VertRefresh     23 - 76
    # 1920x1080p @ 50Hz (EIA/CEA-861B)
    ModeLine "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    # 1920x1080p @ 59.94Hz (EIA/CEA-861B)
    ModeLine "[email protected]" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    # 1920x1080p @ 23.976Hz (EIA/CEA-861B)
    ModeLine "[email protected]" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
EndSection

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

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "HWCursor" "false"
    Option "NoFlip" "false"
    Option "ModeValidation" "NoEdidModes, NoXServerModes, NoVesaModes, NoPredefinedModes"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "true"  
    Option "DynamicTwinView" "false"
    Option "ExactModeTimingsDVI" "True"
    Option "FlatPanelProperties" "Scaling = Native"

SubSection     "Display"
        Depth       24
        Modes      "1920x1080@50"
    EndSubSection
EndSection



- bossanova808 - 2010-10-19

Yes I have noticed the playback seems smoother with the new NVidia drivers - also I'd say slightly sharper and somehow cleaner too, and of course the colour (off the UI AND the video playback) is correct with no ceed for bright/contrast or studio levels tweaks. It's seemingly all good with the newer drivers, and I also could never quite get things perfectly smooth before.

(I am even not using my xorg.conf that I generated with the script, just the default I get from nvidia-settings). Switching to 24/50/60 as expected and jsut smoother.

(Same hardware - Shuttle w. ION2 - I've yet to try on my ASRock Ion 1)


- Superorb - 2010-10-19

What's the proper way to upgrade to the new nVidia drivers on an XBMC Live setup installed to hard drive?


- h.udo - 2010-10-19

Hi.
http://forum.xbmc.org/showpost.php?p=626779&postcount=10

hudo


- User 29008 - 2010-10-21

Hey folks,

do you guys notice any more frame drops with 1080p content running dharma beta or svn and the latest nvidia 260. drivers?
On my setup I just tested some 1080 h264 content, and basically it plays smoothly, but looking at dropped frames I get like 2 dropped frames every other minute or something.

boba


- gokudo - 2010-10-29

@boba23 and others: Interesting...I have only recently installed Dharma beta3 on my ASUS ION htpc and previously used 9.11. I then upgraded to the latest nvidia drivers 260, too. What I noticed first was, that my fps in codec info when in paused fullscreen video and playing back 23.976 material showed.....23.98. Without having installed JumJum's script. How is this possible? Before in 9.11 and without having used the nvidia modeline script it always showed me 24fps and I did install Dharma on a new formatted partition so no remains of the old installation there. Of course I'm positively suprised wether it's Dharma or the new nvidia driver, this is just excellent. Plus smoother overall playback and better contrast, plus a dozen other Dharma benefits. :-) I noticed regular framdedrops before in 9.11, too, so this is no suprise to me but they didn't bother me then since they are only a few and not noticeable. Have only tested SD material in Dharma however so far.


- X3lectric - 2010-10-31

@ gokudo

there were major refresh rate/resolution improvements that 9:11 didnt have, this can be further controlled via advancedsettings.xml, I have made a post about it somewhere here er see the page before or something.

Superorb Wrote:What's the proper way to upgrade to the new nVidia drivers on an XBMC Live setup installed to hard drive?

Use a ppa, I think its the xswat ppa though I rather go xbmcbuntu style installs like stuffs on my sig. I find theres not many lucid or maverick ppas with video drivers but thers plenty for karmic which is what I use.

I was gonna add to my sig a ppa with lucd/karmic video drivers but I havent been able to do it lately, mostly cause my ilness is getting worst and I sleep about 8 to 9 hours a week tops.


- newphreak - 2010-10-31

hmm, for some weird reason this has an opposite effect for me.
with this enabled it does judder and tear my picture. with 60hz and sync video refresh rate it just looks weird and lipsync isnt goot at all.

Im running Live install of Dharma beta 4. I have NVIDIA ION2 GT218-ION™ and IntelĀ® Atom™ Processor D525 Dual Core 1,8ghz. I'd be happy to test some more hehe, cause this didnt make much sense to me.

edit: and now even 60hz is bad hehe.. im getting nowhere with this.
I have a Samsung UE40C6715 tv.

edit2: thought id try 1280x720 on the different refresh rates as i was watching 720p movie this time, but same bad playback with or without this script enabled. Ive made a video with my cellphone, not sure if it reveils anything hehe.
http://www.easy-share.com/1912817592/IMG_0161.MOV


- senilio - 2010-11-01

boba23 Wrote:Hey folks,

do you guys notice any more frame drops with 1080p content running dharma beta or svn and the latest nvidia 260. drivers?
On my setup I just tested some 1080 h264 content, and basically it plays smoothly, but looking at dropped frames I get like 2 dropped frames every other minute or something.

boba

Same experience here, boba. Looks excellent, but drops a frame or two every couple of minutes. This is on a ION2 system.


- gokudo - 2010-11-01

I noticed that i can't playback material ripped straight from some hdtv stations of my country which are 720p@50fps NOT interlaced. Audio drops out in short periods and video stutters. I was able to play such material in 9.11 though but only when switching to 720p, now even that doesn't help anymore. Don't know what to do about that for the moment, it seems this mode just isn't covered correctly, "only" 23,97, 25(50 interlaced) and 29,97(59,94 interlaced) work so far. I would take a wild guess that real non-interlaced 60fps material may cause the same problems now.

EDIT: Works now, don't know why now since I changed nothing only switched around a bit again and again to the same settings that worked for me in 9.11. I get the feeling some options need to be set more time than once to really change. Well it's a beta after all. Sorry for the false alarm.


- sebj - 2010-11-06

Quote:I would take a wild guess that real non-interlaced 60fps material may cause the same problems now.

Actually, I'm struggling with this right now.

Would love to know what you did man Laugh


- thecapsaicinkid - 2010-11-10

I haven't read the entire thread so excuse me if this has been mentioned already.

xrandr 'lies' about available refresh rates and will report unique ids such as 50.0, 51.0, 52.0.. until you set the EnableDynamicTwinView=false in xorg.conf at which point it'll display the actual rates 50.0, 60.0, 75.0 etc. That would give you spurious results if you ran the 'check' command at the beginning of this guide before you changed your xorg.conf.

Secondly, and kind of related, beware that if you have gpu scaling enabled and a PAL tv, the nvidia driver may be scaling to a 50Hz mode (it seems to scale everything to the nvidia-auto-select mode) even if you have chosen 60Hz as your desired output. This will cause problems running 60fps videos (a problem I had for ages).


- Jyujinkai - 2010-11-10

i do not understand what this post is about... can someone explain it so i know if i need to do it?


- thecapsaicinkid - 2010-11-11

Jyujinkai Wrote:i do not understand what this post is about... can someone explain it so i know if i need to do it?
Most screens report that they capable of more than one 'variation' of a particular refresh rate, i.e 59.94/60Hz.

Your system can only support one instance of a particular rate so it'll have to choose one which may in some cases be the undesirable one. Using the example above, your system may choose exactly 60Hz for its 60Hz mode and not 59.94Hz which is preferable ('60Hz' videos are actually 59.94)