Video Playback Stutter
#1
I am having some trouble with my XBMC setup. Everything was working fine, until I decided to upgrade from Ubuntu 9.10 to 10.04. Now all video playback stutters. It does this no matter the quality or resolution of the video. It stutters fairly regularly, about once per second. I have tried updating my graphics drivers. I have also tried all of the rendering settings in XBMC. Any ideas?
Reply
#2
vockleya Wrote:I am having some trouble with my XBMC setup. Everything was working fine, until I decided to upgrade from Ubuntu 9.10 to 10.04. Now all video playback stutters. It does this no matter the quality or resolution of the video. It stutters fairly regularly, about once per second. I have tried updating my graphics drivers. I have also tried all of the rendering settings in XBMC. Any ideas?

Impossible for anyone to help without more info. Read this sticky post.
Reply
#3
I am currently running Ubuntu 10.04 x86_64 with 2.6.32 kernel.

I had trouble installing XBMC from ppa:team-xbmc, so I ended up using ppa:team-xbmc-svn. I have XBMC PRE-10.5 r28042.

My graphics card is an Nvidia 8800 GTX 320MB and driver 195.36.24. It is running a dual-monitor setup, but has never had any trouble with it before. I have Coimpiz-fusion running as my window manager, but have never had any problems with it before.

The video stutters with any file, codec, container, and resolution/bitrate. The audio does not stutter.

The debug log file shows some audio decoding problems.
Reply
#4
vockleya Wrote:I am currently running Ubuntu 10.04 x86_64 with 2.6.32 kernel.

I had trouble installing XBMC from ppa:team-xbmc, so I ended up using ppa:team-xbmc-svn. I have XBMC PRE-10.5 r28042.

My graphics card is an Nvidia 8800 GTX 320MB and driver 195.36.24. It is running a dual-monitor setup, but has never had any trouble with it before. I have Coimpiz-fusion running as my window manager, but have never had any problems with it before.

The video stutters with any file, codec, container, and resolution/bitrate. The audio does not stutter.

The debug log file shows some audio decoding problems.

Your logs show some vdpau errors and also an error about missing faad Try:
Code:
sudo add-apt-repository ppa:nvidia-vdpau/ppa
sudo apt-get install libvdpau1 faad
Reply
#5
Neither installing those missing packages or disabling compiz did anything for the stutter.

The CDVDPlayerAudio discontinuity messages are still showing up in the debug log about once a second. I think those and the video stutter could be related.

Code:
09:30:08 T:140676098385680 M:3035303936   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1210082907.921000, should be:1211105708.333333, error:1022800.412333
09:30:08 T:140676098385680 M:3035303936   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1211126562.482333, should be:1211237474.541752, error:110912.059418
09:30:09 T:140676098385680 M:3035529216   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1211654557.521752, should be:1211537770.536320, error:-116786.985431
09:30:09 T:140676098385680 M:3035754496   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1211913145.218320, should be:1211704597.014925, error:-208548.203395
09:30:10 T:140676098385680 M:3035828224   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1212914137.656925, should be:1212805691.785472, error:-108445.871454
09:30:10 T:140676098385680 M:3036250112   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1213306191.361472, should be:1213206093.686354, error:-100097.675117
09:30:11 T:140676098385680 M:3036184576   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1213915134.752354, should be:1213806707.399864, error:-108427.352490
09:30:11 T:140676098385680 M:3035721728   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1214307206.975864, should be:1214207109.300747, error:-100097.675117
09:30:12 T:140676098385680 M:3035918336   DEBUG: CDVDPlayerAudio:: Discontinuity - was:1214916150.366747, should be:1214807701.289885, error:-108449.076862
Reply
#6
Make sure you have nvidia-settings installed.
Reply
#7
Nvidia-settings is installed and working correctly.
Reply
#8
Not in the log you posted.
Reply
#9
I am not sure why that command is throwing back an error. The command that was throwing an error ran fine in terminal.

Code:
aaron-desktop:~ aaron$ nvidia-settings -nt -q RefreshRate

(nvidia-settings:25092): Gtk-WARNING **: Unable to locate theme engine in module_path: "ubuntulooks",
60.00 Hz
60.02 Hz
aaron-desktop:~ aaron$

The Gtk warning is an unrelated problem. The video problems occur no matter if I use a theme that gets that error or not.
Reply
#10
Then you should disable dynamic twinview in xorg.conf or disable sync playback to display in xbmc.
Reply
#11
Disabling sync playback to display fixed everything. Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Video Playback Stutter0