No video after switching to passed through GPU

sgt_jamez

Member
Jun 8, 2021
19
1
8
54
As a relative newcomer to Linux VMs, I'm sure there's something simple I'm missing. I'm hoping this community can help.

I can get Nobara installed and running with the default display and the NoVNC console. And then once I add the passed through GPU with the line
Code:
hostpci0: 0000:2b:00,pcie=1
and still have the NoVNC console, install the drivers for the GPU. I also install NoMachine so I have a way in after turning off the default display. The display manager sees the GPU and I do have a dummy plug on the GPU. If I make that display primary in the display manager, stop the VM, kill the default display in the VM config and make the GPU primary with
Code:
hostpci0: 0000:2b:00,pcie=1,x-vga=1
NoMachine no longer works.

What steps do I need to follow to configure the VM so I can use NoMachine (and ultimately Sunshine) to connect to the GPU as primary and no default dislpay?
 

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!