Hi everyone, I'm asking for help here after hours of trying and following guides, but nothing helps.
I'm trying to pass through to a GTX 1060 on an HP ML350 Gen9 - This installation of PVE is new, currently just for testing, so I know the hardware before I install this server fully
Proxmox 8.4.1 - Kernel 6.8.12-11-pve
After I pass through to a Windows VM, I install the NVIDIA driver. After the installation, everything looks fine, but I still don't have a display from the GPU, so I reboot the VM, and then the famous code 43 appears!
It always appears after a restart after installing the drivers, no matter if I choose x-vga=1 or not.
Things I tried *not exactly in this order*
Reinstalling Windows several times after changing settings in the host
Create a new VM
Change the processor model in the VM
Change the version of the Machine to 9.2, 7.1, 8.2
Try changing settings in vIOMMU
Try the PCI Device settings - with/without All Functions, With/without PCI-Express, With/without ROM-Bar
I also tried changing the OS type to Linux
I tried other drivers from NVIDIA's website - the newest and the oldest they have on the site
I tried adding a ROM file - I downloaded the match version from TechPowerUp
I tried changing the kernel host version to 6.5
I also tried configuring vGPU with the scripts and guides that are available online -
But there is always a problem installing the NVIDIA drivers on the host, so I didn't get too far with it
And nothing helped!! Still code 43 after restarting after installing the drivers
But! And this is very important
I tried to install in a new Ubuntu VM. After installation, I pass the GPU
Without checking the Primary GPU, the VM recognized the card
I installed the drivers
Still no screen
I shut down the VM, then checked the Primary GPU, started the VM, and suddenly I had a screen with Ubuntu and everything seemed to work properly!
So something is not working with Windows, and I can't figure out why!!
My current host settings
Yes, I know that after kernel 6.5, "intel_iommu=on" isn't necessary, but I tried anyway.
VM config
I'm trying to pass through to a GTX 1060 on an HP ML350 Gen9 - This installation of PVE is new, currently just for testing, so I know the hardware before I install this server fully
Proxmox 8.4.1 - Kernel 6.8.12-11-pve
After I pass through to a Windows VM, I install the NVIDIA driver. After the installation, everything looks fine, but I still don't have a display from the GPU, so I reboot the VM, and then the famous code 43 appears!
It always appears after a restart after installing the drivers, no matter if I choose x-vga=1 or not.
Things I tried *not exactly in this order*
Reinstalling Windows several times after changing settings in the host
Create a new VM
Change the processor model in the VM
Change the version of the Machine to 9.2, 7.1, 8.2
Try changing settings in vIOMMU
Try the PCI Device settings - with/without All Functions, With/without PCI-Express, With/without ROM-Bar
I also tried changing the OS type to Linux
I tried other drivers from NVIDIA's website - the newest and the oldest they have on the site
I tried adding a ROM file - I downloaded the match version from TechPowerUp
I tried changing the kernel host version to 6.5
I also tried configuring vGPU with the scripts and guides that are available online -
But there is always a problem installing the NVIDIA drivers on the host, so I didn't get too far with it
And nothing helped!! Still code 43 after restarting after installing the drivers
But! And this is very important
I tried to install in a new Ubuntu VM. After installation, I pass the GPU
Without checking the Primary GPU, the VM recognized the card
I installed the drivers
Still no screen
I shut down the VM, then checked the Primary GPU, started the VM, and suddenly I had a screen with Ubuntu and everything seemed to work properly!
So something is not working with Windows, and I can't figure out why!!
My current host settings
/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"
GRUB_CMDLINE_LINUX=""
/etc/modprobe.d/blacklist.conf
Code:
blacklist nouveau
blacklist nvidia
/etc/modprobe.d/iommu_unsafe_interrupts.conf
Code:
options vfio_iommu_type1 allow_unsafe_interrupts=1
/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=10de:1c03,1458:371a disable_vga=1
/etc/modprobe.d/kvm.conf
Code:
options kvm ignore_msrs=1
VM config
Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 8
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-102-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:0a:00,pcie=1,x-vga=1
machine: q35
memory: 8192
meta: creation-qemu=9.2.0,ctime=1748813413
name: Win-2
net0: virtio=BC:24:11:7E:71:20,bridge=vmbr0,link_down=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-102-disk-1,iothread=1,size=75G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=db4de64e-784c-4512-8e0f-a6d1ffef333e
sockets: 1
usb0: host=0c45:7603
vmgenid: 5706de68-56df-4b88-86c8-83dcea92c0ad