Phoronix today announced how to enable Radeon open-source driver UVD hardware Decoding in Ubuntu.
First, you need a Radeon HD 4000 Series or an updated video card. Then, you can follow the steps below to install it gradually:
- Install the VPDAU header file:
Sudo apt-get install libvdpau-dev
- Capture the latest code from the Git repository of Mesa, and add
-- With-gallium-drivers = r600 -- enable-vdpauCompile parameters for compilation and installation.
- Add the/usr/local/lib/vdpau parameter to/etc/ld. so. conf. d/z. conf. You can create a configuration file without this configuration file, and then run the ldconfig command.
- Install the 3.10 Kernel of the drm-next branch. You can download and install it from the Ubuntu Mainline Kernel PPA.
- Download the UVD Firmware of the GPU model and put it in the/lib/firmware directory. If you do not know the video model, you can download it all.
- Restart your computer and select a new kernel to enter the system.
- Use a Player compatible with the VDPAU interface for playback.
Tip 1: in Linux, Flash Player uses VDPAU to obtain GPU hardware decoding. In theory, Flash Player can also use UVD to play videos.
Tip 2: For other releases, refer to the above Guide to configure and adjust the version based on the actual environment.
In combination with the Radeon Gallium3D performance test conducted by Phoronix earlier, AMD's Radeon open source driver is progressing well. To some extent, the gap between the open source driver and the Catalyst closed source driver is getting smaller and smaller. If you have a Linux HTPC, consider it. If you are using a notebook, please calm down the battery first and give me more patience.