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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/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


- JumJum - 2010-04-03 15:46

Starstream Wrote:Did this on my XBMC Live system with Philips TV through Putty and worked fine.

Though to be be honest I never really noticed judder to be begin with & was just curious but everything seems a lot quicker in action 30 rock especially.

One thing does the automatic script sets the XBMC resolution to 1920x1080@60Hz mine was already that.

Yes.


- JumJum - 2010-04-03 15:50

TheShortOfIt Wrote:Hey guys... using this script too.. changing on 24hz and else works fine but I still have small judder in some movies... every few minutes... like a framerate drop... how can this be?

Without any info, that's like asking how long a string is!

Post your system info, your xorg.conf and a debug log in a new thread and I'm sure it can be figured out.


- seninha - 2010-04-04 10:46

I wonder if this will solve my problem.

On every movie I play SD or HD (DVD,ISO or MKV)when a shot goes from one side to the other I always notice that this doesn't go smoothly.

Hardware I use is a Asrock 330 ION.XBMC live is installed on my SSD drive.

Now I wonder if this is a software problem or as something to do with my Panasonic Plasma HD ready TV.


- ThEgOg - 2010-04-04 13:55

works great for me once i'd selected the right settings in xbmc.

using asrock 330 and a panasonic pf50, through a onkyo 606 amp.

many many thanks for this, must be easy if i can use it!!Big Grin


- ThEgOg - 2010-04-04 13:57

seninha Wrote:I wonder if this will solve my problem.

On every movie I play SD or HD (DVD,ISO or MKV)when a shot goes from one side to the other I always notice that this doesn't go smoothly.

Hardware I use is a Asrock 330 ION.XBMC live is installed on my SSD drive.

Now I wonder if this is a software problem or as something to do with my Panasonic Plasma HD ready TV.

what settings have you got selected in the "playback" options??

edit: think i've read your post wrong, have you used JumJum's script?


- seninha - 2010-04-06 16:38

No, because before I try this I want to know if my problem is Plasma+XBMC related.

Or as something to do with XBMC+hardware (Asrock 330 Ion)


- furii - 2010-04-06 17:09

seninha Wrote:No, because before I try this I want to know if my problem is Plasma+XBMC related.

Or as something to do with XBMC+hardware (Asrock 330 Ion)

without knowing your tv and the files you're trying to play that's impossible to say.


- KozmoNaut - 2010-04-07 00:06

Rather than creating a new thread, this thread seems to be the best place for the problem with my setup.

I'm using a 24" monitor (1920x1200@60) connected to a Geforce 7600 GS via dual-link DVI which works fine for just about everything, except I get persistent tearing in XBMC, both in the interface and during playback. I've tried mucking around with the nvidia vsync settings and the sync settings in XBMC to no avail.

I've checked all my settings and they seem to be correct according to this and other threads (and adjusted for a monitor rather than a TV), since both MPlayer and Kaffeine show no tearing at all when playing the same files that XBMC tears on (basically all files), but it's really noticable during the intro sequence of Deadwood with the flames and the horse riding across the screen. Major major tearing.

There is a slight inconsistency in how the refresh rate is shown, too:
Xrandr says 60hz
Nvidia-settings says 59.95hz
XBMC says 60hz, but if I pause a video and press 'o', it says 60.10fps:confused2:

Setting "DebugMode" to "on" in my xorg.conf tells me that 1920x1200@60 is what my monitor supports and what I should be getting, but no matter which combination of settings I try, I can't get rid of the tearing in XBMC.

Help? I are confoosedSmile


- seninha - 2010-04-07 17:03

furii Wrote:without knowing your tv and the files you're trying to play that's impossible to say.

TV I have is a Panasonic TH-42PV70 HD-ready Plasma and files I try to play are DVD's (iso) , MKV and WMV.
That means that all my movies are giving this "problem"


- furii - 2010-04-07 17:40

seninha Wrote:TV I have is a Panasonic TH-42PV70 HD-ready Plasma and files I try to play are DVD's (iso) , MKV and WMV.
That means that all my movies are giving this "problem"

i would lean towards your tv being the problem. a quick google search shows several sites listing the resolution as 1024x768 which is not uncommon or surprising for a tv from ~2007. what is surprising is that they advertise it as 1080p when that resolution isn't even full 720p (1280x720). that said, it is also advertised as a multi-system tv which should properly display both NTSC, film and PAL files.

my suggestion is to run jumjum's script and see what kind of results you get. if it's not perfect your tv is most definitely causing your issues.

(the specs i got from third party websites here, here and here. i wasn't able to find it on panasonic's website)


- Esesen - 2010-04-07 19:55

Seninha,
I have similar HDReady Plasma TH-42PV8 & ONKYO 507 & ASROCK ION 330HT, try my xorg.conf


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Tue Dec  8 21:04:28 PST 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-SR507"
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
    HorizSync      15-68
    VertRefresh    23-61
    Modeline    "1920x1080@23.976"  74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
    Modeline    "1920x1080@50p"     148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "1920x1080@59.94i"  74.176 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync Interlace
    Modeline    "1920x1080@59.94p"  148.352 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync
    Modeline    "1920x1080@60i"     74.25 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync Interlace
    Modeline    "1920x1080@60p"     148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine    "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync


EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "HWCursor" "False"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes       "1920x1080@50p" "1920x1080@24p" "1920x1080@60p"
    EndSubSection
    #no dynamically manipulation
    Option         "DynamicTwinView" "False"
    Option         "NoLogo" "True"
    #hdmi output only
    Option         "ConnectedMonitor" "DFP-0"
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

I use FullHD resolution because i think that Panasonic scaler is better than Asrock scaler.


- seninha - 2010-04-07 21:47

Esesen

Thanks, but can you also guide me how to use your lines Blush

(I know how to upgrade Nvidia drivers using SSH, and thats all Sad )

And , what do you mean by using FullHD? XBMC gives me a resolution of 720. And that 's also what I see on my screen whenever I change to HDMI 1 (thats where Asrock is attached to)

And last, what about this line:

Section "Monitor"
Identifier "Monitor0"
VendorName "ONK"
ModelName "ONK TX-SR507"

Should that give me any problem (i do not have an Onkyo)


- Esesen - 2010-04-07 22:02

Seninha,
i plug hdmi Cable to Onkyo & to Plasma only too with this configuration...

(sorry for my English)


- boba23 - 2010-04-08 01:20

@JumJum,

man you should seriously update your guide.

The line in post #1, which sets the variables for the nvidia-settings tool, activates flipping there ...
With flipping activated, I DO GET servere stutter with h264 vdpau playback. As soon as I turn it off, that stuttering is gone.
I doubt that's only me experiencing that behaviour.
Also for me it makes no sense, that you would turn off flipping in xorg.conf, and then again activate it in nvidia-settings?

boba


- DDM123 - 2010-04-08 15:26

One small issue with mode switching here...

If XBMC crashes while playing a 23.97/24hz file, the next time XBMC is run it stays at that mode until the setting is changed manually.

Not a big deal, but it does make the GUI choppy.