Ubuntu Graphic Driver Problems with IGD Passthtough

codeke

New Member
Mar 20, 2022
1
0
1
34
Hi all
i am working on passthrough my IGD to a vm,and it's well down with the win10 VM guest except freezing sometime.
when i change the VM guest to Ubuntu 21.10 ,i can only boot with nomodeset ,so i cannt use the GPU's full power.
my ultral target is to run NAS + BlissOS on the PVE system.
i need to fix the driver problem first to run my ubuntu OS without nomodeset
i has been checked all of the infos about IGD passthtough,but still cant fix it.
Could someone help me!!
3Q

issue:
when boot without nomodeset
when passed the proxmox boot image the physical scrren will be black blank
NO HDMI out then ,the vm is still running,can only stop by mannual.

here is my HW list
CPUIntel(R) Celeron(R) G5900 CPU @ 3.40GHz
IGD(no second GPU card)Intel HD 610
Mother BoardASRock H410M-ITX/ac

here is host environment
PVE OS Kernel5.13.19-2
Qemu Server7.1-4
pve-qemu-kvm6.1.0-3

/etc/default/grub
Bash:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=efifb:off"
GRUB_CMDLINE_LINUX=""

/etc/modprobe.d/blacklist.conf
Bash:
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915

/etc/modprobe.d/vifo.conf
Bash:
options vfio-pci ids=8086:9ba8
options vfio_iommu_type1 allow_unsafe_interrupts=1


VM.conf
Bash:
args: -device vfio-pci,host=00:02.0,x-vga=on,x-igd-opregion=on,romfile=i915ovmf.rom
#addr=0x18 默认是绑定在00:2上的
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 2
cpu: host
efidisk0: local-lvm:vm-100-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M
ide2: local:iso/ubuntu-21.10-desktop-amd64.iso,media=cdrom,size=1467M
machine: q35
memory: 4096
meta: creation-qemu=6.1.0,ctime=1647073049
name: Ubuntu
net0: virtio=86:5F:52:25:6C:C5,bridge=vmbr0,firewall=1
numa: 1
ostype: l26
scsi0: local-lvm:vm-100-disk-0,size=128G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=813ae700-33f0-4322-907f-05934984e026
sockets: 1
usb0: host=1-2,usb3=1
vmgenid: 46fc5ef6-cfc1-4885-abf6-b97bc2d79207
 
Last edited:
Aare you able to get monitor output on you windows 10 vm. Im trying to setup something similar but haven't had any succes.
 

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!