Changes

Jump to: navigation, search

AMD: Installing Linux Mint 20

1,251 bytes removed, 08:28, 21 July 2020
/* Video acceleration drivers */
* Login using previously selected username and password.
== Radeon open-source graphics Video acceleration drivers ==
<pre>
$ sudo apt update
$ sudo apt install va-driver-all mint-meta-codecs vainfo
</pre>
Then run vdpauinfo vainfo command, you should see list of supported profiles, for example on fitlet1:
<pre>
$ vdpauinfo vainfo displaylibva info: :0 screen: 0VA-API version: 1Information string: G3DVL VDPAU Driver Shared Library version 1.7.0 Video surfacelibva infoname width height types-----------------------------------------Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so420 16384 16384 NV12 YV12 libva info: Found init function __vaDriverInit_1_7422 16384 16384 UYVY YUYV libva info: va_openDriver() returns 0444 16384 16384 Y8U8V8A8 V8U8Y8A8  Decoder capabilitiesvainfoname level macbs width heightVA----------------------------------------------------MPEG1 --- not supported ---MPEG2_SIMPLE 3 9216 2048 1152MPEG2_MAIN 3 9216 2048 1152H264_BASELINE 41 9216 2048 1152H264_MAIN 41 9216 2048 1152H264_HIGH 41 9216 2048 1152VC1_SIMPLE API version: 1 9216 2048 1152.7 (libva 2.6.0)VC1_MAIN vainfo: Driver version: Mesa Gallium driver 20.0.8 for AMD KABINI (DRM 2 9216 2048 1152VC1_ADVANCED .50.0, 5.4 9216 2048 1152MPEG4_PART2_SP 3 9216 2048 1152MPEG4_PART2_ASP 5 9216 2048 1152DIVX4_QMOBILE --- not supported -.0-40-generic, LLVM 10.0.0)DIVX4_MOBILE --- not supported ---vainfo: Supported profile and entrypointsDIVX4_HOME_THEATER --- not supported --- VAProfileMPEG2Simple : VAEntrypointVLDDIVX4_HD_1080P --- not supported --- VAProfileMPEG2Main : VAEntrypointVLDDIVX5_QMOBILE --- not supported --- VAProfileVC1Simple : VAEntrypointVLDDIVX5_MOBILE --- not supported --- VAProfileVC1Main : VAEntrypointVLDDIVX5_HOME_THEATER --- not supported --- VAProfileVC1Advanced : VAEntrypointVLDDIVX5_HD_1080P --- not supported --- VAProfileH264ConstrainedBaseline: VAEntrypointVLDH264_CONSTRAINED_BASELINE 0 9216 2048 1152VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceH264_EXTENDED --- not supported --- VAProfileH264Main : VAEntrypointVLDH264_PROGRESSIVE_HIGH --- not supported --- VAProfileH264Main : VAEntrypointEncSliceH264_CONSTRAINED_HIGH --- not supported --- VAProfileH264High : VAEntrypointVLDH264_HIGH_444_PREDICTIVE --- not supported ---VAProfileH264High : VAEntrypointEncSliceHEVC_MAIN --- not supported ---HEVC_MAIN_10 VAProfileNone --- not supported ---HEVC_MAIN_STILL --- not supported ---HEVC_MAIN_12 --- not supported ---HEVC_MAIN_444 --- not supported ---...: VAEntrypointVideoProc
</pre>
* Compatible with the most popular video formats
$ sudo apt install mpv youtube-dlmint-meta-codecs
For example, fitlet1 is capable to play full HD video from the local file:
<pre>
$ mpv -fs --hwdec=vdpau ~/Videos/big_buck_bunny/big_buck_bunny_1080p_h264.mov Playing: ~/Videos/big_buck_bunny/big_buck_bunny_1080p_h264.mov
(+) Video --vid=1 (*) (h264 1920x1080 24.000fps)
(+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
AO: [pulse] 48000Hz 5.1 6ch float
Using hardware decoding (vdpauvaapi).VO: [openglgpu] 1920x1080 vdpauvaapi[yuv420pnv12]
AV: 00:09:56 / 00:09:56 (99%) A-V: 0.000 Cache: 0s+0KB
</pre>
Or the same content directly from the youtube:
<pre>
# NOTE: need to install fixed youtube-dl package$ wget http://mirrors.kernel.org/ubuntu/pool/universe/y/youtube-dl/youtube-dl_2019.09.12.1-0ubuntu1_all.deb$ sudo dpkg -i youtube-dl_2019.09.12.1-0ubuntu1_all.deb</pre><pre>$ mpv -fs --hwdec=vdpau https://www.youtube.com/watch?v=uPvKTCo4YD0Playing: https://www.youtube.com/watch?v=uPvKTCo4YD0
(+) Video --vid=1 (*) (h264 1920x1080)
(+) Audio --aid=1 --alang=und eng (*) 'DASH audio' (aac opus 2ch 44100Hz) (external48000Hz)AO: [pulse] 44100Hz 48000Hz stereo 2ch floatUsing hardware decoding (vdpauvaapi).VO: [openglgpu] 1920x1080 vdpauvaapi[yuv420pnv12]
AV: 00:09:56 / 00:09:56 (99%) A-V: 0.000 Cache: 0s
</pre>
425
edits