Hey Folks,
I am hoping someone can help me with an issue as I am at the end of my knowledge here.
I have a server running NixOS and have a few containers running and all is well for the most part.
The issue I have is that i want to use gpu acceleration for transcoding in Jellyfin and cannot for the life of me get it working.
I have installed the drivers on the host and confirmed them as running with nvidia-smi:
NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7
I also did same in the container and confirmed them running as above.
The issue is that playing any media which requires gpu transcoding fails…ffmpeg log shows:
Here is the config for the container:
Thoughts?
EDIT, also checked ffmpeg sees the capability:
/nix/store/n6jgkqjx03jalh683vxfv7mhl4xnhlc4-jellyfin-ffmpeg-7.0.2-5-bin/bin/ffmpeg -hide_banner -hwaccels
Hardware acceleration methods:
vdpau
cuda
vaapi
qsv
drm
opencl
vulkan
And then successfully used the jellyfin-ffmpeg within the container to do a conversion.
Finally as a full check I copied and pasted the ffmpeg command from the log into the cli and it worked fine.
This has to be some kind of permissions thing with the service…i even tried running the service with User and Group = root to no avail.
This is very frustrating…not sure what to look at next