Comet Lake (Intel 10th Gen 10100-10900k) UHD 630 Passthrough I need some help.

xXTeraXx

New Member
Apr 29, 2021
4
0
1
27
After spending the last 2 weeks gouging my eyes out trying to make this work, I am finally asking for help. I have a ASRock B560M Pro 4 with a Core i9 10900(non k). The IGP on comet lake barely works on linux requiring the use of this https://patchwork.freedesktop.org/patch/412664/ kernel patch to load the i915 driver(Without it the screen goes black). (That is all mostly irrelevant.) It is worth mentioning that to install proxmox I had to install debian then proxmox on top of debian because of the previously mentioned patch. The first issue that I encountered was a error in dmesg, FLR Waiting. After this happened it locked up the ENTIRE system, even the reset button wouldn't worked. I solved this issue applying this kernel patch (made by myself) the 9bc5 is the product id of my card

Code:
--- a/drivers/pci/quirks.c      2021-05-28 07:18:53.000000000 -0400
+++ b/drivers/pci/quirks.c      2021-06-10 19:45:03.445053953 -0400
@@ -5135,6 +5135,7 @@
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x149c, quirk_no_flr);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x1502, quirk_no_flr);
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x1503, quirk_no_flr);
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x9bc5, quirk_no_flr);

 static void quirk_no_ext_tags(struct pci_dev *pdev)
 {

Since I was already compiling the kernel, I went ahead and disabled the VGA arbitrator and added the i915 patch from the beginning. (FInished kernel debs is attached) keep in mind if your ID is different you will have to recompile the kernel.

After all of that I fired up a linux VM and was met with "DECLARING IT WEDGED" for the GPU in the vm's dmesg. I also saw the PTE read access errors but that also happened on my 8250u machine and that machine does the passthrough without the kernel patch and it works perfectly(with display out). The only other time I saw the wedged method was on my 8250u machine when I tried to use q35 without the "x-igd-opregion=on". If I had used i440fx I did not need the opregion flag to make the VM display to a monitor and have the GPU working. But this time it just kept on happening. OVMF,Seabios,q35 or i440fx it just kept on happening. On a windows VM the card spits out a code 43 after I checked with remote desktop,(I also tried the romfile from the arch wiki and from github(also attached)). To no avail. That is where I am now, I need some help with this, if anyone knows how to make this work please comment. Thanks in advance

OUTPUTS:

VM Config File:
Code:
args: -device vfio-pci,host=00:02.0,addr=0x18,x-igd-opregion=on,x-igd-gms=1,romfile=intel.rom
agent: 1
bios: ovmf
boot:
cores: 8
cpu: host,flags=-pcid
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
hotplug: disk,network,usb
ide2: PiSMB:iso/wingold.iso,media=cdrom,size=8067240K
machine: pc-q35-5.2
memory: 8192
name: Windows
net0: e1000=46:77:B8:BD:23:32,bridge=vmbr2,firewall=1
numa: 0
ostype: win10
scsi0: local:100/vm-100-disk-0.qcow2,cache=writeback,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=f447f8e6-4b46-4412-b5e6-4560bd3439f2
sockets: 1
vga: none
vmgenid: e663635e-1eb4-430f-bcdc-31ffb2d4d5f6

DMESG output (After Kernel Patches)
(Attached)

Kernel and Rom https://www.mediafire.com/file/iw1sowc6axym2sc/kernel-and-rom.zip/file
(To big to attach)
 

Attachments

  • dmesg output.txt
    138.9 KB · Views: 17
I came across the same problem when i try to get my igpu passthrough to the Win10 VM.
Motherboard:Asus Tuf Gaming B560m-Plus
Cpu: i7 -11700K with intelgrated graphic UHD 750.
So sad.
 
+1

i3 10300 // asrock deskmini h470

no HDMI output in Windows 10
no 43 error actually, but random crashs after like 2 min remotedesktop / hardwareaccel.

spend over 3 days to find a solution for hdmi output and crashs...

if i attach the igpu to a linux vm - all works fine , output and performance / accel. :/
 
yeah... Apperantly it is working with 400 series motherboards but anything past the 400 series just instantly crashes. I don't know whether kernel 5.13 has fixed this or not
 
yes the deskmini use the 4XX chipset - but still no solution :/ linux works fine (without audio over hdmi) but windows always crashs the igpu after short period of load (starting a game oder watch youtube oder something ) -- with remotedesktop connection /- no hdmi output via windows. :( sad story so far tryd nearly every "solution" from the www
 

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!