I am running ubuntu with casa os. I was previously running an intel apu (the name has slipped me I will update the post when I can with this info). Recently I got a 1650 that I installed for nvenc transcoding. It seems all the proper drivers are installed but my jellyfin container still fails playback anytime with it turned on.
I have reinstalled the container with the nvidia device variable and no dice. I have also tried installing the nvidia cintainer toolkit but that didn’t work either. I am at a loss for trying to get nvenc to work.
Any help is appreciated!
EDIT: here is the ffmpeg log file
EDIT 2: It was a problem with my docker compose file! I didn’t list the needed devices from the jellyfin documentation. I thought the Container was detecting the gpu but it wasn’t. Docker exec <container-name> nvidia-smi is your friend!
EDIT 3: so now it doesnt kick me out saying the playback failed but its just a black screen with 4k media
EDIT 4: nvm i just didnt have the proper jellytin transcode settings set lol
Have you tried removing all that stuff?
I’m talking about:
- driver: nvidia - /dev/nvidia-caps:/dev/nvidia-caps - /dev/nvidia0:/dev/nvidia0 - /dev/nvidiactl:/dev/nvidiactl - /dev/nvidia-modeset:/dev/nvidia-modeset - /dev/nvidia-uvm:/dev/nvidia-uvm - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools count: all
And just leave it with:
deploy: resources: reservations: devices: count: all capabilities: [gpu]
Finally, make sure you have the cuda docker toolkit installed.
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
Make sure to then test with:
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
As per:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/sample-workload.html
EDIT: NVM see you fixed it! Could you post your final docker-compose.yml for reference? I would like to dive deep and figure out why some people need to add more to their docker-compose.yml and some don’t.