IGPU Intel 12th Gen Not Working

HPMSGEN8

Member
Oct 6, 2022
30
1
8
Good Day, All

I do not know what is going on with PVE 8.0 and my 12th GEN, I have followed like 20 guides and form posts and still nothing wants to work.

Code:
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on i915.enable_guc=3 i915.max_vfs=7
[    0.034171] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on i915.enable_guc=3 i915.max_vfs=7
[    3.226318] i915: module verification failed: signature and/or required key missing - tainting kernel
[    3.406827] i915 0000:00:02.0: Running in SR-IOV PF mode
[    3.407680] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.407767] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.407810] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    3.408428] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.409901] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[    3.417987] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    3.422870] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.5.1
[    3.422876] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    3.425564] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads!
[    3.425794] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    3.425795] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    3.426098] i915 0000:00:02.0: [drm] GuC RC: enabled
[    3.426675] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[    3.426799] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    3.449831] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    3.463711] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.463885] i915 0000:00:02.0: 7 VFs could be associated with this PF
[    3.463934] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    3.485183] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes


https://www.derekseaman.com/2023/06...u-vt-d-passthrough-with-intel-alder-lake.html
https://www.michaelstinkerings.org/gpu-virtualization-with-intel-12th-gen-igpu-uhd-730/

Also look at the form posts so i am not sure what is going on. If anyone has an solution please let me know.

Thanks
 
Derek’s guide is pretty robust I followed it last week, I did find the sequencing was odd for me and I missed a couple of steps. Not sure if this will help, this is my resequenced version https://gist.github.com/scyto/e4e3de35ee23fdb4ae5d5a3b85c16ed3 (by they time I got to my 3rd node I was just copying my commands from this sequence and it worked first time). Good luck.

also delete and reclone the GitHub, maybe they introduced a bug….
 
Last edited:
Derek’s guide is pretty robust I followed it last week, I did find the sequencing was odd for me and I missed a couple of steps. Not sure if this will help, this is my resequenced version https://gist.github.com/scyto/e4e3de35ee23fdb4ae5d5a3b85c16ed3 (by they time I got to my 3rd node I was just copying my commands from this sequence and it worked first time). Good luck.

also delete and reclone the GitHub, maybe they introduced a bug….

Thanks for this but for some odd reason this is not working for me. Here is my iGPU

Code:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 770] (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Dell Alder Lake-S GT1 [UHD Graphics 770]
Flags: bus master, fast devsel, latency 0, IRQ 142, IOMMU group 0
Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915
Kernel modules: i915
 
Your grub command line appears to be missing iommu=pt
( aka first two lines, maybe you made a typo on that one or missed it when you did the GRUB part of the process? )
 
Last edited:
Your grub command line appears to be missing iommu=pt
( aka first two lines, maybe you made a typo on that one or missed it when you did the GRUB part of the process? )

I am not sure what is going on here. I did this all again as per your guide and i get this

Code:
root@pve01:~# dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.033771] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    3.111310] i915: module verification failed: signature and/or required key missing - tainting kernel
[   65.597279] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
 
Module verification error can be ignored. I have that too.

what else does that dmesg grep show you? Also try grepping drm to see what you see…
 
Oh one thought, don’t have anything plugged in the hdmi, don’t use usbc/tb didplay connected and update bios? (Yeah this is poke and hope troubleshooting, no more…)
 
For you reference, this is a working system.

Code:
root@pve1:~# dmesg | grep i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.082505] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.2.16-10-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    6.820013] i915: module verification failed: signature and/or required key missing - tainting kernel
[    6.958448] i915 0000:00:02.0: Running in SR-IOV PF mode
[    6.959078] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    6.959248] i915 0000:00:02.0: vgaarb: deactivate vga console
[    6.959295] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    6.960187] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    6.960567] i915 0000:00:02.0: Direct firmware load for i915/adlp_dmc.bin failed with error -2
[    6.961031] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    6.962601] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[    6.982253] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    6.982257] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    6.995378] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads!
[    6.996344] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    6.996346] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    6.996863] i915 0000:00:02.0: [drm] GuC RC: enabled
[    6.997761] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[    6.997867] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    7.030714] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    7.032046] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.032728] i915 0000:00:02.0: 7 VFs could be associated with this PF
 
