cross-posted from: https://lemmy.ml/post/24722787
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
I followed this guide and seemed to get it working.
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
However jellyfin transcoding sttill doesn’t work. I have tried adding the “nvidia devices= all” environment variable, it still didn’t work.
I tried using the docker conpose from here
https://jellyfin.org/docs/general/administration/hardware-acceleration/nvidia/#configure-with-linux-virtualization
But when I try and run this command: “docker exec -it jellyfin ldconfig sudo systemctl restart docker”
It says the container is restarting and to try again when the container has started.
‘docker exec -it jellyfin nvidia-smi’
I tried this and it says:
OCI runtime exec failed: unable to start container process: exec: “nvidia-smi”: executable file not found im $PATH: unknown
I have no guidance on your issue but just to make sure, this is two commands and not one:
docker exec -it jellyfin ldconfig
sudo systemctl restart docker
Do you get the restarting message with just the first command?
I had the same issue a few weeks ago. Try this in your docker compose
deploy: resources: reservations: devices: - driver: cdi device_ids: - nvidia.com/gpu=all