Basic UVD support v2 for Radeon on Gentoo
April 07, 2013 at 08:53 AM | categories: linux | View CommentsHere's a simple step-by-step guide for Gentoo users to start testing the newly released UVD support in the open source Radeon driver:
- Buy something from AMD/ATI. Be a good open source citizen and vote with your wallet! Some good candidates include this and this.
- Feel good about yourself.
- Wait several years for AMD developers and lawyers to get their collective shit together. Use the shitty proprietary Catalyst driver in the meantime.
emerge --sync
.- Say goodbye to x11-drivers/ati-drivers, replacing it with x11-drivers/xf86-video-ati. Make sure it says "radeon" instead of "fglrx" in the
VIDEO_CARDS
flag. - Install media-libs/mesa-9.2_pre20130404 and x11-drivers/radeon-ucode-20130402 kindly and promptly prepared by chithanh. All hail chithanh.
- Grab the latest kernel source from the drm-fixes-3.9 branch. This tarball should work.
- Apply all 11 patches from patchset v2 posted in the mailing list. Alternatively, apply this rolled-up patch.
- Build kernel. Make sure to set
CONFIG_DRM_RADEON
and add the relevant firmwares toCONFIG_EXTRA_FIRMWARE
(e.g. "radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/SUMO_rlc.bin radeon/SUMO_uvd.bin" for E-350). - Add "vdpau" to the
USE
flags and recompile packages that make use of it. - Reboot. Join forums / IRC / mailing lists for group hug.
UPDATE: Patchset v3 is out in the mailing list. Essentially the same as v2, with one change moved from 02 to 03.