Page 1 of 1

GPU passthrough with Docker

Posted: 22 Aug 2024, 02:45
by karld89
Hi,

Apologies if this is repeated anywhere, but I have searched extensively and can't find an answer.

I have configured Docker containers on my F4 424 Pro, most notably Jellyfin. Is it possible to pass the GPU through for hardware transcoding? I'm having serious trouble.

I tried on both TOS 5 and now 6.

I have tried using the Jellyfin/ffmpeg/outkast app from the community app store, but I received an error stating it needed launching with an account with admin privileges, and upon reinstalling, it now won't enable. I would rather get it functioning through Docker though

Re: GPU passthrough with Docker

Posted: 22 Aug 2024, 07:23
by outkastm
Jellyfin for TOS6 will be released this week.

Re: GPU passthrough with Docker

Posted: 23 Aug 2024, 23:44
by makhai
karld89 wrote: 22 Aug 2024, 02:45
Try add this to your yml config file

Code: Select all

devices:
  - "/dev/dri:/dev/dri"
This may help

Re: GPU passthrough with Docker

Posted: 31 Aug 2024, 19:35
by karld89
Thanks outkastM, I will certainly download it.

makhai, I have tried that, but unfortunately, no success.

Does TOS support device passthrough with Docker does anyone know?

Re: GPU passthrough with Docker

Posted: 31 Aug 2024, 21:56
by outkastm
Sure it does. What app do you want to use in docker? Jellyfin? I will provide a step by step guide.

Re: GPU passthrough with Docker

Posted: 03 Sep 2024, 23:00
by karld89
Sorry for the slow replies, I have been a little under the weather recently.

Jellyfin was preferred to be through Docker, your apps are great, and I'm in the process of setting it up, so if that's the best solution happy to give with that.

I am also looking at setting up the likes of Tdarr alongside Jellyfin too

Re: GPU passthrough with Docker

Posted: 29 Oct 2024, 04:56
by karld89
outkastm wrote: 31 Aug 2024, 21:56 Sure it does. What app do you want to use in docker? Jellyfin? I will provide a step by step guide.
Hi outkastm,

Is is possible to get that guide from you? It would be incredibly helpful if so :)