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
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:
DMESG output (After Kernel Patches)
(Attached)
Kernel and Rom https://www.mediafire.com/file/iw1sowc6axym2sc/kernel-and-rom.zip/file
(To big to attach)
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)