I have an Intel I7 NUC which has the following graphics device:
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
I'm trying to find a guide or general information to get GPU pass through to LXC container and/or VMs on my proxmox server.
I have tried to work with an lxc container and have the following config, but it doesn't see a GPU.
arch: amd64
cmode: console
cores: 2
features: nesting=1
hostname: myarch
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:92:FB:8F,ip=dhcp,type=veth
ostype: archlinux
rootfs: local-lvm:vm-103-disk-0,size=60G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:1 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.mount.entry: /dev/dri/card1 dev/dri/card1 none bind,optional,create=file
I've seen references to IOMMU which I don't understand, and haven't found a clear enough guide to try and change anything with GRUB
on the proxmox server.
This is the view on /dev/dri on the proxmox server
root@pvehl:/dev/dri# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Sep 14 15:09 by-path
crw-rw----+ 1 root video 226, 1 Sep 14 15:09 card1
crw-rw----+ 1 root render 226, 128 Sep 14 15:09 renderD128
The other thing I tried was change from unprivileged to privileged and back to unprivileged; don't know if that screwed up anything.
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
I'm trying to find a guide or general information to get GPU pass through to LXC container and/or VMs on my proxmox server.
I have tried to work with an lxc container and have the following config, but it doesn't see a GPU.
arch: amd64
cmode: console
cores: 2
features: nesting=1
hostname: myarch
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:92:FB:8F,ip=dhcp,type=veth
ostype: archlinux
rootfs: local-lvm:vm-103-disk-0,size=60G
swap: 512
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:1 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.mount.entry: /dev/dri/card1 dev/dri/card1 none bind,optional,create=file
I've seen references to IOMMU which I don't understand, and haven't found a clear enough guide to try and change anything with GRUB
on the proxmox server.
This is the view on /dev/dri on the proxmox server
root@pvehl:/dev/dri# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Sep 14 15:09 by-path
crw-rw----+ 1 root video 226, 1 Sep 14 15:09 card1
crw-rw----+ 1 root render 226, 128 Sep 14 15:09 renderD128
The other thing I tried was change from unprivileged to privileged and back to unprivileged; don't know if that screwed up anything.