| 3 Jan 2024 |
K900 | It's not switching anything at all | 10:38:15 |
K900 | What I'm saying is you can set up Windows with the default virtualized display output, then add a GPU | 10:38:44 |
K900 | And then you can add looking glass | 10:38:52 |
crushing-smite | so looking glass is an addition to a GPU passthrough? | 10:39:19 |
K900 | Yes | 10:39:23 |
K900 | It's basically just a faster way to get frames from the VM to the host | 10:39:52 |
crushing-smite | which in the end will make VM be treated as it is a full fledged host plugged via a VGA port to some screen? | 10:40:10 |
K900 | "Treated" by what? | 10:40:31 |
crushing-smite | from the enduser standpoint | 10:40:41 |
K900 | Not really | 10:40:57 |
K900 | The whole point of Looking Glass is that it works like a normal VM | 10:41:09 |
K900 | With a separate window and passed through input and such | 10:41:24 |
K900 | But it's rendering on a passed-through GPU | 10:41:35 |
crushing-smite | why can't it be achieved solely via the means of KVM? | 10:42:07 |
K900 | Because there's no standard way to get the rendered image from the VM to the host | 10:43:06 |
K900 | That's really all Looking Glass does | 10:43:16 |
crushing-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 | It's basically recording the screen in the VM and piping the video to the host | 10:43:34 |
crushing-smite | basically, there are shenanigans like spice-vnc, right? | 10:43:50 |
K900 | Yes, but those are slow | 10:44:04 |
K900 | Because they rely on the virtualized GPU | 10:44:14 |
crushing-smite | what makes looking glass fats in comparison to? | 10:44:33 |
K900 | It's fine for simple workloads but not for games | 10:44:35 |
K900 | Looking Glass by itself isn't rendering anything | 10:44:52 |
K900 | Windows is rendering to the passed-through GPU | 10:45:05 |
K900 | And Looking Glass is recording that and piping it to the host so you can see the output in a window | 10:45:32 |
K900 | Instead of switching the input on your display | 10:45:40 |
K900 | Or using a second display or whatever | 10:45:46 |
crushing-smite | So, 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 | No | 10:46:05 |