Docker AMD Hardware Transcode

I'm running TVE version in docker(Portainer) on my TrueNAS Scale server. I am not able to get my iGPU to be seen in ChannelsDVR. I am able to see it in Plex and it does hardware transcoding.

I have an old AMD 2400G w/onboard graphics

Here is the debug output:
Hardware Transcoder Probe

×Close

amf

fork/exec /channels-dvr/2024.10.17.1732/ffmpeg-dl: no such file or directory

nvenc

fork/exec /channels-dvr/2024.10.17.1732/ffmpeg-dl: no such file or directory

vaapi@/dev/dri/card0

[AVHWDeviceContext @ 0x94a3280] libva: VA-API version 1.16.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 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 [AVHWDeviceContext @ 0x94a3280] libva: driver init failed [AVHWDeviceContext @ 0x94a3280] libva: va_openDriver() returns 18 [AVHWDeviceContext @ 0x94a3280] Failed to initialise VAAPI connection: 18 (invalid parameter).

signal: segmentation fault (core dumped)

vaapi@/dev/dri/renderD128

[AVHWDeviceContext @ 0x953d280] libva: VA-API version 1.16.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 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 [AVHWDeviceContext @ 0x953d280] libva: driver init failed [AVHWDeviceContext @ 0x953d280] libva: va_openDriver() returns 18 [AVHWDeviceContext @ 0x953d280] Failed to initialise VAAPI connection: 18 (invalid parameter).

signal: segmentation fault (core dumped)

vaapi@/dev/dri/renderD129

no such file or directory

vaapi@/dev/renderD128

no such file or directory

I have a AMD Ryzen 7 5700G and went down this path when I was running TrueNAS Core in a jail. I never got transcoding to work yet found the CPU was fast enough to transcode one video at a time. With other issues related to TrueNAS as an application host, I eventually moved Channels DVR and Plex to a N100 Windows box which works well and all the itrocrincrities of hosting the apps went away.

I've lost faith in TrueNAS as an application host. I will not be testing there docker implementation and there VM hosting is sub par. It is a super storage server and will continue to use it as a NAS.

Even though channels supports vaapi, channels would need to use Gallium RadeonSI and RADV Vulkan drivers to interop with Vulkan on amd gpus... as is my limited understanding.

Having the same issue with a AMD Ryzen 7 8845HS w/ Radeon 780M. Any way to get HW transcoding working?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.