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

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!