[TUTORIAL] Intel 8th Gen Coffee Lake PCI Passthrough iGPU UHD630 for Ubuntu 23.04

PSteinberg

Member
Nov 28, 2019
14
5
23
40
Hey folks yet another guide how it worked for me after getting DRM error or Memory errors or total VM crashes

Proxmox VE 8

Code:
1)
Ubuntu 23.04 VM
Machine : Default (i440fx)
Bios : OMVF (Uefi)
PCI device (hostpic0): Activate "All functions" & "ROM-Bar"
Queme Guest Agent : Enabled

a) After installation
nano /etc/enviroment
>>add
LIBVA_DRIVER_NAME=iHD
>>save&exit

b) sudo apt install qemu-guest-agent



2)
root@pve:~# nano /etc/default/grub
>>change to
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream video=efifb:off"
>>save&exit

3)
root@pve:~# update-grub

4)
root@pve:~# nano /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio_iommu_type1
vfio_pci
vfio_virqfd

# Module required normally for Intel GVT but needed
kvmgt

>>save&exit

5)
root@pve:~# update-initramfs -u -k all

6)
root@pve:~# nano /etc/modprobe.d/blacklist.conf
>>add
blacklist i915
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
>>save&exit

7)
root@pve:~# nano /etc/modprobe.d/vfio.conf
>>add
options vfio-pci ids=8086:3e92 vfio_iommu_type1 allow_unsafe_interrupts=1
>>save&exit

8) reboot Proxmox

That was the only configuration which worked for me. I did not get PCIE in Q35 machine running at all. :/ I hope I can save some time to somebody
 
Last edited:

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!