So, I'm struggling a bit with my Linux-based GUI OS VMs, even with GPU acceleration via VirGL. In particular, I'm looking for low latency input (c.f., pressing a key and waiting seconds to see a response in the OS), low latency audio (I'm working with software defined radio right now, and need to be able to hear what's actually happening when it's happening, without distortion), and enough GPU acceleration that 80 percent of my CPU isn't trying to draw the GUI.
All I've got is a Ryzen 5900HX with iGPU, and until I can figure out how to do the sorcery that lets you actually PCIe passthrough one of those (there's a thread here where it's Mostly Working®), I'm using VirGL to take a slice of it. It works well enough, but I think it'd work better if I could give the VM more than 512 MB of VRAM. Separate issue.
The Proxmox node has a 2.5GbE LAN connection, and my client machine's got a 10GbE LAN connection, so I shouldn't be having network issues.
So, right now, I'm using VirGL (512 MB) + SPICE. VirGL's managing to take my CPU load down to something reasonable, and SPICE is getting me audio, but my biggest issue is still UI latency. It goes from "annoying" to "completely unusable" depending on what I'm doing. I can't even use the terminal most of the time. I was using the i440fx machine type and have since switched to q35, but in the event that doesn't fix it, I'm interested in what other people have had good success with. I'm looking for a solution I can standardize on in my prebuilt linux VMs (This one is a prebuilt Ubuntu Focal-based VM set up for SDR tasks).
I've tried xRDP. Great, low UI latency using Microsoft's Remote Desktop client on a Mac. Absolutely no audio passthrough. This is a known issue on Ubuntus of a certain age. I tried to install a custom version of xRDP with audio passthrough enabled--it got me working audio, but it was crackly and lagged and I couldn't figure out how to fix it, as the Mac Microsoft RDP client doesn't expose any performance settings that I could find.
NoMachine might work, if it'll recognize the SPICE audio driver as a sound device and pass through. I'm still testing that one. But even it wasn't as low latency on input as i would like.
I haven't tested Midnight yet, but if it works I think it might be the way to go, since it's meant for gaming and I'd not be pushing as hard as that.
I'd also like to use Batocera or RetroPie in a VM at some point, which is never going to happen if I can't get something like DragonOS working usably.
So, question: what does everyone else use to get low latency UI + audio?
Handicap: "Get a server with an actual dedicated GPU" is not an option. Yet.
All I've got is a Ryzen 5900HX with iGPU, and until I can figure out how to do the sorcery that lets you actually PCIe passthrough one of those (there's a thread here where it's Mostly Working®), I'm using VirGL to take a slice of it. It works well enough, but I think it'd work better if I could give the VM more than 512 MB of VRAM. Separate issue.
The Proxmox node has a 2.5GbE LAN connection, and my client machine's got a 10GbE LAN connection, so I shouldn't be having network issues.
So, right now, I'm using VirGL (512 MB) + SPICE. VirGL's managing to take my CPU load down to something reasonable, and SPICE is getting me audio, but my biggest issue is still UI latency. It goes from "annoying" to "completely unusable" depending on what I'm doing. I can't even use the terminal most of the time. I was using the i440fx machine type and have since switched to q35, but in the event that doesn't fix it, I'm interested in what other people have had good success with. I'm looking for a solution I can standardize on in my prebuilt linux VMs (This one is a prebuilt Ubuntu Focal-based VM set up for SDR tasks).
I've tried xRDP. Great, low UI latency using Microsoft's Remote Desktop client on a Mac. Absolutely no audio passthrough. This is a known issue on Ubuntus of a certain age. I tried to install a custom version of xRDP with audio passthrough enabled--it got me working audio, but it was crackly and lagged and I couldn't figure out how to fix it, as the Mac Microsoft RDP client doesn't expose any performance settings that I could find.
NoMachine might work, if it'll recognize the SPICE audio driver as a sound device and pass through. I'm still testing that one. But even it wasn't as low latency on input as i would like.
I haven't tested Midnight yet, but if it works I think it might be the way to go, since it's meant for gaming and I'd not be pushing as hard as that.
I'd also like to use Batocera or RetroPie in a VM at some point, which is never going to happen if I can't get something like DragonOS working usably.
So, question: what does everyone else use to get low latency UI + audio?
Handicap: "Get a server with an actual dedicated GPU" is not an option. Yet.