2010-12-22, 11:34
The only issue about using AMD (and Intel) hardware decoding is Incorrect usage of VAAPI surfaces, but it's not about driver, it's about xbmc itself.
sudo apt-get install -y python-software-properties
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo rm /etc/X11/xorg.conf
sudo apt-get update && sudo apt-get install --reinstall fglrx fglrx-amdcccle -y
cd /etc/X11/ && sudo aticonfig -f --initial
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install linux-headers-2.6.37-11-generic-pae linux-image-2.6.37-11-generic-pae
wget http://www.splitted-desktop.com/~gbeauchesne/xvba-video/xvba-video_0.7.7-1_i386.deb
sudo dpkg -i xvba-video_0.7.7-1_i386.deb
sudo apt-add-repository ppa:lars-opdenkamp/xbmc-pvr
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install xbmc
Vanek Wrote:I'm using HD4200 on Ubuntu 10.10 too... All I had to do isWow, is that "all" you had to do -- reinstall the kernel and all video modules from 3rd-party sources? Thanks for the info but I'm not willing to go that far 'off the reservation' from the original Ubuntu repositories. Surely you don't have to replace that many modules to make this work?
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
libva: libva version 0.31.1-sds1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.7
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Quote:I uninstalled vainfo and removed the 'xorg-edgers' PPA. Then I force-installed the "older" libva1 (from splitted-desktop) as well as the libva-dev file,there was no need to do that, you just had to make sure that /usr/lib/dri/fglrx_drv_video.so is symbolic link to `/usr/lib/va/drivers/xvba_drv_video.so'
> sudo dpkg -i libva1_0.31.1-1+sds4_i386.deb
> sudo dpkg -i libva-dev_0.31.1-1+sds4_i386.deb
locate xvba_drv_video.so
file /usr/lib/dri/fglrx_drv_video.so
Quote:libva: libva version 0.31.1-sds1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.7
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
09:33:37 T:2822040432 M:3245617152 DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so
09:33:37 T:2822040432 M:3245617152 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x800, 28)
09:33:37 T:2822040432 M:3245363200 NOTICE: vdp_device = 0xffffffff vdp_st = 0x00000001
09:33:37 T:2822040432 M:3245363200 ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1. Falling back.
09:33:37 T:2822040432 M:3245363200 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
09:33:37 T:2822040432 M:3245363200 NOTICE: (VDPAU) Close
09:33:37 T:2822040432 M:3245363200 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10