Hello,
I am running a Proxmox host (9.1.7) with two GPUs (AMD iGPU and NVIDIA dGPU (well actually three when counting the BMC's VGA)). I'm using them in different LXC which works flawless. The iGPU I use for Jellyfin transcoding, assignment is done so:
dev0: /dev/dri/card2,gid=44
dev1: /dev/dri/renderD129,gid=106
Now the issue: The DRM device nodes under /dev/dri/ (e.g. card0, card1, renderD128, renderD129) are assigned dynamically at boot, so the mapping between device nodes and physical GPUs changes from boot to boot and I then have to find out which is which, reconfigure the config and start up Jellyfin manually.
So what I need is a robust way to:
Regards,
Reah
I am running a Proxmox host (9.1.7) with two GPUs (AMD iGPU and NVIDIA dGPU (well actually three when counting the BMC's VGA)). I'm using them in different LXC which works flawless. The iGPU I use for Jellyfin transcoding, assignment is done so:
dev0: /dev/dri/card2,gid=44
dev1: /dev/dri/renderD129,gid=106
Now the issue: The DRM device nodes under /dev/dri/ (e.g. card0, card1, renderD128, renderD129) are assigned dynamically at boot, so the mapping between device nodes and physical GPUs changes from boot to boot and I then have to find out which is which, reconfigure the config and start up Jellyfin manually.
So what I need is a robust way to:
- Pass a specific GPU into my Jellyfin LXC container,
- Ensure the mapping remains stable across reboots,
- Have correct permissions (e.g. root:video) inside the container,
Regards,
Reah