RADV Enables Vulkan Video By Default For RDNA3 / VCN4 GPUs
([Radeon] 5 Hours Ago
RADV Vulkan Video)
- Reference: 0001487833
- News link: https://www.phoronix.com/news/RADV-Vulkan-Video-VCN4
- Source link:
With Mesa's RADV driver supporting Vulkan Video for accelerated video encode/decode using this cross-platform, industry standard API it hasn't been exposed by default for RDNA3 graphics processors bearing VCN4 IP. That has now changed for Mesa 24.3 when using the latest VCN4 firmware.
David Airlie has merged support to Mesa 24.3 so the RADV Vulkan Video support is exposed by default when using a Navi 3x GPU with the VIdeo Core Next 4.x (VCN4) IP. The new Mesa code adds support for events to Vulkan Video queues on the latest graphics firmware.
The event handling support for Vulkan Video was the missing piece needed for passing the Vulkan Video Conformance Test Suite (CTS) tests.
[1]
The RDNA2 support remains off by default and there is no word from AMD yet when they may be providing updated firmware for the video events compatibility. Otherwise the support can be enabled via the RADV_PERFTEST=video_decode and RADV_PERFTEST=video_encode environment variables manually.
[2]This merge for Mesa 24.3 is what takes the RADV Vulkan Video support over the finish line for RDNA3 hardware paired with running the latest AMDGPU firmware files from linux-firmware.git.
[1] https://www.phoronix.com/image-viewer.php?id=2024&image=radv_vcn4_video_lrg
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30837
David Airlie has merged support to Mesa 24.3 so the RADV Vulkan Video support is exposed by default when using a Navi 3x GPU with the VIdeo Core Next 4.x (VCN4) IP. The new Mesa code adds support for events to Vulkan Video queues on the latest graphics firmware.
The event handling support for Vulkan Video was the missing piece needed for passing the Vulkan Video Conformance Test Suite (CTS) tests.
[1]
The RDNA2 support remains off by default and there is no word from AMD yet when they may be providing updated firmware for the video events compatibility. Otherwise the support can be enabled via the RADV_PERFTEST=video_decode and RADV_PERFTEST=video_encode environment variables manually.
[2]This merge for Mesa 24.3 is what takes the RADV Vulkan Video support over the finish line for RDNA3 hardware paired with running the latest AMDGPU firmware files from linux-firmware.git.
[1] https://www.phoronix.com/image-viewer.php?id=2024&image=radv_vcn4_video_lrg
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30837
chrisr