Redsandro Wrote:Easy XBMC-VAAPI installation
This is awesome
I got an easy way of getting VAAPI to work with XBMC on my AMD Fusion A50M chipset (Zotac Fusion mainboard)
1. Install Ubuntu 11.10 Beta 2
Download the image and use unetbootin to create a bootable USB stick. Install from there.
2. Fixes
This is beta-software (next week the full version comes out, maybe you don't need this anymore.)
Code:
$ sudo apt-get update
$ sudo apt-get upgrade
2b. Optional fixes
Code:
$ sudo apt-get install gnome-shell
$ sudo apt-get remove overlay-scrollbar
$ sudo apt-get remove liboverlay-scrollbar-0.2-0
3. Install VAAPI driver from Splitted-Desktop
New URL
Code:
$ wget http://www.splitted-desktop.com/static/libva/xvba-video/xvba-video_0.8.0-1_amd64.deb
sudo dpkg -i xvba-video_0.8.0-1_amd64.deb
4. Install Catalyst 11.8 drivers.
Run jockey-gtk and install the ATI/AMD proprietary FGLRX graphics driver. The (post-release updates) version doesn't work. Yet. Maybe it works when the final version of Ubuntu Oneiric comes out.
5. Install patched XBMC from lars-opdenkamp PPA
Create /etc/apt/sources.list.d/xbmc-opdenkamp.list with following contents:
Code:
# RED 2011-10-08
# XBMC VAAPI patched natty repo
deb http://ppa.launchpad.net/lars-opdenkamp/xbmc-pvr/ubuntu natty main
deb-src http://ppa.launchpad.net/lars-opdenkamp/xbmc-pvr/ubuntu natty main
The PPA will complain about missing key. Take the last 8 characters from the key ID and insert like so:Code:
$ apt-get update
Replace 8NUMHERE with the actual key ID that the complaining apt-get update provides.Code:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8NUMHERE
Code:
$ apt-get update
$ apt-get install xbmc
5b. (optional) Check non-VAAPI playback
Movies already play back faster in XBMC due to the catalyst driver, but 1080 will probably not play back smooth yet. You can check this to make you extra happy when VAAPI works.
6. Verify correct installation of drivers
Error! Make a symbolic link like Robotica proposed:Code:
$ vainfo
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 -1
Code:
$ sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/
Correct!Code:
$ vainfo
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.8.0
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Correct!Code:
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6300 series Graphics
OpenGL version string: 4.1.11005 Compatibility Profile Context
7. Start XBMC and enable VAAPI, disable VDPAU
Robotica provided a nice screenshot:
http://gaspo.dyndns.org/files/xbmc-setti...ayback.png
8. Start XBMC, ready for action!
Restart XBMC, and play your 1080p movie.
Now, if only someone knew a trick to make Adobe Flash play fluent fullscreen in the browser..
I tried your guide and could get it to work only if i started xbmc from terminal, when starting it normally it crashes when i was about to start a video..
also when i started it the startup logo was weird.
BUT
then i tried your optional fix to install gnome shell, and when inlogged into gnome shell it works flawlessly..
so maybe make that step non-optional? =D
thnx m8
now my 170€ htpc works fine.. love it how spdif works out of the box also =)



But I know some people like it the way it is, so I made the step optional not to offend anynoe. 
Search
Help