Hi -
After a few years of perfect Intel-based HW acceleration by simply passing /dev/dri into the container and it 'just working', I've upgraded my server and now it has an AMD iGPU - a 660M to be precise.
It appears it is no longer 'plug and play' out the box with Debian 14 in a minimal install (no desktop environment), but there are conflicted threads about whether it should work, and if so, how to enable it.
I've poked around for a bit but ended up installing so many other things both outside and inside the container it sort of broke the point of using a container in the first place!
So I've gone back to square one and have a minimal Debian install with firmware-amd-graphics installed from testing (the whole distro is on testing), so should be up to date. I've also tried the current and pre-release of Channels but no difference.
With Intel that seemed to be enough as presumably any other libraries needed are then inside the container ... but I get this error:
h264_amf
fork/exec /channels-dvr/2025.08.01.1845/ffmpeg-dl: no such file or directory
h264_nvenc
fork/exec /channels-dvr/2025.08.01.1845/ffmpeg-dl: no such file or directory
h264_nvenc+deint
fork/exec /channels-dvr/2025.08.01.1845/ffmpeg-dl: no such file or directory
h264_nvenc+scaler
fork/exec /channels-dvr/2025.08.01.1845/ffmpeg-dl: no such file or directory
h264_nvenc+tonemap
fork/exec /channels-dvr/2025.08.01.1845/ffmpeg-dl: no such file or directory
h264_vaapi@/dev/dri/card0
[AVHWDeviceContext @ 0x30f39d40] libva: VA-API version 1.22.0
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
i915 does not support EXECBUFER2
DRM_IOCTL_VERSION, unsupported drm device by media driver: amdg
DRM_IOCTL_VERSION, unsupported drm device by media driver: amdg
[AVHWDeviceContext @ 0x30f39d40] libva: driver init failed
[AVHWDeviceContext @ 0x30f39d40] libva: va_openDriver() returns 18
[AVHWDeviceContext @ 0x30f39d40] Failed to initialise VAAPI connection: 18 (invalid parameter).
signal: segmentation fault
h264_vaapi@/dev/dri/renderD128
[AVHWDeviceContext @ 0x2c134d40] libva: VA-API version 1.22.0
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
i915 does not support EXECBUFER2
DRM_IOCTL_VERSION, unsupported drm device by media driver: amdg
DRM_IOCTL_VERSION, unsupported drm device by media driver: amdg
[AVHWDeviceContext @ 0x2c134d40] libva: driver init failed
[AVHWDeviceContext @ 0x2c134d40] libva: va_openDriver() returns 18
[AVHWDeviceContext @ 0x2c134d40] Failed to initialise VAAPI connection: 18 (invalid parameter).
signal: segmentation fault
h264_vaapi@/dev/dri/renderD129
no such file or directory
h264_vaapi@/dev/renderD128
no such file or directory
Firstly, I think I had this on Intel so maybe a red herring but why can't it find ffmpeg-dl? I've checked in the container and it is present on the paths mentioned (/channels-dvr/2025.08.01.1845/ffmpeg-dl)
Secondly, is the fact it says amdg instead of amdgpu an issue?
Thirdly and mostly, I'm looking for advice on what extra package I need to install on the host in order to have it work inside the container. I'm presuming it is a host package missing due to reports of it working elsewhere and it being unlikely the solution was to rebuild the image.
I've seen some threads say that I need to map another device, or maybe I need to move to the proprietary drivers ... ?
I'd be happy once this is sorted to write it up for others. I suspect that many others who report this working are running the server on a more featured machine and maybe not in a container so whatever I am missing is there already for them.
It's worth noting that while my GPU is recognised by Plex in it's settings, it is not used for transcoding indicating a similar root cause - though I've not troubleshot that.
Thanks for your help!
