Comment on Jellyfin hardware acceleration docker issues.
bobslaede@feddit.dk 2 months ago
This is how mine works, with a Nvidia GPU
services: jellyfin: volumes: - jellyfin_config:/config - jellyfin_cache:/cache - type: tmpfs target: /cache/transcodes tmpfs: size: 8G - media:/media image: jellyfin/jellyfin:latest restart: unless-stopped deploy: resources: reservations: devices: - driver: nvidia device_ids: - "0" capabilities: - gpu
notfromhere@lemmy.ml 2 months ago
What is the tmpfs for?
bobslaede@feddit.dk 2 months ago
Temp files for transcoding. No need to hit the disk.
__ghost__@lemmy.ml 2 months ago
Is the tmpfs on RAM?
486@lemmy.world 2 months ago
It is. It might end up on disk in swap, if you run low on memory (and have some sort of disk-based swap enabled), but usually it is located in RAM.
baduhai@sopuli.xyz 2 months ago
Aye.
bobslaede@feddit.dk 2 months ago
Hmm. I would think so. But I haven’t actually checked. That was my thought.