Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware

  Thread Rating:
  • 15 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
seninha Offline
Member
Posts: 86
Joined: Oct 2007
Reputation: 0
Post: #51
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)
find quote
furii Offline
Senior Member
Posts: 285
Joined: Jun 2009
Reputation: 4
Location: chicago
Post: #52
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.
find quote
KozmoNaut Offline
Junior Member
Posts: 1
Joined: Apr 2010
Reputation: 0
Post: #53
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
(This post was last modified: 2010-04-07 00:13 by KozmoNaut.)
find quote
seninha Offline
Member
Posts: 86
Joined: Oct 2007
Reputation: 0
Post: #54
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"
find quote
furii Offline
Senior Member
Posts: 285
Joined: Jun 2009
Reputation: 4
Location: chicago
Post: #55
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)
find quote
Esesen Offline
Junior Member
Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #56
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.
(This post was last modified: 2010-04-07 19:58 by Esesen.)
find quote
seninha Offline
Member
Posts: 86
Joined: Oct 2007
Reputation: 0
Post: #57
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)
(This post was last modified: 2010-04-07 21:56 by seninha.)
find quote
Esesen Offline
Junior Member
Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #58
Seninha,
i plug hdmi Cable to Onkyo & to Plasma only too with this configuration...

(sorry for my English)
(This post was last modified: 2010-04-07 22:11 by Esesen.)
find quote
boba23 Offline
Fan
Posts: 348
Joined: Nov 2007
Reputation: 0
Post: #59
@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

Antec Black Fusion 430, Gigabyte GA-73PVM-S2H, NVIDIA 9400GT 1GB - passive, Intel E8400 @ 3ghz C0 Stepping, 2x 1024MB DDR2-667, Samsung DVD-ROM - Ubuntu Lucid Beta2 AMD64, XBMC switching between Camelot and SVN.
find quote
DDM123 Offline
Senior Member
Posts: 138
Joined: Mar 2009
Reputation: 0
Post: #60
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.
find quote
Post Reply