And
Code:
root@pve1:~# dmesg | grep drm
[    6.336939] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    6.354084] ACPI: bus type drm_connector registered
[    6.354408] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    6.354459] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    6.959078] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    6.959295] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    6.962601] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[    6.982253] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    6.982257] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    6.995378] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads!
[    6.996344] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    6.996346] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    6.996863] i915 0000:00:02.0: [drm] GuC RC: enabled
[    6.997867] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    7.030714] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    7.083020] fbcon: i915drmfb (fb0) is primary device
[    7.156926] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    7.676686] i915 0000:00:02.1: [drm] GT0: GUC: interface version 0.1.0.0
[    7.678777] i915 0000:00:02.1: [drm] VT-d active for gfx access
[    7.678806] i915 0000:00:02.1: [drm] Using Transparent Hugepages
[    7.679376] i915 0000:00:02.1: [drm] GT0: GUC: interface version 0.1.0.0
[    7.682662] i915 0000:00:02.1: [drm] Protected Xe Path (PXP) protected content support initialized
[    7.682666] i915 0000:00:02.1: [drm] PMU not supported for this GPU.
[    7.682733] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.1 on minor 1
[    7.683229] i915 0000:00:02.2: [drm] GT0: GUC: interface version 0.1.0.0
[    7.683749] i915 0000:00:02.2: [drm] VT-d active for gfx access
[    7.683770] i915 0000:00:02.2: [drm] Using Transparent Hugepages
[    7.684346] i915 0000:00:02.2: [drm] GT0: GUC: interface version 0.1.0.0
[    7.687415] i915 0000:00:02.2: [drm] Protected Xe Path (PXP) protected content support initialized
[    7.687418] i915 0000:00:02.2: [drm] PMU not supported for this GPU.
 
Nothing is plugged in at all. Do you have the same igpu as me ?

Code:
root@pve01:~# dmesg | grep drm
[    2.650885] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    2.670423] ACPI: bus type drm_connector registered
[    2.670931] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    2.671014] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
root@pve01:~#

Have you also got your display to work on an windows VM at all ? If yes then i think i might have broken my Proxmox setup and might need to start all over again.

Code:
root@pve01:~# dkms status
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/i915-sriov-dkms/6.2/source/dkms.conf does not exist.
i915-sriov-dkms/6.1, 6.2.16-10-pve, x86_64: installed

Yes something is now broken :(
 
Last edited:
I only tested vgpu acceleration in win11
are you asking could win7 use the hdmi port? If so, my understanding is no vm can output to the hdmi. (Based on other forum threads)
also win7? You running MCE?

if you perform the steps from scratch you should be able to fix. also you can use dkms to uninstall the current module and restart, then redo all steps.
 
for reference.

Code:
root@pve1:/var/lib/dkms/i915-sriov-dkms# ls -l
total 4
drwxr-xr-x 4 root root 4096 Aug 26 18:03 6.1
lrwxrwxrwx 1 root root   24 Aug 26 18:05 kernel-6.2.16-10-pve-x86_64 -> 6.1/6.2.16-10-pve/x86_64
lrwxrwxrwx 1 root root   23 Aug 26 12:28 kernel-6.2.16-8-pve-x86_64 -> 6.1/6.2.16-8-pve/x86_64
 
I only tested vgpu acceleration in win11
are you asking could win7 use the hdmi port? If so, my understanding is no vm can output to the hdmi. (Based on other forum threads)
also win7? You running MCE?

if you perform the steps from scratch you should be able to fix. also you can use dkms to uninstall the current module and restart, then redo all steps.

Thanks again for your help and support here. Windows 11 is what i am going to be using. On my other post

https://forum.proxmox.com/threads/proxmox-remote-vm-access-locally.132935/

It seems you can do what i am looking to do. Not sure if an iGPU will work thou for this.

Let me see what i can get all done with this with an rebuild.

Do you have uninstall steps at all ?
 
revert the grub changes ?
try dkms uninstall and dkms remove as needed ?( i onky used these once I had rebuilt because I used new kernel and I wanted to remove old so my advice at this stage is no better than your own!)
 
  • Like
Reactions: HPMSGEN8
seems you can do what i am looking to do. Not sure if an iGPU will work thou for this.
Don’t confuse vGPU (sharing 1 gpu with many vms) with single device pass through (dedicating one whole gpu to one VM - this means host OS can’t use it too). They are different.

if you are expecting full gpu access then I think this is what you want https://forum.proxmox.com/threads/p...x-ve-8-installation-and-configuration.130218/ I am pretty sure vGPU can’t be used like you want, only dedicated pass through.

oh and https://forum.proxmox.com/threads/pci-gpu-passthrough-on-proxmox-ve-8-windows-10-11.131002/
 
Last edited:
  • Like
Reactions: HPMSGEN8
complete newb to all this but would love to get SR-IOV working so I can setup 7 graphics cards to allocate to each VM (2 x Windows 11 and Linux Kali) like in the below guide.

I followed this guide but hoping someone could give me the hint I need to make this happen?
Code:
root@pve:/var/lib/dkms/i915-sriov-dkms# dkms status
i915-sriov-dkms/2024.08.09, 6.8.12-1-pve, x86_64: installed

root@pve:/var/lib/dkms/i915-sriov-dkms# dmesg | grep -i vf
dmesg | grep -i i915
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.051016] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.285930] pci 0000:00:02.0: VF BAR 0 [mem 0x60e0000000-0x60e0ffffff 64bit]
[    0.285931] pci 0000:00:02.0: VF BAR 0 [mem 0x60e0000000-0x60e6ffffff 64bit]: contains BAR 0 for 7 VFs
[    0.285935] pci 0000:00:02.0: VF BAR 2 [mem 0x6000000000-0x601fffffff 64bit pref]
[    0.285936] pci 0000:00:02.0: VF BAR 2 [mem 0x6000000000-0x60dfffffff 64bit pref]: contains BAR 2 for 7 VFs
[    0.329446] VFS: Disk quotas dquot_6.6.0
[    0.329459] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.258015] VFIO - User Level meta-driver version: 0.3
[    1.285714] vfio-pci 0000:00:02.0: vgaarb: deactivate vga console
[    1.285717] vfio-pci 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.285822] vfio_pci: add [8086:46a6[ffffffff:ffffffff]] class 0x000000/00000000
[    1.286056] vfio_pci: add [8086:51c8[ffffffff:ffffffff]] class 0x000000/00000000
[    1.665460] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    0.051016] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
[    1.878143] i915: module verification failed: signature and/or required key missing - tainting kernel

