Hello!
I am in the process of transferring a series of VMs from an ESXi build onto a new Alder Lake (i9-12900K) build with Proxmox.
In particular I am working on getting the integrated Intel graphics passed through to a Debian 11 VM for Plex transcoding.
I have been following GVT-g tutorials, but have come to the realization that 10th gen and up Intel CPUs do not support GVT-g anymore. They have moved on to GVT-d, the big difference being (if I understand correctly) that you can only pass the entire Integrated Graphics through to the VM.
I'm not entirely sure what to do for GVT-d support, so I have been following GVT-g tutorials and have sort of piece mealed this together. I am looking for guidance on if this is correct, and what I may be missing.
On the Proxmox host I have switched to the opt in kernel 5.15.19-2-pve.
In my Grub configuration file (/etc/default/grub) I have put the following settings into the GRUB_CMDLINE_LINUX_DEFUALT string:
The final string looks like this:
From my understanding, this enables Linux Kernel support for Alder Lake and i915 GVT support.
I have also modified the /etc/modules file to load the following kernel modules:
This is what dmesg says about i915 after boot:
I think this looks good, although I'm not really sure.
I proceed to attempt to pass i915 0000:00:02.0 PCI device through to my Plex server VM:
There is no MDev Type because Alder Lake no longer has mediated devices, its all or nothing...???
I fire up my Debian 11 VM which has the 5.16.0-3-amd64 Linux kernel loaded. It appears as though 5.16 has the i915 probe enabled by default, so I do not need to modify the grub file to change how the Linux kernel is loaded.
dmesg on the VM after boot:
Notice that the VBIOS tables were unable to be found (not sure what this means and can't seem to find much info about it. I have read something about dumping the VBIOS)
I can actually start a stream from Plex, and it appears to be hardware transcoding, but It quickly goes south and the VM ends up spewing this out:
I'm not sure if this is happening because Alder Lake is relatively new, or if I have something setup incorrectly.
Any guidance would be appreciated.
I am in the process of transferring a series of VMs from an ESXi build onto a new Alder Lake (i9-12900K) build with Proxmox.
In particular I am working on getting the integrated Intel graphics passed through to a Debian 11 VM for Plex transcoding.
I have been following GVT-g tutorials, but have come to the realization that 10th gen and up Intel CPUs do not support GVT-g anymore. They have moved on to GVT-d, the big difference being (if I understand correctly) that you can only pass the entire Integrated Graphics through to the VM.
I'm not entirely sure what to do for GVT-d support, so I have been following GVT-g tutorials and have sort of piece mealed this together. I am looking for guidance on if this is correct, and what I may be missing.
On the Proxmox host I have switched to the opt in kernel 5.15.19-2-pve.
In my Grub configuration file (/etc/default/grub) I have put the following settings into the GRUB_CMDLINE_LINUX_DEFUALT string:
915.force_probe=4680
intel_iommu=on
i915.enable_gvt=1
The final string looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.force_probe=4680 intel_iommu=on i915.enable_gvt=1"
From my understanding, this enables Linux Kernel support for Alder Lake and i915 GVT support.
I have also modified the /etc/modules file to load the following kernel modules:
Code:
# Modules required for PCI passthrough
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
# Modules required for Intel GVT
kvmgt
xengt
vfio-mdev
This is what dmesg says about i915 after boot:
I think this looks good, although I'm not really sure.
I proceed to attempt to pass i915 0000:00:02.0 PCI device through to my Plex server VM:
There is no MDev Type because Alder Lake no longer has mediated devices, its all or nothing...???
I fire up my Debian 11 VM which has the 5.16.0-3-amd64 Linux kernel loaded. It appears as though 5.16 has the i915 probe enabled by default, so I do not need to modify the grub file to change how the Linux kernel is loaded.
dmesg on the VM after boot:
Notice that the VBIOS tables were unable to be found (not sure what this means and can't seem to find much info about it. I have read something about dumping the VBIOS)
I can actually start a stream from Plex, and it appears to be hardware transcoding, but It quickly goes south and the VM ends up spewing this out:
I'm not sure if this is happening because Alder Lake is relatively new, or if I have something setup incorrectly.
Any guidance would be appreciated.