WITHOUT CABLE PLUGGING INTO GRAPHICS CARD, how can I apply a remote desktop access to VM with gpu passthroughed?

lebrongandalf

Member
Dec 1, 2021
2
0
6
33
I've passthroughed AMD R5 230 OEM to VM with the guide of archlinux passthrough tutorial and Proxmox passthrough tutorial. When I installed GPU driver, I could get output in monitor if I directly plug HDMI cable into graphics card. Below is my VM conf:
Bash:
bios: ovmf
boot: order=scsi0;net0
cores: 8
hostpci0: 0000:0f:00.0
memory: 8192
meta: creation-qemu=6.1.1,ctime=1651216225
name: vm163-gpu
net0: virtio=0E:9F:1D:3C:44:52,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: nfs55:119/vm-119-disk-0.qcow2,size=64G
scsihw: virtio-scsi-pci
smbios1: uuid=b6d9e779-b636-4f13-b65e-fc7d65a1000f
sockets: 1
usb0: host=093a:2510,usb3=1
usb1: host=09da:2268,usb3=1
vga: virtio

BUT!!!!There is no any output from noVNC or SPICE output. All I could get from console is just black screen with some words which says Display output is not active.

So is there any way to get video output without plugging HDMI cable into graphics card? Furthermore I could use this way to do some OpenGL rendering work with passthroughed GPU?
 
Last edited:
BUT!!!!There is no any output from noVNC or SPICE output. All I could get from console is just black screen with some words which says Display output is not active.

So is there any way to get video output without plugging HDMI cable into graphics card? Furthermore I could use this way to do some OpenGL rendering work with passthroughed GPU?
You will not get any gpu acceleration on the noVNC/SPICE output if it would work. If you need GPU-based rendering, you will need a remote protocol that is capable of doing so, e.g. RDP is able to do that, or using Steam Streaming in Windows to render locally and just send the rendered image over the network.
 

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!