Gigabyte GTX 1060 Mini OC 6GB blank screen

fahadshery

Member
Feb 13, 2021
131
8
23
41
Hi All,

I have already looked at here and here and tried everything but I am still getting the blank screen on my monitor.
My VM config:
Code:
cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1cb2,10de:0fb9,10de:1c03,10de:10f1 disable_vga=1
root@pve:~# cd /etc/pve/qemu-server
root@pve:/etc/pve/qemu-server# cat 103.conf
agent: 1
balloon: 2048
bios: ovmf
boot: order=ide2;scsi0;net0;sata2
cores: 32
cpu: host,hidden=1,flags=+pcid
efidisk0: faster:vm-103-disk-1,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:05:00,pcie=1,x-vga=1
ide2: truenas:iso/Windows 10 Pro.ISO,media=cdrom
machine: pc-q35-6.0
memory: 16384
name: win10
net0: virtio=B2:C0:91:16:0A:4F,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win10
parent: fresh
sata2: truenas:iso/virtio-win.iso,media=cdrom,size=543390K
scsi0: faster:vm-103-disk-0,cache=writeback,discard=on,size=256G
scsihw: virtio-scsi-pci
smbios1: uuid=ce3a73db-9b87-4873-ace4-30a073928d55
sockets: 1
vga: none
vmgenid: 44c6c413-7396-4e7a-b76d-839b9e799855

/etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"

/etc/modules
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

/etc/modprobe.d/iommu_unsafe_interrupts.conf
Code:
options vfio_iommu_type1 allow_unsafe_interrupts=1

/etc/modprobe.d/vfio.conf (I have two GPU installed) The other GPU is passed to a difference VM
Code:
options vfio-pci ids=10de:1cb2,10de:0fb9,10de:1c03,10de:10f1 disable_vga=1

dmesg | grep vfio
Code:
[   12.011301] vfio-pci 0000:43:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   12.031552] vfio_pci: add [10de:1cb2[ffffffff:ffffffff]] class 0x000000/00000000
[   12.051595] vfio_pci: add [10de:0fb9[ffffffff:ffffffff]] class 0x000000/00000000
[   12.051747] vfio-pci 0000:05:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   12.075597] vfio_pci: add [10de:1c03[ffffffff:ffffffff]] class 0x000000/00000000
[   12.099605] vfio_pci: add [10de:10f1[ffffffff:ffffffff]] class 0x000000/00000000
[  295.178515] vfio-pci 0000:43:00.0: enabling device (0000 -> 0003)
[  295.178863] vfio-pci 0000:43:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
[  752.783263] vfio-pci 0000:05:00.0: enabling device (0000 -> 0003)
[  752.783727] vfio-pci 0000:05:00.0: vfio_ecap_init: hiding ecap 0x19@0x900

What am I missing?
 
Two small things: Ballooning won't work because of PCI passthrough, so you might as well remove the balloon: 2048. And video=vesafb:off,efifb:off is incorrect (but commonly repeated on the internet) and should seperated intovideo=vesafb:off video=efifb:off.

I'm assuming that your VM starts fine and that the PCI passthrough is working in principle? Can you RDP into the Windows VM and see the GPU in Device Management?
Have you tried machine: pc-q35-3.1 instead of 6.0? Maybe the NVidia drivers expect the older virtual PCIe layout?
 
  • Like
Reactions: fahadshery
Two small things: Ballooning won't work because of PCI passthrough, so you might as well remove the balloon: 2048. And video=vesafb:off,efifb:off is incorrect (but commonly repeated on the internet) and should seperated intovideo=vesafb:off video=efifb:off.

I'm assuming that your VM starts fine and that the PCI passthrough is working in principle? Can you RDP into the Windows VM and see the GPU in Device Management?
Have you tried machine: pc-q35-3.1 instead of 6.0? Maybe the NVidia drivers expect the older virtual PCIe layout?

Hi thank you for the correction. I changed the video=vesafb:off,efifb:off to video=vesafb:off video=efifb:off. and removed the Balloon as suggested. I then rebooted the VM.

I think the real problem was that I was using RDP and it was somehow having issues with the monitor. This time I rebooted and waited and the display came on! Not sure if this was due to the RDP or the settings you mentioned above.

Thank you for your help
 

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!