Setting Up VAAPI Hardware Accelerated Video Decoding for Ubuntu 10.04 (example Intel Poulsbo GMA 500)

Diposkan oleh Unknown on Saturday, June 26, 2010

(For the more detailed guide for Ubuntu 9.10, which works much better for me, including suspend to ram, see here.)
This is just a really, really short basic howto for setting up the poulsbo X driver and VAAPI video acceleration on Ubuntu 10.04. I will post more details later.

1. Install the poulsbo driver:
sudo add-apt-repository ppa:gma500/ppa
sudo add-apt-repository ppa:gma500/fix
sudo apt-get update
sudo apt-get install poulsbo-driver-3d

2. Set up the Xorg.conf:
Section "DRI"
Mode 0666
EndSection

Section "Device"
Identifier "GMA500"
Option "AccelMethod" "EXA"
Option "DRI" "on"
Option "MigrationHeuristic" "greedy"
Option "IgnoreACPI" "yes"
Driver "psb"
EndSection

3. Reboot, check it's all working.

VAAPI
4. Download the right mplayer version:
wget http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/mplayer-vaapi-20100114.i686.tar.bz2
unp mplayer-vaapi*

5. Install the necessary libraries: (you can remove mplayer then, but it's the easiest method)
sudo apt-get install mplayer libgtop2-7

6. and play
mplayer -vo vaapi -va vaapi testfile.avi

If mplayer doesn't run because of missing libraries, this command will show which libraries are missing:
ldd mplayer-vaapi*/mplayer

Be quick, before the instructions change due to new repositories, libraries, etc... But don't everything to work flawlessly! My system doesn't even go into suspend, but crashes. Hence it can't come out of suspend, either. Backlight control still doesn't work for me. And I still have to do more testing on mplayer to see how smooth VAAPI actually is.

Theoretically, installing VLC 1.1.0 with VAAPI should be as easy as this:

sudo add-apt-repository ppa:c-korn/vlc && sudo apt-get update && sudo apt-get install vlc

But it didn't work out of the box for me and I didn't care about why. If you have hints, questions or - yes- comments, please post in the comments.

{ 0 komentar... read them below or add one }

Post a Comment

Come on share your comment, but please do not spam