Kodi Community Forum

Full Version: XBMC not using VDPAU acceleration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
My XBMC installation is not using the VDPAU acceleration despite of the option being selected in the settings menu.

This is what I have done so far:
1. Installed XBMC from XBMCLive Dharma beta 3 to my pc (Intel Core2 E4600 - nVidia 8600GT 256MB - 1GB RAM)

2. Installed the latest NVIDIA drivers (260.19.12) as described in this post:

Code:
Login - xbmc
password - xbmc or whatever you used at install

sudo apt-get update

sudo apt-get install wget
sudo apt-get install build-essential linux-headers-`uname -r`

download the NVIDIA driver

wget ftp://download.nvidia.com/XFree86/Linux-x86/260.19.12/NVIDIA-Linux-x86-260.19.12.run

sudo telinit 1

cd /home/xbmc

sudo sh NVIDIA-Linux-x86-260.19.12.run (say no to the first question then yes to the rest)

3. Turn ON the "Use VDPAU acceleration" setting


But I can see that the movie is not smooth.
Infact when I press 'o' during a playback of a BluRay backup (H264 1080p24): movie I see:
Code:
dc: ff-h264
CPU 0: 80% CPU 1: 84%

It looks like it's not using the VDPAU acceleration.
What I am supposed to do to make this working?
Maybe the installation instructions in step 2 were wrong somewhere?
Should I ever done the step 2, or the NVIDIA drivers were already installed?

Just to make a test , I have setup on the same PC a Windows installation with XBMC.
And when I press 'o' during the same bluray movie, I see:
Code:
dc: ff-h264-dxva2
CPU average: 20%

So this means that the card supports hardware acceleration but for some reason the LINUX version is not picking it up.

Any suggestion?
Try:
Code:
sudo apt-get install libvdpau1

If that don't make effects try

Code:
sudo nvidia-xconfig
That's a good tip...
I will try right now and get back.
Checking xbmc.log is usually a good thing to do Smile
Unfortunately it did not seem to work:

scalpel Wrote:Try:
sudo apt-get install libvdpau1

It's already installed.

scalpel Wrote:sudo nvidia-xconfig

Result:
Code:
Using X Configuration file: "/etc/X11/xorg.conf".

WARNING: No Layout specified, constructing implicid layout section using screen "screen",

WARNING: Unable to find CorePoint in X configuration; attempting to add new CorePointer section

WARNING: The CorePoint device was not specified explicitly in the layout; using the first mouse device.

WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new CoreKeyboard

WARNING: the CoreKeyboard device was not specified explicitly in the layout; using the first keyboard device.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to  '/etc/X11/xorg.conf'


Is there anything wrong with my installation?

tslayer Wrote:Checking xbmc.log is usually a good thing to do Smile

You are right. Where can I find it? [FOUND: will post shortly]
SOLVED: reinstalled everything from scratch, without upgrading manually the drivers and everything works out of the box.

Thanks to everybody for helping