2025-01-13, 07:33 PM
(This post was last modified: 2025-01-13, 07:35 PM by dynux. Edited 1 time in total.)
(2025-01-13, 06:22 PM)TheDreadPirate Wrote: Can you share your docker compose. I don't see why it would use so much CPU. It is using the GPU for decoding, tone mapping, and encoding. Only the audio should be using the CPU and shouldn't be anywhere close to this much.
What kernel version are you running on the host? And what distro?
Code:
Linux muletto 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Code:
jellyfin:
image: linuxserver/jellyfin:latest
container_name: jellyfin
labels:
io.portainer.accesscontrol.public:
networks:
- mynetwork
environment:
- PUID=1001
- PGID=1001
- TZ=Europe/Rome
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/appdata/jellyfin-config:/config
- /media/data:/data
devices:
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidia-modeset:/dev/nvidia-modeset
- /dev/nvidia-uvm:/dev/nvidia-uvm
- /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
ports:
- 8096:8096
- 7359:7359/udp
- 8920:8920
restart: unless-stopped
logging:
driver: json-file
this is the part about jellyfin.
But wait, the CPU is now resolved as i wrote before.
The problem now is that the Android Tablet (Xiaomi Redmi Pad SE, codename xun) has issues playing.
It is using the default Jellyfin app player and it cannot decode x265 video so the transcoding starts.
If i set the ExoPlayer the stream does not even start.