Kodi Community Forum

Full Version: [LINUX] Excessive frame drop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm aware that this problem has occured for others, but never in such an extreme way.
I use XBMC to play files that are stored on a network drive (accessed via NFS) and it works fine for SD quality movies.
However, when playing 1080p files a huge amount of frames (like 15k+ for a complete movie) are dropped. The CPU load is always way below 100% (usually around 60-75%).
Hardware consists of an AMD X2 6000+ and a Nvidia Geforce GTX275 while using the proprietary Nvidia drivers.

Network speed can't be the problem, the problem persists when playing files locally. This problem seems to be Linux-related in some way, as playback works fine on Windows on the same machine.

My best guess would have been some problems with the hardware acceleration, any ideas?

Thanks in advance for your help

[Edit] Audio and Video often de-synchronize heavily (up to 5 seconds), maybe that helps narrowing it down ...
If hardware acceleration is enabled the CPU should be 10% even for 1080p. A debug log will tell you if XBMC is using VDPAU. I think that if you press O ("oh" not "zero") when the video is playing the display shopws whether VDPAUI is in use.

JR
I've just looked at the logfile:


19:51:41 T:2837285744 M:3891576832 DEBUG: FactoryCodec - Video: - Opening
19:51:41 T:2837285744 M:3891576832 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so
19:51:41 T:2837285744 M:3891499008 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x1040)
19:51:41 T:2837285744 M:3891499008 NOTICE: (VDPAU) unable to get handle to libvdpau
19:51:41 T:2837285744 M:3891499008 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
19:51:41 T:2837285744 M:3891499008 NOTICE: (VDPAU) ~CVDPAU
19:51:41 T:2837285744 M:3891499008 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

Seems like the hardware acceleration is not working, any ideas on fixing this?
Install libvdpau, libvdpau1 package on ubuntu.
Funny enough, did that a minute ago, wanted to post the result and now I'm reading your post Smile
As for the result: It works great now, thanks for your help