iGPU passthrough

osalj

New Member
Mar 10, 2024
15
0
1
Hi,

I want to add an iGPU to virtual machine with PLEX.

DELL R330
My CPU: E3-1245 V6.
Booting: UEFI
File system: ZFS - Mirror RAID

In the /etc/default/grub file I added:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"

Then I execute the command:
Code:
pve-efiboot-tool refresh

Then it executes the Proxmox reboot.

After the system starts I execute the command:
Code:
dmesg | grep -i "IOMMU enable"

But I don't get any output.

What am I doing wrong?
 
Looks like you used an outdated guide: video=vesafb:off,efifb:off has not worked on Linux for quite some time.
The correct way video=vesafb:off video=efifb:off does nothing on Proxmox for some time (and you see something else to prevent simplefb from loading).
intel_iommu=on is not needed on recent Proxmox (and therefore does not change anything). (iommu=pt probably does nothing but does no harm.)
pcie_acs_override=downstream,multifunction is dangerously insecure but some iGPU passthrough might not work without it, check your IOMMU groups (without it!): https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_isolation
pve-efiboot-tool is called proxmox-boot-tool in modern Proxmox versions.
It is also possible that your Proxmox does not use GRUB but uses systemd-boot instead: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysboot_determine_bootloader_used

You might not have any output (from the Proxmox host console) because of the nofb. Since this is integrated graphics, basic PCI(e) passthrough ( https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough ) probably won't work. I hope that someone who succeeded with your exact same iGPU can explain how to get it working, as I have no experience with your hardware, sorry.
 
I just checked lspci -v and I see that only the graphics card on the motherboard is visible.
Code:
08:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 (rev 01) (prog-if 00 [VGA controller])
I don't see anything related to Intel HD 630.
 
Looks like you used an outdated guide: video=vesafb:off,efifb:off has not worked on Linux for quite some time.
The correct way video=vesafb:off video=efifb:off does nothing on Proxmox for some time (and you see something else to prevent simplefb from loading).
intel_iommu=on is not needed on recent Proxmox (and therefore does not change anything). (iommu=pt probably does nothing but does no harm.)
pcie_acs_override=downstream,multifunction is dangerously insecure but some iGPU passthrough might not work without it, check your IOMMU groups (without it!): https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_isolation
pve-efiboot-tool is called proxmox-boot-tool in modern Proxmox versions.
It is also possible that your Proxmox does not use GRUB but uses systemd-boot instead: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysboot_determine_bootloader_used

You might not have any output (from the Proxmox host console) because of the nofb. Since this is integrated graphics, basic PCI(e) passthrough ( https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough ) probably won't work. I hope that someone who succeeded with your exact same iGPU can explain how to get it working, as I have no experience with your hardware, sorry.
Thanks for a really good answer. I will definitely use it!

I didn't know that so much has changed in Proxmox.

I'm currently trying to figure out why the iGPU isn't visible in lspci -v
 
I now know why the iGPU is not visible in my Dell R330.
The iGPU is blocked and there is no way to bypass it.
The only solution is to buy a GPU