Sure.
On proxmox host:
echo “options xe force_probe=7d51” > /etc/modprobe.d/xe-force.conf
echo “options i915 force_probe=!” > /etc/modprobe.d/i915-exclude.conf
echo “blacklist i915” > /etc/modprobe.d/blacklist-i915.conf
update-initramfs -u -k all
reboot
After reboot, check:
cat /sys/class/drm/card0/device/uevent | grep DRIVER
- → should show “DRIVER=xe”
lsmod | grep -E “^xe|^i915”
-> should show xe only
If you had hw transcoding running in your plex lxc before, no changes should be needed.
If you encounter any problems please check if the group ids for the render devices have changed in the lxc (didnt happen here, worked right out of the box with 1.43.2 beta and changes on the host). Of course, you need to pass the igpu to the lxc.
This is in my .conf file for the lxc
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 226:128 rwm
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
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
Hope this helps. Do a snapshot before you change things.
And please be aware that this of course will also affect all other lxc which are using your igpu you might have on your proxmox server; e.g. ollama and others