Hi,
im trying to setup vga passthrough with proxmox. i have used the wiki page available here: https://pve.proxmox.com/wiki/Pci_passthrough <https://pve.proxmox.com/wiki/Pci_passthrough> Host is enabled with vt-d grub cmline is changed to: "quiet rootdelay=5 intel_iommu=on" root@compute2:~# grep CONFIG_VFIO_PCI_VGA /boot/config-4.4.21-1-pve CONFIG_VFIO_PCI_VGA=y root@compute2:~# lspci -v 02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller]) [...] Kernel driver in use: vfio-pci 02:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1) [..] Kernel driver in use: vfio-pci root@compute2:~# cat /etc/modprobe.d/kvm.conf options kvm ignore_msrs=1 root@compute2:~# cat /etc/modprobe.d/blacklist.conf blacklist nvidia root@compute2:~# cat /etc/modprobe.d/vfio.conf options vfio-pci ids=10de:0a65,10de:0be3 disable_vga=1 root@compute2:~# cat /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 vfio_iommu_type1 vfio_pci vfio_virqfd added: machine: q35 hostpci0: 02:00,pcie=1,x-vga=on to vmid.conf appended below is the error thrown at me: >>>>>>>> kvm: -device vfio-pci,host=02:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-vga=on,multifunction=on: vfio: Device does not support requested feature x-vga kvm: -device vfio-pci,host=02:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-vga=on,multifunction=on: Device initialization failed TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=a06a4078-49fb-4385-8174-24956b32492f' -name client -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -no-hpet -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=proxmox,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,kvm=off' -m 2048 -k de -readconfig /usr/share/qemu-server/pve-q35.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=02:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-vga=on,multifunction=on' -device 'vfio-pci,host=02:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:6387cd179be1' -drive 'file=/media/storage/images/100/vm-100-disk-1.qcow2,if=none,id=drive-ide0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -drive 'file=/media/storage/template/iso/de_windows_8_1_x64_dvd_2707227.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=56:54:54:6B:B2:E0,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -machine 'type=q35' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1 <<<<<<<< if i start it without x-vga=on it boots but the video output does not seem to be working, also the ram usage is increased to 1.3gb directly after startup using ovmf resulted in the same error any hints? i have read that maybe some xvga module is missing in the kernel or something, is this true for the current proxmox kernel? im currently on the latest version available to non-subscription users Best regards Felix _______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
