Jellyfin Forum
Hardware acceleration in docker (AMD) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: Self-hosting & Homelabs (https://forum.jellyfin.org/f-self-hosting-homelabs)
+--- Thread: Hardware acceleration in docker (AMD) (/t-hardware-acceleration-in-docker-amd)



Hardware acceleration in docker (AMD) - mangoppola - 2024-09-18

Hello everyone!
I have been hosting jellyfin on my Ubuntu server for more than two years at this point and I've been extremely happy with it.
The only thing that I would like to fix, but never got around to, is that all of the transcoding (of which I do very little, to be fair) happens on the CPU because I cannot figure out how to configure hardware acceleration using my hardware.
Here are my specs and the details of the installation.

Server: Jellyfin:
  • Hosted on a docker container
  • Version 10.9.11
Code:
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel
  Display: server: No display server data found. Headless machine? tty: 236x47
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: gbm,surfaceless,device
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.1 note: console (EGL sourced)
    renderer: KABINI (radeonsi LLVM 17.0.6 DRM 2.50 6.8.0-45-generic), llvmpipe (LLVM 17.0.6 256
    bits)
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: N/A

First of all, I would like to know if hardware acceleration is even possible at all with my configuration (hardware and software). If it is, I would like to know where I can find the procedure to implement it.
Thank you!

P.S. I know that with my hardware I probably won't have much of a performance uplift in terms of transcoding speed, but I'd still be happy to take some weight off the CPU. Unfortunately, it's not possible for me to add another GPU because the system I am using does not have any available pci slots.


RE: Hardware acceleration in docker (AMD) - TheDreadPirate - 2024-09-18

The procedure is documented here.

https://jellyfin.org/docs/general/administration/hardware-acceleration/amd/#configure-with-linux-virtualization

But, if there is any acceleration capability, it will be limited since they have the legacy VCE/UVD AMD media engines.