![]() |
|
Transcoding issues with Docker & Nvidia - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Transcoding issues with Docker & Nvidia (/t-transcoding-issues-with-docker-nvidia) |
Transcoding issues with Docker & Nvidia - CrookiesAndCash - 2025-11-02 Up to now I've avoided transcoding since it's just too much hassle but I have a few items in my library which are so high bitrate some of my libreelec clients can't actually play them now. I setup everything in Jellyfin, followed the guide in the Jellyfin documentation fully, found out that that guide was actually incomplete and left out major steps in setting up the nvidia runtime in the /etc/docker/daemon.json by using nvidia-ctk, did that, and while I at least now have an nvidia runtime, I still can't use ffmpeg with it. I tried to follow every guide I possibly can, fought with AI's for hours trying to debug it, and no matter what I do it never works. To avoid having to use jellyfin itself to test everytime I've been using this test command, and getting this output, every, single, time Quote:docker exec -it jellyfin-docker /usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device cuda -c:v h264_nvenc -f And after 5 straight hours of fighting with AI's trying to make ANY progress on debugging, my compose file looks like this Quote: jellyfin-docker: At this point I'll take literally anything new. I've tried everything I can find and nothing even gives me so much as a different failure. It's ALWAYS Cannot load libcuda.so.1. Could not dynamically load CUDA [b]Device creation failed: -1. [/b][b][b]Failed to set value 'cuda' for option 'init_hw_device': Operation not permitted [/b][/b][b][b]Error parsing global options: Operation not permitted[/b][/b] If it matters, I'm on an uptodate Garuda installation. |