Problem: judder in XBMC for 23.976/24 fps content
#1
Hi!
I know this has been covered in alot of threads but none seem to have a definite solution, not one that has worked for me at least.

I am running XBMC Dharma Beta 3 on Ubuntu Lucid 10.04, installed from PPA.
Hardware:
Intel C2D E6300 @ 1.86GHz
1 GB RAM
nVidia Geforce 210
Connected to a 42" LG LD550 TV through hdmi.

The nvidia drivers installed are 256.53.

My problem is that now and then i see judder/jitter on movies being played, especially when theres much movement. It's like a fram is being missed/played twice.
Pressing 'o' when playing i can see that everytime i notice the problem the "missed" counter increases. Also error% counter increases. Buffers seem fine and playback is handled by vdpau.
When theres less movement, stills etc, i cant really see any judder.
Playing the files in smplayer shows no sign of this problem (tested @24 Hz).
I have tried to run xbmc-standalone and from within gnome but same results.

The relevant settings in XBMC are: vblank: always on, adjust to display: yes, sync playback to display: yes, a/v sync method: video clock (drop/dupe audio)

I have followed this guide to set up my xorg.conf.
Code:
for i in 24 60; do xrandr -r $i; nvidia-settings -q RefreshRate | grep -o "[0-9][0-9].*Hz"; done
shows the correct refresh rates, 23.976 and 59.94 Hz.

I have tried almost everything soon but cant seem to get rid of this very annoying problem.

I have even tried to add different modelines for 23.976/24 Hz to no avail.

My xorg.conf contains theese options:
Code:
Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "NoFlip"              "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"

I'm going nuts since my HD content is far from enjoyable and I'm considering m$ at this point. I would really hate to switch over to the dark side No

Could someone please point me in the right direction! Nod
Reply
#2
I'm having the same problem in win7 32bit, with an ati radeon 5450. It's really noticable on my kuro because it has the 3:3 dropdown auto-applied. The irony is playback at 59.97 has 'less' jutter... Thank god the skinning and plugins work so well though, huh? :rolleyes2:
Reply
#3
Does it work with external player, MPC-HC for example, or is it same same?
Reply
#4
Hi,

Same config (gt 210, dualcore,dharma beta 4, ubuntu 10.04), same options in XBMC and in xorg.conf (created with the script from the same guide) and same problem, even if it's better @50/60Hz.

I tryed to play with sync options but it didn't improve anything and i didn't have time to check the debug log. I'm waiting for the official released to post a debug.

Bibi
Reply
#5
Some people have reported an improvement using the latest Nvidia driver:

http://www.nvidia.com/object/linux-displ...river.html

I am running an Atom 330, 4GB RAM and GT 240; only other difference is that A/V sync method to "Audio".

I *do* notice an occasional dropped frame, however, I'd say it moreso when there is a transition from one scene to another not so much fast movement specifically...it seems to occur every 2-3 minutes or so...have a couple hundred dropped frames throughout a movie.

Annoying for me as well, but the above changes did seem to make a difference. Still room for improvement.
Reply
#6
thethirdnut Wrote:Some people have reported an improvement using the latest Nvidia driver:

http://www.nvidia.com/object/linux-displ...river.html

I am running an Atom 330, 4GB RAM and GT 240; only other difference is that A/V sync method to "Audio".

I *do* notice an occasional dropped frame, however, I'd say it moreso when there is a transition from one scene to another not so much fast movement specifically...it seems to occur every 2-3 minutes or so...have a couple hundred dropped frames throughout a movie.

Annoying for me as well, but the above changes did seem to make a difference. Still room for improvement.

Probably not going to work with 1GB RAM. You can get my problem. http://forum.xbmc.org/showpost.php?p=639017&postcount=4
Reply
#7
Actually got it working tonight. The only thing I can't have tried seems to have solved it.
Option "NoFlip" "true"
I have tried it before but must have had some other setting wrong because now I have smoooth playback Smile

Full Xorg.conf:
Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "NoFlip"              "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_50" "1920x1080_24"
        EndSubSection
EndSection

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


#  --- Modes in ModePool for LG Electronics LG TV (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 Hz Interlace (CEA-861B Format 20)
#  "1360x768"           : 1360 x  768 @  60.0 Hz  
#  "1360x768_60"        : 1360 x  768 @  60.0 Hz  
#  "1280x1024"          : 1280 x 1024 @  60.0 Hz  
#  "1280x1024_60"       : 1280 x 1024 @  60.0 Hz  
#  "1280x720"           : 1280 x  720 @  61.0 Hz  
#  "1280x720_61"        : 1280 x  720 @  61.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 Hz (CEA-861B Format 19)
#  "1152x864"           : 1152 x  864 @  75.0 Hz  
#  "1152x864_75"        : 1152 x  864 @  75.0 Hz  
#  "1024x768"           : 1024 x  768 @  60.0 Hz  
#  "1024x768_60"        : 1024 x  768 @  60.0 Hz  
#  "800x600"            :  800 x  600 @  60.3 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)
#  "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 21)
#  "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 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1)
#  --- End of ModePool for LG Electronics LG TV (DFP-1): ---
Reply
#8
I had the same problem:

- Camelot: butter-smooth with a common solution for Judder-free playback
- Dharma Beta2-RC2, annoying jerking. Almost every second, growing number of missed frames.

As a temporary relieve, I set "vertical blank sync" to "always off". It helped with judder, but wasn't nice

So, just only "NoFlip" to "true" made it perfect. There is a missed frames sometimes on full HD or mine 59.94 fps video. Very rare and I do not see it.
Reply
#9
"Noflip" "true" made playback smooth for me at least.
Before trying that I followed this guide: http://forum.xbmc.org/showthread.php?tid=70068

I have PowerMizer locked at maximum performance and no CPU frequency scaling.
Reply
#10
Vicious Wrote:"Noflip" "true" made playback smooth for me at least.
Before trying that I followed this guide: http://forum.xbmc.org/showthread.php?tid=70068

I have PowerMizer locked at maximum performance and no CPU frequency scaling.

Quick Question - I tried everything to lock Powermizer in max performance through the xorg.conf file, but this seems not to be working in the latest NVidia drivers (260.19.26).

How did you lock in the max performance ?

On a side note, I also achieved SMOOTH feedback in 1080p/720p .mkv content both 24fps and 25fps since setting "noflip" to "true" :-)
Reply
#11
In xorg.conf this sets PowerMizer to maximum performance for me:
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x1; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"

This works for me and I'm running 260.19.26 from xswat ppa.
I don't know if letting PowerMizer scale GPU frequenccy affects playback but since my gpu runs cool at maximum (~47 C idle, passive cooling) I have left it there.
Reply
#12
Thumbs Up 
Thanks for the solution Vicious.
Also have Geforce 210 and still on 256.53 driver. Followed your instructions and no more dropped frames/judder on allmost all 24/23.976 content with 1980x1080 "24hz" output Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Problem: judder in XBMC for 23.976/24 fps content0