Getting output from PCI GPU in virtual monitor

firestreak

New Member
Jan 1, 2023
5
5
1
I've got a Tesla M10 GPU.
Ubuntu 22.04 VM
510.x Grid Driver installed.

OVFM Bios
Virtio
q35 machine
Virtio SCSI controller


sudo lshw -C display

*-display
description: VGA compatible controller
product: Virtio GPU
vendor: Red Hat, Inc.
physical id: 1
bus info: pci@0000:00:01.0
logical name: /dev/fb0
version: 01
width: 64 bits
clock: 33MHz
capabilities: msix vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=virtio-pci latency=0 mode=1280x800 visual=truecolor xres=1280 yres=800
resources: iomemory:80-7f irq:21 memory:c4000000-c47fffff memory:810100000-810103fff memory:c504b000-c504bfff memory:c0000-dffff

*-display
description: VGA compatible controller
product: GM107GL [Tesla M10]
vendor: NVIDIA Corporation
physical id: 10
bus info: pci@0000:06:10.0
version: a2
width: 64 bits
clock: 66MHz
capabilities: msi vga_controller bus_master cap_list
configuration: driver=nvidia latency=0
resources: iomemory:80-7f irq:46 memory:c2000000-c2ffffff memory:800000000-80fffffff memory:c0000000-c1ffffff

This GPU has no physical output plug. What I'm trying to do is install sunshine(game streaming server) and play steam games via moonlight(game streaming client) on my TV. However the output, and the games being ran, are using that Virtio GPU, not the NVIDIA GPU. Is there a way to connect that Virtio GPU to that M10 passthrough? Or another way to get the games and sunshine to use the Tesla GPU?
 
Last edited:
I'm trying to do something similar. I have consumer GPUs and accelerator cards in my nodes, and so far almost there, but getting issues. See my recent posts:

https://forum.proxmox.com/threads/trying-proxmox-with-sunshine.125200/#post-545975

Only had things (nearly) working on cards with physical output so far. Seems like Sunshine won't work unless it can detect a monitor when running on Windows guests. Linux guests can work, but I've only tried to stream to the Proxmox host so far. Not really interested at this stage in streaming Linux, although would make a great substitute for VNC.

There's one avenue we can look at. I've seen reports there was a virtual monitor driver floating around. I found this, and assume it's it:

https://github.com/ge9/IddSampleDriver/releases/tag/0.0.1.2

See here for a bit of a walk through on how you're supposed to use it:

https://www.reddit.com/r/VFIO/comments/wj6zhz/gpu_passthrough_looking_glass_no_external/

I think without this kind of thing working, we're a bit stuck with cards with no video out port, but happy to be proved wrong. I just had a first attempt, but I think I've messed it up because the driver was showing as working, then not. More playing needed.

This issue report might hold some clues for you:

https://github.com/LizardByte/Sunshine/issues/844

Let me know how you get on, and I'll do the same
 
Last edited:

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!