Screen goes black after boot screen following driver install (NVIDIA & AMD GPU passthrough)

goldsteal

Active Member
Nov 3, 2018
12
2
43
30
Hello folks!
While I still have not found a fix for the driver reset bug on my AMD R9 380x Nitro the simple workaround for now was switching the cards so that the NVIDIA GeForce GTX 980 is in the first PCI-E slot instead, which seems to allow at least a flawless first boot of a VM but I am sure rebooting would create issues.

I am using Proxmox VE 7 i think:
pveversion
Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_ADDRESS = "de_DE.UTF-8",
    LC_NAME = "de_DE.UTF-8",
    LC_MONETARY = "de_DE.UTF-8",
    LC_PAPER = "de_DE.UTF-8",
    LC_IDENTIFICATION = "de_DE.UTF-8",
    LC_TELEPHONE = "de_DE.UTF-8",
    LC_MEASUREMENT = "de_DE.UTF-8",
    LC_TIME = "de_DE.UTF-8",
    LC_NUMERIC = "de_DE.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
pve-manager/7.0-13/7aa7e488 (running kernel: 5.11.22-5-pve)

Now sadly I have an even more annoying problem. After installing Windows 11 I finally did the GPU passthrough with the NVIDIA card and proceeded to install the driver.
During installation – presumably when the driver actually get initialized – the screen goes black and stays black. When rebooting the screen comes back online but goes black during the Windows boot sequence which presumably again is where the display driver is switched on.

VM 101 (win11):
cat 101.conf
Code:
 bios: ovmf
 boot: order=virtio1
 cores: 8
 cpu: host,hidden=1,flags=+pcid
 efidisk0: local-lvm:vm-101-disk-3,efitype=4m,pre-enrolled-keys=1,size=4M
 hostpci0: 0000:05:00,pcie=1,romfile=GeForce_GTX_980_VGA_BIOS_84.04.31.00.32.bin
 ide0: local:iso/virtio-win.iso,media=cdrom,size=543390K
 ide2: local:iso/Win10_21H1_English_x64.iso,media=cdrom,size=5687620K
 machine: pc-q35-6.0
 memory: 16384
 name: x99-v-win11-64bit
 net0: e1000=DA:A2:90:FE:B3:9F,bridge=vmbr0,firewall=1
 numa: 0
 ostype: win11
 scsihw: virtio-scsi-pci
 smbios1: uuid=aa0c2699-862d-47d9-ac61-d58e3ab266aa
 sockets: 1
 tpmstate0: local-lvm:vm-101-disk-2,size=4M,version=v2.0
 usb0: host=046d:c07e
 usb1: host=046d:c31c
 vga: none
 virtio0: local-lvm:vm-101-disk-0,size=4M
 virtio1: local-lvm:vm-101-disk-1,size=64G
 vmgenid: ffef132f-7093-49e2-a38d-2a0e29daee87


To make sure this is not some kind of Error 43 NVIDIA bullshit – which I thought was finally "fixed" by NVIDIAs decision to stop screwing customers needlessly – I cloned the Win 11 machine and put Win 10 on it. Then I passed through the AMD card. I have pretty much the same issue there only that just waiting made the screen go black. I assume however that Windows was taken the liberty to install a more fitting display driver in the background in that time – read: the AMD one...

VM 102 (win10)
cat 102.conf
Code:
bios: ovmf
boot: order=ide2;virtio1
cores: 8
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-102-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:03:00,pcie=1,romfile=Sapphire.R9380X.4096.151101.rom
ide0: local:iso/virtio-win.iso,media=cdrom,size=543390K
ide2: local:iso/Win10_21H1_EnglishInternational_x64.iso,media=cdrom,size=5696060K
machine: pc-q35-6.0
memory: 16384
name: x99-v-win10-64bit
net0: e1000=EA:C1:02:60:2D:BE,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=bcdad938-d24c-419b-a392-fd6a138593c3
sockets: 1
tpmstate0: local-lvm:vm-102-disk-1,size=4M,version=v2.0
usb0: host=046d:c31c
usb1: host=046d:c07e
vga: none
virtio1: local-lvm:vm-102-disk-2,size=64G
vmgenid: b22fc67f-6447-411b-9879-b1eaa175d909


What am I missing?

I apologize if this is something stupid but I have probably made my VM configs worse now multiple times in order to "resolve" my issues...

Greetings

goldsteal
 
Last edited:
i assume you talk about the physical display output of the passed through card that goes black?

did you try the other display output of the cards?

is there anything visible in the windows logs?
 
I don't know about Windows logs since I haven't yet tried to figure out how to look into them. I will look into that, thank you so much.
Yes, I tried all outputs and two monitors...


on the Proxmox machine gives me this during boot:
Code:
[88262.634866] pcieport 0000:00:03.0: AER: Multiple Uncorrected (Non-Fatal) error received: 0000:05:00.0
[88262.634906] pcieport 0000:00:03.0: AER: Multiple Uncorrected (Non-Fatal) error received: 0000:05:00.0
[88262.634947] pcieport 0000:00:03.0: AER: Multiple Uncorrected (Non-Fatal) error received: 0000:05:00.0
[...]
[88269.818305] usb 1-12: reset low-speed USB device number 4 using xhci_hcd
[88270.234290] usb 1-11: reset full-speed USB device number 3 using xhci_hcd
[88294.094619] usb 1-12: reset low-speed USB device number 4 using xhci_hcd
[88294.510600] usb 1-11: reset full-speed USB device number 3 using xhci_hcd

I can't keep to figure out how to enter start up options in Windows and eventvwr doesn't seem to exist with the pre-boot cmd terminal window...
 

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!