root@pve:/# grep 'intel_iommu' /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.12-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt i915.enable_guc=3 i915.max_vfs=7
root@pve:/# dmesg | grep -e DMAR -e IOMMU
[    0.010218] ACPI: DMAR 0x000000004487A000 000088 (v01 INTEL  EDK2     00000002      01000013)
[    0.010245] ACPI: Reserving DMAR table memory at [mem 0x4487a000-0x4487a087]
[    0.051047] DMAR: IOMMU enabled
[    0.117916] DMAR: Host address width 39
[    0.117917] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.117924] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[    0.117926] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.117929] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[    0.117930] DMAR: RMRR base: 0x0000004c000000 end: 0x000000503fffff
[    0.117932] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.117933] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.117934] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.119515] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.285906] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.355091] DMAR: No ATSR found
[    0.355091] DMAR: No SATC found
[    0.355092] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.355093] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.355094] DMAR: IOMMU feature nwfs inconsistent
[    0.355095] DMAR: IOMMU feature dit inconsistent
[    0.355095] DMAR: IOMMU feature sc_support inconsistent
[    0.355096] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.355097] DMAR: dmar0: Using Queued invalidation
[    0.355099] DMAR: dmar1: Using Queued invalidation
[    0.355667] DMAR: Intel(R) Virtualization Technology for Directed I/O

root@pve:/# lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] (rev 0c)
root@pve:/# cat /sys/kernel/debug/dri/0/i915_sriov_vfs
cat: /sys/kernel/debug/dri/0/i915_sriov_vfs: No such file or directory

root@pve:/# lspci -nnk | grep -A 3 -i vfio
        Kernel driver in use: vfio-pci
        Kernel modules: xe, i915
00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 02)
        DeviceName: Onboard - Other
--
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
        DeviceName: Onboard - Other

root@pve:/# lsmod | grep i915
i915                 3526656  0
drm_buddy              20480  1 i915
ttm                    90112  1 i915
drm_display_helper    204800  1 i915
cec                    73728  2 drm_display_helper,i915
i2c_algo_bit           16384  1 i915
video                  69632  1 i915

root@pve:/# modprobe vfio-pci
modprobe i915

root@pve:/# cat /sys/class/drm/card0/device/sriov_totalvfs
cat: /sys/class/drm/card0/device/sriov_totalvfs: No such file or directory

root@pve:/# echo "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf




https://www.derekseaman.com/2024/07...u-vt-d-passthrough-with-intel-alder-lake.html

1726629968159.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!