Adding instructions for device passthrough with LXC containers (unprivileged also) #982
Open
Description
As of Proxmox VE 8.2, a new option was added for device passthrough. This wiki page comes to mind for adding instructions for this but cannot test this with other hardware configurations.
Another great thing about this new method is that it works with unprivileged LXC containers.
Old method of allowing access to the Intel GPU in /etc/pve/lxc/x.conf
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
New method of allowing access to the Intel GPU in /etc/pve/lxc/x.conf
dev0: /dev/dri/card0,gid=44
dev1: /dev/dri/renderD128,gid=104
Got the GIDs by running cat /etc/group | grep -E 'video|render' in the PVE environment
Or it can be done through the gui in the LXC container
Metadata
Assignees
Labels
No labels




Activity