Solved Tiny but noticeable frame drops every ~1 second
#1
Summary: Every video I view regardless of resolution, encoding, container, source (file, youtube plugin, DVD) has, at best, a small yet noticeable freeze or frame drop once every second. It can be hard to notice unless there is much horizontal motion happening, but it is there. Sometimes the frame drops are much worse, but I'm not sure if that is the same problem.

Here's the relevant information as per the troubleshooting guide:
1. http://paste.ubuntu.com/1527057/
Looking at the log I wonder if lines like the following are representative of the issue:
12:00:26 T:139851070011136 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2091986.431000, should be:2057503.672379, error:-34482.758621

2. Screenshots don't show the issue.
3. XBMC 11.0 Git:Unknown (Compiled: Apr 24 2012)
4. Xubuntu 12.04 64bit up to date as of 13.01.13
* Kernel 3.2.0-30-generic #48-Ubuntu
5. x86_64
6. Installed from team-xbmc PPA
7. Git revision "Unknown" (see above)
8. Steps to reproduce: Play any video.
9. No crash logs - not applicable.
10. No compile logs - not applicable.

Hardware:
Zotac ZBox HD-ID11
Intel Atom D510 @ 1.66GHz (not overclocked)
2GB RAM
Integrated NVidia ION GPU (GT218)

Driver appears to be "NVIDIA GLX Module 295.40 Thu Apr 5 21:57:38 PDT 2012" (From the Xorg log).
I'm using the VDPAU output support.

Any suggestions are welcome, I really don't know where to start! Thanks Smile
Reply
#2
12:00:23 T:139851078403840 DEBUG: Resolution 1920x1080 (12) not a very good match for fps 25.000 (weight: 1.000), trying 2:3 cadence
12:00:23 T:139851078403840 DEBUG: Resolution 1920x1080 (12) not a very good match for fps 25.000 with 2:3 cadence (weight: 1.000), choosing 60 hertz


you are playing 25Hz movies at 60Hz, the result is telecine judder. You need a TV that supports at least 50Hz for judder free playback
Reply
#3
wsnipex: Thanks for the reply, but I see on the following line:
12:00:23 T:139851078403840 DEBUG: 60 hertz refreshrate not available, choosing highest

So it is evidently not using 60Hz, but I see nothing after that line which indicates the refresh rate it chose. I have a Samsung UE46EH5000W which from all of the technical specifications I can find, seems to only display at 50Hz. So I'm not convinced the problem is as simple as that.
Reply
#4
A good start with a full debug log not half logs (snippets) of what you think may be the problem Wink Though I see you read the sticky before posting well done Big Grin You win a brownie :p

I see you have Eden Im assuming (no one should assume anything) that everything below will work with Eden though I know it works with Frodo. :p

A second start is looking at my signature last link,if you have a TV which supports Full 1080p And for best XBMC settings for Nvidia gpu's Big Grin Also make sure you have at least Nvidia drivers version 304.64 from e.g. Xswat ppa

Code:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
apt-get update
sudo apt-get install nvidia-current nvidia-settings

If you had pastebined a full debug log would know what your tv supports as well

So that xorg.conf would work with your TV http://www.lcd-compare.com/televiseur-SA...EH5000.htm it says it does 1080p 50/60/24Hz

uNi
Reply
#5
uNiversal: That was the entire debug log, although I see what you mean - I didn't have it enabled from when XBMC started. That being said, I did try that and didn't see any output of supported resolutions or found output devices.

At this point do you think upgrading to Frodo would help or hinder fixing the problem?

EDIT: I'll also try your advice of updating the video drivers and see what effect that has.
Reply
#6
Er that was a clipped debug.log (missing a ton of info in there)

Frodo has a ton of fixes and improvements over Eden, however if upgrading make sure you backup your userdata.

In addition to drivers upgrade - look at the last link on my sig (last link) for xbmc settings and xorg.conf to tweak perfect playback and refresh-rate-matching

uNi
Reply
#7
What display device are you using? A monitor or television?
Monitors don't support the lower frame rates (24/25/30Hz) which could explain what is happening.
Reply
#8
Short answer is install the Nvidia drivers and make sure they work, then enable "Adjust display refresh rate to match video" under video playback settings. If it doesn't work out of the box you can use the xorg.conf uNiversal has in his signature.
Reply
#9
Trollslayer: A TV.

uNiversal: It seems that updating to Frodo and the latest Nvidia drivers may have been enough to fix the problem. I tried lowering the refresh rate to 50Hz (now available to change from within XBMC) and it seemed fine. But then I raised it back up to 60Hz and don't see the same freezing problems anyway.

I'll continue to monitor it, as the frame rates of my various videos seem to be all over the place. Thanks for the assistance!
negge: Also a good suggestion. I suspect it wasn't properly adjusting under Eden, as I only ever saw my TV reporting 1920x1080x60p, never 50p. Perhaps the auto-adjustment of refresh to match the video will work now.
Reply
#10
Good, case closed.

Feel free to mark this as solved then.

uNi
Reply

Logout Mark Read Team Forum Stats Members Help
Tiny but noticeable frame drops every ~1 second0