I have an Intel i5-1240P host with Proxmox 8 that has been configured for vGPU via DKMS. I have 7 vGPU VFs. I've assigned one to a Windows 11 VM, and it's working perfectly with the Intel drivers. However, my Plex LXC (tteck script) is having issues with HDR tone mapping (which uses the GPU). Transcoding works fine, but that uses the Intel XE graphics engine (different API) than tone mapping which directly uses the GPU.
I should add this same LXC worked fine with HDR tone mapping and transcoding with Proxmox 7.4 using the 6.2 kernel. It's only when trying to use the VF vGPU does tone mapping fail.
Inside the Plex LXC without any LXC config file changes I see:
With my modified LXC:
This is the original LXC config:
This is the modified LXC config:
I should add this same LXC worked fine with HDR tone mapping and transcoding with Proxmox 7.4 using the 6.2 kernel. It's only when trying to use the VF vGPU does tone mapping fail.
Inside the Plex LXC without any LXC config file changes I see:
Code:
drw-rw---- 2 root root 320 Jun 25 14:26 by-path
crw-rw---- 1 root video 226, 0 Jun 25 13:33 card0
crw-rw---- 1 root video 226, 2 Jun 25 13:33 card2
crw-rw---- 1 root video 226, 3 Jun 25 13:33 card3
crw-rw---- 1 root video 226, 4 Jun 25 13:33 card4
crw-rw---- 1 root video 226, 5 Jun 25 13:33 card5
crw-rw---- 1 root video 226, 6 Jun 25 13:33 card6
crw-rw---- 1 root video 226, 7 Jun 25 13:33 card7
crw-rw---- 1 root render 226, 128 Jun 25 13:33 renderD128
crw-rw---- 1 root render 226, 130 Jun 25 13:33 renderD130
crw-rw---- 1 root render 226, 131 Jun 25 13:33 renderD131
crw-rw---- 1 root render 226, 132 Jun 25 13:33 renderD132
crw-rw---- 1 root render 226, 133 Jun 25 13:33 renderD133
crw-rw---- 1 root render 226, 134 Jun 25 13:33 renderD134
crw-rw---- 1 root render 226, 135 Jun 25 13:33 renderD135
With my modified LXC:
Code:
root@plex:/dev/dri# ls -l
total 0
crw-rw---- 1 root video 226, 2 Jun 26 10:29 card0
crw-rw---- 1 root render 226, 130 Jun 26 10:29 renderD128
This is the original LXC config:
Code:
## Plex LXC
# ### https://tteck.github.io/Proxmox/
# <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/%E2%98%95-Buy me a coffee-red' /></a>
arch: amd64
cores: 2
features: nesting=1
hostname: plex
memory: 2048
net0: name=eth0,bridge=vmbr0,hwaddr=D6:E9:00:12:38:78,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-102-disk-0,size=8G
swap: 512
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
This is the modified LXC config:
Code:
## Plex LXC
# ### https://tteck.github.io/Proxmox/
# <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/%E2%98%95-Buy me a coffee-red' /></a>
#lxc.cgroup2.devices.allow%3A c 29%3A0 rwm
#lxc.mount.entry%3A /dev/fb0 dev/fb0 none bind,optional,create=file
arch: amd64
cores: 2
features: nesting=1
hostname: plex
memory: 768
nameserver: 10.13.2.1
net0: name=eth0,bridge=vmbr0,gw=10.13.2.1,hwaddr=5A:11:2E:E7:67:4B,ip=10.13.2.212/24,type=veth
onboot: 0
ostype: ubuntu
rootfs: local-lvm:vm-109-disk-1,size=20G
swap: 128
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 226:2 rwm
lxc.cgroup2.devices.allow: c 226:130 rwm
lxc.mount.entry: /dev/dri/card2 dev/dri/card0 none bind,optional,create=file
lxc.mount.entry: /dev/dri/renderD130 dev/dri/renderD128 none bind,optional,create=file
Last edited: