Full desktop running on Proxmox console with GPU passthrough

RadOD

New Member
Sep 17, 2021
2
0
1
58
I am running a full desktop running on Proxmox VE 7 as instructed here: https://pve.proxmox.com/wiki/Developer_Workstations_with_Proxmox_VE_and_X11

Additionally I want to passthrough my nvidia card to VM's but at the same time I would still like to use the local machine to connect to VM's via VNC/Spice. But once I setup PCI passthrough, I can no longer open a desktop environment on the local console.

Is there any solution that would allow a VNC/Spice client to run local on the host machine to allow control VM's, but while still using pci passthrough of the nvidia card? Is it possible to pass through only one GPU in a system that had 2 cards? I would assume they would need to be different brands as passthrough for nvidia requires blacklisting the nvidia drivers on the host. Can I just plug in a second AMD GPU?
 
Using a GPU that uses a different driver is easiest (like your AMD vs. NVidia example), but not necessary. You can bind a GPU to the vfio_pci driver by its ID (shown by lspci -n) without blacklisting the driver. Just make sure that the GPU (or chip) types are different, like a 1050 and 1060 or 1060 and 2060 (but not Gigabyte 1050 and MSI 1050 for example). If the lspci -n codes are identical, it might still be possible using start-up scripts but please avoid it.
 

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!