Integrated GPU Passthrough to a Virtual Machine in Proxmox (Step-by-Step Tutorial)

preview_player
Показать описание
Welcome to our comprehensive guide on how to pass through an Intel integrated GPU to a virtual machine using Proxmox!

In this video, we'll walk you through the step-by-step process of configuring Proxmox to allow direct access of your Intel integrated GPU to a virtual machine, unlocking its full potential for gaming, graphic design, or any other GPU-intensive tasks.

This example was tested with an Intel I5-7600 CPU with a HD Graphics 630 iGPU

Step by Step tasks:

Step 1: Edit GRUB
Execute: nano /etc/default/grub
Change this line from
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
to
Save file and exit the text editor

Step 2: Update GRUB
Execute the command: update-grub

Step 3: Edit the module files
Execute: nano /etc/modules
Add these lines:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
kvmgt
Save file and exit the text editor

Step 4: IOMMU remapping
Add this line:
options vfio_iommu_type1 allow_unsafe_interrupts=1
Save file and exit the text editor
Add this line:
options kvm ignore_msrs=1
Save file and exit the text editor

Step 5: Blacklist the GPU drivers
Add these lines:
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
Save file and exit the text editor

Step 6: Adding GPU to VFIO
a) Execute: lspci -v
Look for your GPU and take note of the first set of numbers
b) Execute: lspci -n -s (PCI card address)
This command gives you the GPU vendors number.
Add this line with your GPU number and Audio number:
options vfio-pci ids=(GPU number,Audio number) disable_vga=1
Save file and exit the text editor

Step 7: Command to update everything and Restart
a) Execute: update-initramfs -u
b) Then restart the your Proxmox Node
Рекомендации по теме
Комментарии
Автор

Amazing, exact same iGPU worked flawlessly thanks alot!

RandomStuff-wzwm
Автор

Hello again, also I think you didnt include the audio for igpu is due to the IOmmu conflict with the network device (this possibly would make your video very long.). I bypassed this by getting a usb3 ethernet dongle (tp=-ink) and unplugged the network device so its not being used. Add the Pcie audio device with functions and Rom unchecked and you have audio in your Windows. Linux you follow the same info in the video. Also use Seabios and i440 for Windows. Not sure how you used OVMF and Q35 but good job. Good luck!

vicamen
Автор

Excellent video. I would be really interested to see this working with a linux desktop VM?

MarkConstable
Автор

Are you able to connect an HDMI cable to your motherboard using this guide and use a display directly from your motherboard from a Windows VM?

savaspar
Автор

i have Intel N97 CPU, should I remove i915.enable_gvt=1 parameter?

kirillkasyanov
Автор

I did this with my pentium G4560. The GVT-G or split passthrough works well but I cannot do any full igpu passthrough sadly.

arnob
Автор

but it's for split one i want full passthrough is there anything??

LuffyLab-cv
Автор

Great Video! How would the VM setting need to look if I'm running a Ubuntu VM?

mr_books
Автор

Wich CPU was tested? Does this work with Jasper Lake ?

strategischen
Автор

Ubuntu vm can output to monitor but win 11 can not.

shetuamin
Автор

vfio-pci 0000:00:02.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff

KcinicKGX
Автор

What about outputting video over hdmi? My screen stays off when I boot the vm.

xxDJSxx
Автор

need guide to do iGPU for Ryzen instead of Intel any chances?

krdesigns
Автор

what about amd igpus? Any guide for 780m?

faizannabi
Автор

Great! Thanks, this broke my VM it wont start anymore...

LazeX