!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

699 Members
Gaming things, my hands are typing words.181 Servers

Load older messages


SenderMessageTime
3 Jan 2024
@k900:0upti.meK900Not really10:40:57
@k900:0upti.meK900The whole point of Looking Glass is that it works like a normal VM10:41:09
@k900:0upti.meK900With a separate window and passed through input and such 10:41:24
@k900:0upti.meK900But it's rendering on a passed-through GPU10:41:35
@crushing-smite:matrix.orgcrushing-smitewhy can't it be achieved solely via the means of KVM?10:42:07
@k900:0upti.meK900Because there's no standard way to get the rendered image from the VM to the host 10:43:06
@k900:0upti.meK900That's really all Looking Glass does10:43:16
@crushing-smite:matrix.orgcrushing-smite
In reply to @k900:0upti.me
Because there's no standard way to get the rendered image from the VM to the host
could you elaborate more?
10:43:32
@k900:0upti.meK900It's basically recording the screen in the VM and piping the video to the host 10:43:34
@crushing-smite:matrix.orgcrushing-smitebasically, there are shenanigans like spice-vnc, right?10:43:50
@k900:0upti.meK900Yes, but those are slow10:44:04
@k900:0upti.meK900Because they rely on the virtualized GPU 10:44:14
@crushing-smite:matrix.orgcrushing-smitewhat makes looking glass fats in comparison to?10:44:33
@k900:0upti.meK900It's fine for simple workloads but not for games 10:44:35
@k900:0upti.meK900Looking Glass by itself isn't rendering anything 10:44:52
@k900:0upti.meK900Windows is rendering to the passed-through GPU10:45:05
@k900:0upti.meK900And Looking Glass is recording that and piping it to the host so you can see the output in a window 10:45:32
@k900:0upti.meK900Instead of switching the input on your display 10:45:40
@k900:0upti.meK900Or using a second display or whatever 10:45:46
@crushing-smite:matrix.orgcrushing-smiteSo, looking glass is fast because it has direct memory access to GPU, while stuff like spice-vnc has to wait while rendered stuff gets back to guest, and then it plugs into the videostream?10:45:56
@k900:0upti.meK900No 10:46:05
@k900:0upti.meK900SPICE doesn't use your real GPU at all 10:46:15
@crushing-smite:matrix.orgcrushing-smiteI mean, if there is a GPU involved, otherwise, it's just a vnc client10:46:35
@crushing-smite:matrix.orgcrushing-smite * I mean, if there is a GPU involved, regardless of, it's just a vnc client10:46:44
@crushing-smite:matrix.orgcrushing-smiteas if I was streaming over the net10:47:04
@k900:0upti.meK900No, if you pass through a GPU, you'll get no output on SPICE10:47:08
@crushing-smite:matrix.orgcrushing-smiteso, a defficiency of a protocol10:47:10
@k900:0upti.meK900You'll only get output on the monitor connected to the GPU10:47:26
@crushing-smite:matrix.orgcrushing-smitehow did people get image from gpu passthrough in the days before looking glass?10:48:05
@k900:0upti.meK900Because SPICE only works with the virtualized QEMU GPU 10:48:09

Show newer messages


Back to Room ListRoom Version: 6