This is how I resolved it:
Make sure you can see your iGPU in it's own group:
for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
IOMMU group 0 00:02.0 VGA compatible controller [0300]: Intel...
I was thinking the same tbh...
I did spin up a fresh ubuntu minimal image (by Full cloning).. Then I installed:
sudo apt install linux-generic
sudo apt install inxi
sudo apt install xserver-xorg-video-intel mesa-utils
It automatically installed in the wrong location some reason. If this image...
it was already installed:
sudo apt install linux-modules-extra-5.15.0-100-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-modules-extra-5.15.0-100-generic is already the newest version (5.15.0-100.110)...
You were absolutely right. I installed the apt install linux-generic
and I can see the following:
sudo find / -name *i915*
/usr/lib/modules/5.15.0-100-generic/kernel/drivers/gpu/drm/i915
/usr/lib/modules/5.15.0-100-generic/kernel/drivers/gpu/drm/i915/i915.ko...
thanks for this but I am unable to install it:
I tried but getting the following:
sudo apt install firmware-linux-nonfree
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed...
ok I done that in the proxmox host
I am getting this in the VM:
modprobe i915
modprobe: FATAL: Module i915 not found in directory /lib/modules/5.15.0-1051-kvm
still the same output in the VM:
inxi -G && sudo dmesg | grep -i i915Graphics:
Graphics:
Device-1: Intel CoffeeLake-S GT2 [UHD...
Sorry but how do I load the the driver module into the kernel? is that in the VM or on Proxmox host?
both my proxmox host and VM shows nothing:
modprobe i915
there is no output of the following command within VM as well:
dmesg | grep i915
but on proxmox host I see this:
dmesg | grep i915
[...
After giving up on this previously, I just tried doing it again. Here is the IOMMU groups:
for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
The output of the above command is:
IOMMU group 0 00:02.0...