GPU passthrough: RDP/noVNC works ok but monitor/Parsec is black

nworbneb

New Member
Sep 30, 2021
2
0
1
47
Hello,

I have an HP Z620 with Proxmox 7.0 and NVIDIA GTX 1050 Ti (passing through to Windows 10 VM) and NVIDIA Quadro 2000 (for host)

I've followed the wiki (https://pve.proxmox.com/wiki/Pci_passthrough) and I think I've configured PCI passthrough OK:

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

[ 0.234994] DMAR: IOMMU enabled

I don't need allow_unsafe_interrupts=1:

[ 0.585225] DMAR-IR: Enabled IRQ remapping in x2apic mode

I've disabled the 1050Ti using module options as I need the nvidia driver for the Quadro card and this seems to be working

Code:
options vfio-pci ids=10de:1c82,10de:0fb9 disable_vga=1

Code:
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd GP107 [GeForce GTX 1050 Ti] [1458:3764]
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau
04:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd GP107GL High Definition Audio Controller [1458:3764]
--
05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106GL [Quadro 2000] [10de:0dd8] (rev a1)
        Subsystem: Hewlett-Packard Company GF106GL [Quadro 2000] [103c:084a]
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau
05:00.1 Audio device [0403]: NVIDIA Corporation GF106 High Definition Audio Controller [10de:0be9] (rev a1)
        Subsystem: Hewlett-Packard Company GF106 High Definition Audio Controller [103c:084a]

1050 Ti seems happy with UEFI:

Code:
Valid ROM signature found @0h, PCIR offset 1a0h
        PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1c82, class: 030000
        PCIR: revision 0, vendor revision: 1
Valid ROM signature found @f000h, PCIR offset 1ch
        PCIR: type 3 (EFI), vendor: 10de, device: 1c82, class: 030000
        PCIR: revision 3, vendor revision: 0
                EFI: Signature Valid, Subsystem: Boot, Machine: X64
        Last image

So my config passes through the whole 1050Ti as PCI-e and primary GPU:

Code:
agent: 1
bios: ovmf
boot: order=virtio0;net0;ide0;ide2
cores: 8
cpu: host
hostpci0: 0000:04:00,pcie=1,x-vga=1
ide2: none,media=cdrom
machine: pc-q35-6.0
memory: 16384
name: retroemu
net0: virtio=F6:08:58:72:87:9B,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=a091ae9f-ba27-4f3b-be09-84af7950be40
sockets: 1
vga: virtio,memory=512
virtio0: local-zfs:base-150-disk-0/vm-153-disk-0,cache=writeback,discard=on,size=100G
vmgenid: f625e8be-3326-4bc7-9f79-cb1058778e95

In Window 10 VM I've installed the latest NVIDIA drivers and the 1050 Ti appears in device manager and is error code free.

So all is good connecting via RDP and I can run Dolphin for example and see it using the 1050 Ti as its GPU.

However, the monitor connected to the 1050 Ti is black and if I use Parsec it connects but shows, presumably, the same black screen.

Does anyone have any idea what I might have done wrong? Seems so close....

Many thanks,

Ben.
 
Last edited:
I don't know if anyone else has the black screen issue when connecting with parsec but I accidentally left my rdp session open and was able to use parsec but in "rdp" mode this issue was both for a win 10 and win 11 vm
 
so I was able to figure it out.
1st I had to make the video card primary gpu
2nd make sure hdmi dumy plug was in.
3rd dont rdp back in after setting up parsec