Run it / Transcoding with a GPU
Transcoding with a GPU
The worker converts films that a screen cannot play as they are. Without a GPU it uses the CPU; with one it is much faster.
Intel or AMD
In compose.yaml, uncomment the devices and group_add lines under catodi-worker. Put in your host's render group id:
getent group renderdevices:
- /dev/dri/renderD128:/dev/dri/renderD128
group_add:
- "989"Map the render node under its own name: never map renderD129 as renderD128.
NVIDIA
Install the NVIDIA Container Toolkit on the host, then uncomment the deploy block under catodi-worker:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu, video]Apply it
docker compose up -dOne worker per GPU. Without a GPU, the CPU worker takes nothing taller than 1080p while someone watches.