2024-09-26, 08:00 AM
(2024-09-15, 05:59 PM)rambro1stbud Wrote: I have a Quadro P400 as well. Like you, I struggled to get Jellyfin to recognize my GPU. I'm on the latest TrueNAS, running Jellyfin through Dockge. The official documentation wasn't really helpful at all. I looked at a bunch of Reddit and TrueNAS forum posts. This the docker compose that worked for me. Relevant parts highlighted:
Code:services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=568
- PGID=568
- TZ=$TZ
[b] - NVIDIA_VISIBLE_DEVICES=all[/b]
- JELLYFIN_PublishedServerUrl=$URL
volumes:
- /path/to/jellyfin:/config
- /path/to:/tv
- /path/to:/movies
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
[b]deploy:[/b]
[b] resources:[/b]
[b] reservations:[/b]
[b] devices:[/b]
[b] - driver: nvidia[/b]
[b] count: 1[/b]
[b] capabilities:[/b]
[b] - gpu[/b]
networks: {}
Thanks, I have a P2000 and the compose config from the documentation used to worked fine until recently the container was unable to detect the gpu.
I changed the config to what you suggested and it is working again.