I’ve been trying to get hardware acceleration working on my TrueNAS core machine, but just can’t seem to get past this hurdle. I have an AMD Ryzen 5 3400G CPU with Radeon RX Vega 11 integrated graphics. The /dev/dri/ directory does not exist for me.
lspci shows VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8)
I can run kldload /boot/modules/radeonkms.ko to load the module.
Follow up question - any advice on getting VA-API hardware acceleration to work inside a jail? I’ve exposed dev/drm and dev/dri, but not sure if I need to install/configure anything else; libva in installed (libva-2.21.0).
Attempting to use ffmpeg with hwaccel gives:
Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
No device available for decoder: device type vaapi needed for codec h264.