How to enable UVD hardware Decoding with Radeon open-source driver in Ubuntu

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.