Status of mediated devices/gvt-g

listhor

Member
Nov 14, 2023
51
2
13
Do mediated devices work in Proxmox on kernel 6.17? Plex stopped utilising hardware acceleration (i915) in VM like it used to do in not so distant past...
I even tried in LXC (with all those cgroups entries) and also nothing... I have installed installed intel drivers in proxmox host on top adding kernel and modules options.
 
Intel GVT-g is a deprecated technology that provided mediated device passthrough for Intel iGPUs on 5th generation (Broadwell) through 10th generation (Comet Lake) processors. The gvt-linux project has been officially discontinued by Intel. Intel has ceased development and contributions including maintenance, bug fixes, new releases, or updates, and Intel no longer accepts patches to the project. GitHub The repo was archived in October 2024.
For Xe Architecture (Gen12) and newer, the SR-IOV feature is the intended replacement. So GVT-g (mediated devices) are effectively dead upstream, and the PVE kernels have been tracking upstream closely. This explains why it worked "not so long ago" — it broke somewhere in the 6.8 kernel era.
 
(...) This explains why it worked "not so long ago" — it broke somewhere in the 6.8 kernel era.
That's what I was afraid of. I wouldn't like and I'm not going to replace my hardware (e2278 coffee lake + x11sch) so, what's the best way to go forward?
Will full pci passthrough solve it? Shall I remove from cmdline i915.enable_gvt=1 and kvmgt from modules and proceed with blacklisting i915?
I have:
Code:
crw-rw---- 1 root video  226,   0 Apr 22 11:41 card0
crw-rw---- 1 root video  226,   1 Apr 22 11:43 card1
crw-rw---- 1 root render 226, 128 Apr 22 11:41 renderD128

=== /sys/class/drm/card0/device ===
0x1a03
DRIVER=ast
PCI_ID=1A03:2000
=== /sys/class/drm/card1/device ===
0x8086
DRIVER=i915
PCI_ID=8086:3E9A

I guess I can use AST controller or serial output for console?