right now i’m in the process of installing AMD drivers and libraries, and then verifying hw acceleration works using the guide here:
https://wiki.archlinux.org/title/Hardware_video_acceleration#AMD/ATI
So far my install command for AMD is:
dnf swap mesa-va-drivers mesa-va-drivers-freeworld -y && \
dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld -y && \
dnf install -y libva-utils vdpauinfo radeontop && \
dnf install -y mpv vlc
*** confirm hw accel ***
radeontop
vainfo
vdpauinfo
vulkaninfo | grep VK_KHR_video_
mpv --hwdec=auto video_filename
Currently i’m not sure if i should have both mesa-va-drivers-freeworld and mesa-vdpau-drivers-freeworld installed at the same time, i have the notion that only vaapi is necessary if everything works…
hmm i wonder now if i should also do
dnf swap mesa-vulkan-drivers mesa-vulkan-drivers-freeworld
because running dnf install mesa-vulkan-drivers-freeworld results in:
# dnf install mesa-vulkan-drivers-freeworld
Updating and loading repositories:
Repositories loaded.
Problem: problem with installed package
- installed package mesa-vulkan-drivers-25.0.1-2.fc41.x86_64 conflicts with mesa-vulkan-drivers(x86-64) provided by mesa-vulkan-drivers-freeworld-25.0.1-1.fc41.x86_64 from rpmfusion-free-updates
- package mesa-vulkan-drivers-freeworld-25.0.1-1.fc41.x86_64 from rpmfusion-free-updates conflicts with mesa-vulkan-drivers(x86-64) provided by mesa-vulkan-drivers-25.0.1-2.fc41.x86_64 from updates
- package mesa-vulkan-drivers-freeworld-25.0.1-1.fc41.x86_64 from rpmfusion-free-updates conflicts with mesa-vulkan-drivers(x86-64) provided by mesa-vulkan-drivers-24.2.4-1.fc41.x86_64 from fedora
- cannot install the best candidate for the job
Package Arch Version Repository Size
Installing:
mesa-vulkan-drivers-freeworld i686 25.0.1-1.fc41 rpmfusion-free-updates 117.3 MiB
Installing dependencies:
elfutils-libelf i686 0.192-9.fc41 updates 1.2 MiB
expat i686 2.7.0-1.fc41 updates 299.5 KiB
glibc i686 2.40-23.fc41 updates 5.5 MiB
glibc-gconv-extra i686 2.40-23.fc41 updates 7.7 MiB
libX11-xcb i686 1.8.11-1.fc41 updates 14.3 KiB
libXau i686 1.0.11-7.fc41 fedora 62.2 KiB
libdrm i686 2.4.124-1.fc41 updates 417.3 KiB
libedit i686 3.1-54.20250104cvs.fc41 updates 238.5 KiB
libffi i686 3.4.6-3.fc41 fedora 81.5 KiB
libgcc i686 14.2.1-7.fc41 updates 298.1 KiB
libpciaccess i686 0.16-13.fc41 fedora 47.9 KiB
libstdc++ i686 14.2.1-7.fc41 updates 2.7 MiB
libwayland-client i686 1.23.0-2.fc41 fedora 53.0 KiB
libxcb i686 1.17.0-3.fc41 fedora 1.1 MiB
libxml2 i686 2.12.10-1.fc41 updates 1.8 MiB
libxshmfence i686 1.3.2-5.fc41 updates 15.8 KiB
libzstd i686 1.5.7-1.fc41 updates 779.7 KiB
llvm-libs i686 19.1.7-3.fc41 updates 129.2 MiB
mesa-filesystem i686 25.0.1-2.fc41 updates 3.6 KiB
ncurses-libs i686 6.5-2.20240629.fc41 fedora 971.0 KiB
spirv-tools-libs i686 2024.4-1.fc41 updates 5.8 MiB
vulkan-loader i686 1.4.304.0-1.fc41 updates 562.6 KiB
xz-libs i686 1:5.6.2-2.fc41 fedora 229.8 KiB
zlib-ng-compat i686 2.2.3-2.fc41 updates 161.3 KiB
Skipping packages with conflicts:
mesa-vulkan-drivers x86_64 24.2.4-1.fc41 fedora 98.3 MiB
mesa-vulkan-drivers-freeworld x86_64 25.0.1-1.fc41 rpmfusion-free-updates 113.3 MiB
Transaction Summary:
Installing: 25 packages
Skipping: 2 packages
Total size of inbound packages is 63 MiB. Need to download 63 MiB.
After this operation, 277 MiB extra will be used (install 277 MiB, remove 0 B).
Is this ok [y/N]: n
and vulkaninfo | grep VK_KHR_video_ outputs:
# vulkaninfo | grep VK_KHR_video_
'DISPLAY' environment variable not set... skipping surface info
VK_KHR_video_decode_av1 : extension revision 1
VK_KHR_video_decode_queue : extension revision 8
VK_KHR_video_encode_queue : extension revision 12
VK_KHR_video_maintenance1 : extension revision 1
VK_KHR_video_queue
suggesting that h264 and h265 support is missing as documented in the arch documentation. Anyone know?
edit1:
yes, dnf swap mesa-vulkan-drivers mesa-vulkan-drivers-freeworld went error free, and after that the vulkan output is
VK_KHR_video_decode_av1 : extension revision 1
VK_KHR_video_decode_h264 : extension revision 9
VK_KHR_video_decode_h265 : extension revision 8
VK_KHR_video_decode_queue : extension revision 8
VK_KHR_video_encode_h264 : extension revision 14
VK_KHR_video_encode_h265 : extension revision 14
VK_KHR_video_encode_queue : extension revision 12
VK_KHR_video_maintenance1 : extension revision 1
VK_KHR_video_queue : extension revision 8
progress!