THANK YOU ALL!
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: so now it doesnt kick me out saying the playback failed but its just a black screen with 4k media
Edit 2: my bad forgot to enable some transcoding settings in jellyfin lol
This is what thay compose looks like now:
services:
jellyfin:
image: jellyfin/jellyfin
user: 1000:1000
network_mode: 'host'
volumes:
- /DATA/AppData/jellyfin/config:/config
- /DATA/AppData/jellyfin/cache:/cache
- /DATA/AppData/jellyfin/media:/media
- /mnt/drive1/media:/mnt/drive1/media
- /mnt/drive2/Jellyfin:/mnt/drive2/Jellyfin
- /mnt/drive3:/mnt/drive3
- /mnt/drive4/media:/mnt/drive4/media
- /mnt/drive5/jellyfin:/mnt/drive5/jellyfin
- /mnt/drive6/jellyfin:/mnt/drive6/jellyfin
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: cdi
device_ids:
- nvidia.com/gpu=all
- /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
capabilities: [gpu]
Edit: when I try and compose up it says “yaml: lin 30 mapping values are not allowed in this context” when I remove line 30 and 31 the output is “validating /DATA/AppData/jellyfin/docker-compose.yml: services.jellyfin.deploy.resources.reservations.devices.1 must be a mapping”
Output of nvidia-smi on the host:
Output of nvdia-smi on the container:
OCI runtime exec failed: unable to start container process: exec: “nvidia-smi”: executable file not found im $PATH: unknown
EDIT:
I tried it again with the jellyfin docker compose command and this is what I get:
Failed to initialize NVML: Unknown Error
Edit 2: I fixed it I am now getting the same output for both!
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 ran it as two commands instead of one before and still got that error message.
However, I tried again with a different jellyfin image and the command seems to have ran fine.
Here is a pic of my nvidia-smi output:
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
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.
Casaos is just a server ui for ubuntu to manage docker and other settings:
Here is the output of nvidia-smi (sorry for the picture if my monitor. It’s late and I blanking on my lemmy pass and cannot sign in on the pc itself to send a screen cap lol):
I used several different jellyfin images posted in casaos appstore along with the official nvidia documentation. It still does not want to work:
services:
jellyfin:
image: jellyfin/jellyfin
user: 1000:1000
network_mode: 'host'
volumes:
- /DATA/AppData/jellyfin/config:/config
- /DATA/AppData/jellyfin/cache:/cache
- /DATA/AppData/jellyfin/media:/media
- /mnt/drive1/media:/mnt/drive1/media
- /mnt/drive2/Jellyfin:/mnt/drive2/Jellyfin
- /mnt/drive3:/mnt/drive3
- /mnt/drive4/media:/mnt/drive4/media
- /mnt/drive5/jellyfin:/mnt/drive5/jellyfin
- /mnt/drive6/jellyfin:/mnt/drive6/jellyfin
runtime: nvidia
deploy:
resources:
reservations:
devices:
- 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
capabilities: [gpu] ```
Yes it is a container on ubuntu, it seems to be the official container on the casa os store. It is labled “jellyfin (nvidia gpu)”. The gpu seems to be working fine on the host. Ubuntu 20.04
Yeah i have tried tollowing that guide already.
So I seem to have gotten it up and running with the guide the only issue is It seems really slow (compared to conduit, conduwuit, dendrite and synapse on sqlite). Also when I pick up calls on element x on graphene os I cannot hear the other user (this is on the same network both devices running graphene I did configure my coturn server but didn’t try out of network calls.). When I was trying to sign up it would error on me. In order to bypass the error I just kept clicking sign up/sign in and it worked on the second or 3rd try. Device verification seems to work but you have to be really slow about working through the steps.
Any ideas on how to fix this?
I am not dead set on using ansible that is just the top recommendation I was recieving purely based off of how much documentation there is for it. That and iy sets up element chat for you which is what I really needed.also a postgres database. This seems a lot closer to my tempo and I will totally try to get it running! Thank you!
My bad I had replied to two people who had asked for it. I didn’t know how to format it so I had fixed it once, but I will delete it and try to add it to the main post.
EDIT: hopefully that is better to look at!
Please explain how I am spamming when my last post in this community was 3 days ago?
I find this resource very helpful, I am trying to learn.
My bad it is now fixed
deleted by creator
deleted by creator
deleted by creator
deleted by creator
Yes because when someone else’s suffering is worse it means your suffering is invalid. By that nature no one should ever bring up their trials and tribulations because someone always has it worse.
In other news, shit spewing liar spews more shit and lies to get more of your money.
He thinks they’re on the wrong side of history my ass. He doesn’t care. He never cared. He will never care. The open source you and I know is completely different than the “open source” this chucklefuck is probably selling you on. “We need to figure out a different open source strategy” should be the biggest indicator here. Take everything he and his circlejerk says with the biggest fucking mountain of salt you can dream of and double it.