Nvidia Problem Passthrough Windows

yamaharacer

Member
Jul 23, 2023
31
0
6
Hi There,

I have a confusing Problem with my passthrough setup

Passthrough with Seabios doesnt work to any Windows VM. Linux WMs work without problem.

Does anybody know why its only working with Linux VMs?

What I have recognized, when I setup vga to "vmware" of the VM config, passthrough seems to work but without correct initializing the screen which is connected to the Nvidia GPU.

Does anybody have an idea?

System
I7 3770
Asus P8Z77-V
Aus GTX750TI in PCIe Slot 2
32GB Ram

/etc/default/grub
Code:
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 pcie_acs_override=downstream,multifunction"
GRUB_CMDLINE_LINUX=""

/etc/modules
Code:
vfio
vfio_iommu_type1
vfio_pci

/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=10de:1380,10de:0fbc

/etc/modprobe.d/blacklist.conf
Code:
blacklist bcma
blacklist nouveau
blacklist amdgpu
blacklist snd_hda_intel

/etc/pve/qemu-server/100.conf
Code:
balloon: 0
boot: order=ide0;ide2;net0
cores: 2
cpu: x86-64-v2-AES
hostpci0: 0000:02:00,pcie=1,x-vga=1
ide0: VM:100/vm-100-disk-0.qcow2,size=32G
ide2: VM:iso/virtio-win-0.1.240.iso,media=cdrom,size=612812K
machine: pc-q35-8.1
memory: 4096
meta: creation-qemu=8.1.2,ctime=1703576918
name: XP
net0: rtl8139=BC:24:11:C4:1C:E1,bridge=vmbr0,firewall=1
numa: 0
ostype: wxp
smbios1: uuid=1359b839-42da-404a-8902-d086dcb0d936
sockets: 1
usb1: host=1b1c:0a60
vga: none
vmgenid: a5e65079-f93d-4007-888a-be64c228044d
 
Last edited:
On going steps, but no solution.

I have enabled rdp within my Windows XP VM. After that I have disabled vga again and recognized that the VM doenst boot up.

So I have added:

initcall_blacklist=sysfb_init

to

/etc/default/grub
Code:
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 pcie_acs_override=downstream,multifunction initcall_blacklist=sysfb_init"
GRUB_CMDLINE_LINUX=""

After that the rdp connection works and the VM starts. Under the device manager for the GPU I get Error10.

Someone an idea?
 
Is there a way to show VM specific logs? Just want to find out why the VMs wont boot when I disable vga and only passthrough a PCIe device.
 

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!