I have an Ubuntu minimal install, I have full video acceleration, and I didn't compile a single package. I really don't think it's necessary in fact. I installed two relevant ppas: lars-opdenkamp/xbmc-pvr, and ubuntu-x-swat/x-updates.
I have these packages installed:
- xbmc 11.0-pvr+odk40-eden~git20110530.615e173-0ubuntu1~ppa+odk40~natty
- xbmc-bin 11.0-pvr+odk40-eden~git20110530.615e173-0ubuntu1~ppa+odk40~natty
- libva-glx1 0.12-1~xup
- libva-x11-1 0.12-1~xup
- libva1 0.12-1~xup
- xvba-va-driver 7.8-0ubuntu1
- xserver-xorg 7.6+4ubuntu3
- xserver-xorg-core 1.10.1-1ubuntu1.1
- fglrx 8.850-0ubuntu1~xup2~natty
- fglrx-amdcccle 2:8.850-0ubuntu1~xup2~natty
- fglrx-dev 8.850-0ubuntu1~xup2~natty
- linux-image-2.6.39-3-generic 6.39-3.9
All the packages should be available from the above ppas and/or the main repos. Note that I did *not* use splitted-desktop's debs, because of a recent conflict with fglrx (IIRC). I did not run aticonfig to generate an xorg, I just let the driver auto-detect the screen's resolution during startup [1].
Be sure to run this command and pick fglrx:
Code:
sudo update-alternatives --config gl_conf
Be sure that your user is added to audio, video groups. There may be more groups required depending on your install, ie. whether you use pulseaudio like I do, etc. My vainfo:
Code:
libva: libva version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Others seemed worried that va_openDriver() returning 0 indicated a problem, but that does not seem to be the case for me. I have fully accelerated decoding for 1080p H.264 and VC-1.
My installation isn't perfect, but I mainly have to contend with driver bugs, so I imagine the issues are common to every install.
[1] The only problem with this is that if the screen is not plugged in or started at boot time, xbmc may start with the wrong resolution. In this case you have to log out and back in. I have the Slim login manager installed, set to auto-login at boot.