Live data from Hacker News

Looking Glass: Run a Windows VM on Linux in a window with native performance

looking-glass.io

81–90 of 312 posts

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#81

One thing that isn't clear from the website is that it requires two GPUs, one for the host and one for the VM.

Wouldn't be it possible to let Linux/Xorg give up GPU for a time Windows is used? Which could still let me access it via VNC from Windows. My native platform is Xubuntu on AMD Renoir laptop.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#82
post #71

Earlier quoted context omitted.

1. We are working on it 2. Not if it's a vGPU or a Quadro where EDID spoofing is allowed 3. No, we capture everything now, even the windows Login screen and windows updates, etc. 4. Yes 5. Very yes!

> 3. No, we capture everything now, even the windows Login screen and windows updates, etc. B3 and B4 both have pretty huge improvements here, but there are still a few rough corners. For example, when logging out the host shuts down immediately upon request, so you can't see the "program X is blocking shutdown" dialog. But ultimately this is a very minor papercut for a very impressive and useful project.

Really? I see this all the time with my VM when I shutdown via LG.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#83
post #64

Earlier quoted context omitted.

Which games do you play that require anti-cheat schemes? The last time I checked, many such games explicitly do not support running in VMs and you risk being banned by obfuscating that you are running the game in a guest OS.

Ive played PUBG, COD Warzone, Apex Legends, Quake Champions, maybe a few others. Of course it depends on the game but i think the perception of how many games don't work under VMs is a bit skewed. TBH every thread like this has the “but what about anti-cheat?” post which makes it seem like a big problem but i think only a tiny minority of games don’t work under VMs.

Thanks! That is more than I expected.

FWIW I tried to install Valorant in a VM recently (because I'm tired of installing the root-kit anti-cheat on my main PC in order to play it). It simply fails to launch the anti-cheat, and so doesn't launch the game.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#84

One thing that isn't clear from the website is that it requires two GPUs, one for the host and one for the VM.

What about machines with dual graphics cards, like one intel on board and another nvidia?

Would that be OK?

I ask because many laptops used to have similar setups.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#85
post #45

Reminds me of the time I'd use a patched ACPI table on my gaming VM to mock a battery for the NVIDIA driver (similar to [0]). The drivers checked and deliberately failed when a battery wasn't present in conjunction with a mobile GPU. Setting up looking glass itself wasn't much of a problem though. I got some AAA games cutting on my gentoo laptop like butter, though the mouse movement was more jelly unless I VFIOd my…

My windows boot is generally low maintenance, but a Windows update did introduce a stutter in all games once, so had to do a clean install (no restore point). Was annoying to troubleshoot. Windows is a mess. If only anti cheats worked on Linux.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#86

Earlier quoted context omitted.

Can you elaborate on the finickiness of it? What kind of "fixes" you needed to do, and how often really, and with a cause or just random with no precursors?

Everything about it is fickle. Motherboards and USB controllers present themselves different from maker to maker, and SKU to SKU. Any change in your hardware -- including plugging in something like a USB device -- sets off a chain of fighting the host OS and virtual machines for who gets to use that device, who gets to see that device at all, and the drivers needed for the hardware. No one is making user software wit…

Thanks for the detailed response.

I personally don't mind the semi-daily tinkering with my config, but if even plugging in a USB might break things then it does sound petty unreliable.

> I can sort of tell you haven't really read up on one of these setups because you seem incredulous that running Windows inside Linux is somehow finicky.

Ouf. You have a great imagination, but I think you'd do better to put it into writing fiction or something like that. I asked you to provide details on your comment, didn't make any statements on whether it is indeed finicky or not, I run many Windows vms on linux but never with VFIO. Your snide remarks reflect nothing more than your lack of self-esteem.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#87
post #83

Earlier quoted context omitted.

Ive played PUBG, COD Warzone, Apex Legends, Quake Champions, maybe a few others. Of course it depends on the game but i think the perception of how many games don't work under VMs is a bit skewed. TBH every thread like this has the “but what about anti-cheat?” post which makes it seem like a big problem but i think only a tiny minority of games don’t work under VMs.

Thanks! That is more than I expected. FWIW I tried to install Valorant in a VM recently (because I'm tired of installing the root-kit anti-cheat on my main PC in order to play it). It simply fails to launch the anti-cheat, and so doesn't launch the game.

Yes, unfortunately Valorant is one that blocks VM usage... not that it has helped them any.

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#89
post #67

Earlier quoted context omitted.

Most games work just fine, just a few odd ones that decided to block VMs don't such as Tarkov. Known to work without issue are titles such as * PUBG * Battlefield 1/3/4/5 * Titanfall 1&2 * Arma 3 * 7 Days to Die * Ark * Fortnite * Apex * Halo: The Master Chief Collection * Star Wars Squadrons And many many more.

The only games I play are Doom Eternal and Starcraft 2 — by chance do you know if those work or if there’s a list somewhere?

SC2 works almost perfectly under Wine/Proton.

Only issue is that a few custom maps crash, and there's a weird, minor performance issue at some point in the LOTV campaign menus (but not the game itself). Haven't had an issue in a ladder game in years. And I play SC2 a lot (too much).

Re: Looking Glass: Run a Windows VM on Linux in a window with native performance

#90
post #88

What would be the best solution (Performance wise) if one is only after running Photoshop + Office? Looking for a solution which is easy to install and configure.

If you want easy, this is not for you. Setting up LG first requires setting up a VFIO Virtual Machine.

As for how viable it is, very... we have many members in our community that are using LG for productivity applications. For performance, very close to bare metal. In applications like Photoshop and Office you wouldn't be able to tell the difference.

Post reply on HN