2024-09-19, 03:59 AM
(This post was last modified: 2024-09-19, 04:00 AM by ginjaturtles. Edited 1 time in total.)
I got it working using this:
However my cpu is still spking to 90% usage and I now see the GPU being utilized. Any ideas on what would be causing such high CPU usage or ways to debug that?
Code:
jellyfin:
image: lscr.io/linuxserver/${MEDIA_SERVICE}
container_name: ${MEDIA_SERVICE}
environment:
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- ${MEDIA_DIRECTORY}/movies:/data/movies
- ${MEDIA_DIRECTORY}/tvshows:/data/tvshows
- ${INSTALL_DIRECTORY}/config/${MEDIA_SERVICE}:/config
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
ports:
- 8096:8096
restart: unless-stopped
However my cpu is still spking to 90% usage and I now see the GPU being utilized. Any ideas on what would be causing such high CPU usage or ways to debug that?