Hi there, my hardware is as follows,
The system is
ASROCK J3455-itx with HD500 as the IGD
8G of RAM,
256G SSD
The SSD is ngff to USB3 interface as system drive, so I can passthrough both SATA controllers onboard to my guest systems.
After reading numerous articles and tips online, I was finally able to passthrough the integrated intel HD500 GPU with romfile option in legacy mode (it doesn't support UEFI mode).
The issue I am having now is that there are two errors with the passthroughs when I run the guestOS with following config:
I applied ACS patch to the kernel, and here's my running kernel
pve-manager/6.1-3/37248ce6 (running kernel: 5.4.30-1-pve)
I blacklisted drivers, disabled efi framebuffer in grub (because PVE is booted in EFI mode), and forced VGA and sound to load vfci-pci drivers instead of intel drivers.
eventually I was able to pass through the GPU (not perfectly though) with following errors:
Aslo dmesg error:
I do get a display on my monitor when I run LibreELEC system which means it works right?
Problem is, if I try to change the system to Synology's DSM with the same setup above, the system will boot and the vga will work (no display but I can utilize the device at /dev/dri as renderd128 for decoding work.
Everything seems to be perfect except those error logs, with only one problem.
No matter how I shutdown or restart the DSM system (linux based right?), the guestOS will crash my PVE host, the host will be forced to restart with no exceptions.
I have limited linux skills and am new to Proxmox, so I don't know where to look for error logs relating to the crash, can someone help me?
The system is
ASROCK J3455-itx with HD500 as the IGD
8G of RAM,
256G SSD
The SSD is ngff to USB3 interface as system drive, so I can passthrough both SATA controllers onboard to my guest systems.
After reading numerous articles and tips online, I was finally able to passthrough the integrated intel HD500 GPU with romfile option in legacy mode (it doesn't support UEFI mode).
The issue I am having now is that there are two errors with the passthroughs when I run the guestOS with following config:
Code:
args: -device vfio-pci,host=00:02.0,bus=pci.0,addr=02.0,romfile=j3455.bin,x-igd-gms=1,x-igd-opregion=on
bios: seabios
boot: c
bootdisk: sata4
cores: 4
cpu: host
hostpci0: 00:0e,rombar=0
hostpci1: 04:00.1,rombar=0
hostpci2: 00:12,rombar=0
hostpci3: 03:00,rombar=0
memory: 2048
name: LibreELEC
numa: 0
ostype: l26
sata4: local-lvm:vm-103-disk-4,size=52M
scsihw: virtio-scsi-pci
smbios1: uuid=b5464d27-df4b-44fe-a580-70c937010812
sockets: 1
unused0: local-lvm:vm-103-disk-2
unused1: local-lvm:vm-103-disk-1
unused3: local-lvm:vm-103-disk-0
vga: none
vmgenid: dadb9056-5b75-43ce-afa2-af6205876563
I applied ACS patch to the kernel, and here's my running kernel
pve-manager/6.1-3/37248ce6 (running kernel: 5.4.30-1-pve)
I blacklisted drivers, disabled efi framebuffer in grub (because PVE is booted in EFI mode), and forced VGA and sound to load vfci-pci drivers instead of intel drivers.
eventually I was able to pass through the GPU (not perfectly though) with following errors:
Code:
kvm: -device vfio-pci,host=00:02.0,bus=pci.0,addr=02.0,romfile=j3455.bin,x-igd-gms=1,x-igd-opregion=on: IGD device 0000:00:02.0 cannot support legacy mode due to existing devices at address 1f.0
kvm: vfio: Cannot reset device 0000:00:12.0, no available reset mechanism.
kvm: vfio: Cannot reset device 0000:00:12.0, no available reset mechanism.
Aslo dmesg error:
Code:
[ 81.762510] DMAR: DRHD: handling fault status reg 2
[ 81.762523] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 0 [fault reason 02] Present bit in context entry is clear
[ 81.762575] DMAR: DRHD: handling fault status reg 2
[ 81.762579] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 0 [fault reason 02] Present bit in context entry is clear
[ 81.762614] DMAR: DRHD: handling fault status reg 2
[ 81.762619] DMAR: [DMA Write] Request device [00:02.0] PASID ffffffff fault addr 0 [fault reason 02] Present bit in context entry is clear
[ 81.898342] vfio-pci 0000:00:02.0: vfio_ecap_init: hiding ecap 0x1b@0x100
[ 81.901223] vfio-pci 0000:00:02.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x533e
I do get a display on my monitor when I run LibreELEC system which means it works right?
Problem is, if I try to change the system to Synology's DSM with the same setup above, the system will boot and the vga will work (no display but I can utilize the device at /dev/dri as renderd128 for decoding work.
Everything seems to be perfect except those error logs, with only one problem.
No matter how I shutdown or restart the DSM system (linux based right?), the guestOS will crash my PVE host, the host will be forced to restart with no exceptions.
I have limited linux skills and am new to Proxmox, so I don't know where to look for error logs relating to the crash, can someone help me?