GPU Passthrough with NVIDIA GTX 1050 Ti

ferdl9999

Renowned Member
Nov 7, 2015
52
0
73
Hey,

I am trying to use a Nvidia Gtx 1050 TI in a Windows VM. I've been going through the Wiki multiple times, but i am stuck on one error.
My problem is that i always get error code 43 on NVIDIA driver. I have set the cpu type to "host" and also added the "hidden" option to the cpu configuration. After that, i've reinstalled the guest.

Another user had a similar problem with another nvidia card (first grabbed out this old thread, sorry for that): https://forum.proxmox.com/threads/gpu-passthrough-with-nvidia-gt-1030.59048/#post-337015

As guest os i am currently using Windows Server 2016 Standard.

This is my VM config:
Code:
agent: 1
bios: ovmf
boot: cd
bootdisk: scsi0
cores: 16
cpu: host,hidden=1
cpulimit: 16
efidisk0: nvme_1:100/vm-100-disk-1.qcow2,size=128K
hostpci0: 02:00,pcie=1,x-vga=1
machine: q35
memory: 32768
name: server100
net0: virtio=CA:15:B3:67:5A:52,bridge=vmbr0,firewall=1,rate=50
numa: 0
onboot: 1
ostype: win10
sata0: local:iso/virtio-win-0.1.189.iso,media=cdrom,size=488766K
sata2: local:iso/WindowsServer-2016-Standard.iso,media=cdrom,size=5887378K
scsi0: nvme_1:100/vm-100-disk-0.qcow2,discard=on,size=400G
scsihw: virtio-scsi-pci
smbios1: uuid=26ec5f3f-a663-4eb7-9694-95655585c55a
sockets: 1
vga: std
vmgenid: 4179b906-574b-4bf9-bfda-b9735ed506ca


Proxmox has been completely new installed (latest PVE 6.2-1).

Do you have any suggestions?
 
Thanks for the tip and thanks to @r.jochum for the great explanation. Error 43 is now gone.

Could you please tell me how i can access the GPU output from within proxmox (noVNC console)?
I want to use this VM as a rendering machine, but from remote, with no display directly connected to the GPU.
When i set the display mode to "Standard VGA", i get an output in the noVNC console, but this is not the output from the GPU. The windows standard display driver is going to be installed when i use this setting.

Thanks for you help!
 
When i set the display mode to "Standard VGA", i get an output in the noVNC console, but this is not the output from the GPU. The windows standard display driver is going to be installed when i use this setting.

Does the pass-through card show up in device manager?
 
Yes, the card is working fine. I can also connect a display to it or connect via RDP (also without a display connected to the GPU).

But is it possible to show the video output from the GPU in the noVNC console? It will be a headless machine, when there is a problem i should be able to access the video output (preferably the output from the GPU, not the output i get when i select "Standard VGA" as display type in Proxmox).
 
@ferdl9999

With my setup I was able to add a "Standard VGA" Card and use it, but "SPICE" didn't boot after UEFI.

Standard VGA is like two Screens so you have to mirror the screen then.

I use NoMachine as Remote Desktop Software.