A major change brought about by Kernel 3.10 in video is to allow the open-source Radeon driver to use UVD for HD hardware decoding.
To implement Radeon UVD hardware decoding, the following requirements must be met:
- Kernel 3.10 +
- Libdrm 2.4.45 +
- Mesa 9.2 Git + and -- enable-vdpau
- Video players that support VDPAU: mplayer, XBMC, and VLC 2.1.X
The following uses Fedora 19 as an example to describe how to enable it. It is very simple:
pkcon install mesa-vdpau-drivers vdpauinfo
Then runvdpauinfo
View running results, such as on a A10-5800K:
display: :0 screen: 0API version: 1Information string: G3DVL VDPAU Driver Shared Library version 1.0Video surface:name width height types-------------------------------------------420 16384 16384 NV12 422 16384 16384 NV12 444 16384 16384 NV12 Decoder capabilities:name level macbs width height-------------------------------------------MPEG1 16 9216 2048 1152MPEG2_SIMPLE 16 9216 2048 1152MPEG2_MAIN 16 9216 2048 1152H264_BASELINE 16 9216 2048 1152H264_MAIN 16 9216 2048 1152H264_HIGH 16 9216 2048 1152VC1_SIMPLE 16 9216 2048 1152VC1_MAIN 16 9216 2048 1152VC1_ADVANCED 16 9216 2048 1152MPEG4_PART2_SP 16 9216 2048 1152MPEG4_PART2_ASP 16 9216 2048 1152Output surface:name width height nat types----------------------------------------------------B8G8R8A8 16384 16384 y NV12 R8G8B8A8 16384 16384 y NV12 R10G10B10A2 16384 16384 y NV12 B10G10R10A2 16384 16384 y NV12 Bitmap surface:name width height------------------------------B8G8R8A8 16384 16384R8G8B8A8 16384 16384R10G10B10A2 16384 16384B10G10R10A2 16384 16384A8 16384 16384Video mixer:feature name sup------------------------------------DEINTERLACE_TEMPORAL -DEINTERLACE_TEMPORAL_SPATIAL -INVERSE_TELECINE -NOISE_REDUCTION ySHARPNESS yLUMA_KEY -HIGH QUALITY SCALING - L1 -HIGH QUALITY SCALING - L2 -HIGH QUALITY SCALING - L3 -HIGH QUALITY SCALING - L4 -HIGH QUALITY SCALING - L5 -HIGH QUALITY SCALING - L6 -HIGH QUALITY SCALING - L7 -HIGH QUALITY SCALING - L8 -HIGH QUALITY SCALING - L9 -parameter name sup min max-----------------------------------------------------VIDEO_SURFACE_WIDTH y 48 2048VIDEO_SURFACE_HEIGHT y 48 1152CHROMA_TYPE y LAYERS y 0 4attribute name sup min max-----------------------------------------------------BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00SHARPNESS_LEVEL y -1.00 1.00LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y
Due to restrictions, we hope that other releases of shoes can share in the comments that use the release version to enable Radeon uvd vdpau. I will summarize this article for future reference.
Related reading:
AMD releases open-source UVD support
How to enable UVD hardware Decoding with Radeon open-source driver in Ubuntu
AMD open-source Radeon driver Dynamic Power Management
NVIDIA graphics Linux driver official version 180.29 released