Mediated GPU

spetrillo

Member
Feb 15, 2024
288
15
18
Hello all,

Been following a number of documents on how to setup mediated devices for my UHD 630 onboard graphics processor and when I listed the the mdev supported types I got back the following: i915-GVTg_V5_4 i915-GVTg_V5_8

I cannot find anything that tells what this means. Anyone know?

Thanks,
Steve
 
Hello,

i915 is the Intel graphics driver
GVTg is the Intel's mediated device technology
V5_4 and V5_8 are the versions

This means that you can select one of these versions as mdev when assigning the PCI device to the VM.
 
Markus,

Does this mean I can assign these to 2 vms in total? What is the difference between v5_4 and v5_8?

Thanks,
Steve
 
Does this mean I can assign these to 2 vms in total? What is the difference between v5_4 and v5_8?
No, they are just versions. To see the difference just print out the description from sysfs:

Code:
cat /sys/bus/pci/devices/[your pcie card]/mdev_supported_types/i915-GVTg_V5_4/description
cat /sys/bus/pci/devices/[your pcie card]/mdev_supported_types/i915-GVTg_V5_8/description

https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide#51-check-mdev-module-kvmgt-only
 
Ahhh got it...and are they controlled by what I set in my BIOS for the iGPU? Second do I need IOMMU to use mediated devices, or are they completely separate. I would like to run a Plex VM and give it the iGPU to use.
 
Ahhh got it...and are they controlled by what I set in my BIOS for the iGPU?
I do not know. Never had such a configuration in the BIOS. What can you configure for the iGPU?

Second do I need IOMMU to use mediated devices, or are they completely separate. I would like to run a Plex VM and give it the iGPU to use.
Yes, you need IOMMU.