IGC Passthrough not fully working with latest update

Larry Harnden

New Member
Mar 16, 2016
4
0
1
47
After installing the latest proxmox update and rebooting, like many, my integrated graphics card passthrough stopped working with my VM. After reading up on a few forum articles I was able to get it kinda there. What is happening is, now when I boot my machine. It will pass the splash screen through to the HDMI port and display on my big screen. However it will after about 30 sec shift to the VNC client and only display using the console with in Proxmox (well any VNC client).

I have tried different machine type, even rolled back to some of the older versions. No luck. I have tried the x-vga=on addition to the Hostpci line for the card, that actually causes the VM to fail right out of the gate. Below are my configurations for both my VM and the log output from when I add the x-vga command. The obvious issue I see is the part where it says "device does not support requested feature x-vga." Any ideas?

bootdisk: scsi0
cores: 4
hostpci0: 00:02.0,x-vga=on
hostpci1: 00:1b.0
hostpci2: 05:00.0
ide2: none,media=cdrom
machine: pc-i440fx-2.8
memory: 4096
name: HTPC.Linux.Mint.19
net0: virtio=0E:1F:CA:C5:B7:8B,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local-lvm:vm-102-disk-1,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=d0bd1bb9-1851-4eeb-a5bc-2f82078d541a
sockets: 1
usb0: host=046d:c534

kvm: -device vfio-pci,host=00:02.0,id=hostpci0,bus=pci.0,addr=0x10,x-vga=on: vfio error: 0000:00:02.0: failed getting region info for VGA region index 8: Invalid argument
device does not support requested feature x-vga
TASK ERROR: start failed: command '/usr/bin/kvm -id 102 -name HTPC.Linux.Mint.19 -chardev 'socket,id=qmp,path=/var/run/qemu-server/102.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/102.pid -daemonize -smbios 'type=1,uuid=d0bd1bb9-1851-4eeb-a5bc-2f82078d541a' -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -cpu 'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce,kvm=off' -m 4096 -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -readconfig /usr/share/qemu-server/pve-usb.cfg -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'vfio-pci,host=00:02.0,id=hostpci0,bus=pci.0,addr=0x10,x-vga=on' -device 'vfio-pci,host=00:1b.0,id=hostpci1,bus=pci.0,addr=0x11' -device 'vfio-pci,host=05:00.0,id=hostpci2,bus=pci.0,addr=0x1b' -device 'usb-host,vendorid=0x046d,productid=0xc534,id=usb0' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:ab4e2dff3262' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/dev/pve/vm-102-disk-1,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap102i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=0E:1F:CA:C5:B7:8B,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.8'' failed: exit code 1
 
Alright, after a lot of trial and error. I just made the decision to kill my VM and start over from scratch. This time however, I made one big change of using OVMF UEFI as the selected BIOS. adjusted my VM config file as below and now all runs fine. I hope this helps other people that have this issue with passthrough video.

bios: ovmf
bootdisk: scsi0
cores: 4
efidisk0: local-lvm:vm-102-disk-1,size=128K
hostpci0: 00:02,x-vga=1
hostpci1: 00:1b.0
hostpci2: 05:00.0
ide2: local:iso/linuxmint-19-cinnamon-64bit-v2.iso,media=cdrom
memory: 4096
name: HTPC-Mint-19
net0: virtio=<redacted>,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-102-disk-0,size=15G
scsihw: virtio-scsi-pci
smbios1: uuid=<redacted>
sockets: 1
startup: order=3
usb0: host=046d:c534
vmgenid: <redacted>
 

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!