2024-09-15, 05:59 PM
(2024-06-12, 01:08 AM)missmintygreen Wrote: Jellyfin version: 10.9.6
Install method: Docker Engine container
CPU: Intel i5 3470
GPU: Nvidia Quadro P400
New to Linux and I've managed to get a Docker install with Home Assistant and Jellyfin up and running. While video playback works just fine in Chrome, in the Jellyfin app, and on Swiftfin on my AppleTV, I picked up a GPU because I'd like to take some of the load off the CPU so that I can share access to my media library with some friends in the future. The majority of my movies and shows are just MKV files, and when I switch on hardware acceleration on the Dashboard, I'm not able to play back any of my media until it's switched off again.
I've tried to install the proper GPU driver for my P400, but I'm not sure that Jellyfin has proper access to it. I've been a bit confused by the directions on the Jellyfin website, considering my installation method. I'm relatively certain jellyfin-ffmpeg was installed when I created the container, so I think it's just a matter of configuring my GPU to work with Docker and Jellyfin.
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: {}