Live data from Hacker News

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

looking-glass.io

231–240 of 312 posts

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

#231

Earlier quoted context omitted.

But distrusting the client doesn’t solve the problem. If a user can see through a wall locally how can ‘distrusting’ anything fix that? What is there to distrust? All inputs are genuine.

> If a user can see through a wall locally how can ‘distrusting’ anything fix that? The fact that the client can remove the wall and see something behind it is due to the fact that the client is trusted to do the hiding. An untrusted client would not receive the enemy position until the enemy is visible. This, however, comes with the drawback that the server needs to do the culling - That's why pretty much nobody doe…

Right it’s not a realistic suggestion as not even the client does it in software!

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

#232

Earlier quoted context omitted.

But distrusting the client doesn’t solve the problem. If a user can see through a wall locally how can ‘distrusting’ anything fix that? What is there to distrust? All inputs are genuine.

Then the server should never send them information on what's behind the wall.

In Counter-strike there are footstep sounds with spatial audio. How can the server not send that info to me in a way that won't reveal the player's direction? hearing players coming before you see them is a huge part of the game.

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

#233
post #157

Earlier quoted context omitted.

Really, is that why Tarkov drops me when I try to start a match? At least CS:GO told me their anti-cheat hated my setup (Windows 10 in a Xenserver VM) and I was able to get a refund.

Doesn’t CS:GO run on Linux? I exclusively play dota 2 on Linux and it performs better than in Windows imo.

it does, but you can only play matchmaking AFAIK, ESEA and FaceIT don't support linux for their anti-cheats.

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

#235
post #211
post #194

Earlier quoted context omitted.

It makes sense for almost every user and developer, due to better graphics support from GPU vendors and from Microsoft for Windows.

Well of course, but that's only popularity and inertia. There's no technical reason to prefer Windows over Linux as a gaming platform. Edit: oh, I just rephrased grandparent comment, sorry.

Better technical support of GPU vendors for games isn't a technical reason?

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

#236
post #228

Sorry to ask, but I'm still using win10 as I could switch to linux if I wanted. Except gaming I personally don't see what prevents me from being "linux first". I'm just using windows 10 by habit and laziness. What is your experience? What makes you still need windows? It's weird because there are so many software alternatives that run on linux and also many initiatives that allow one to be run on linux via emulators…

I use Windows as my prior OS for work, even though much of work ends up happening through a Linux command line (WSL/ssh)

For both work and casual use, there's a lot of small things that add up to it being very productive, and despite regularly giving the linux desktop a chance, I always gravitate back to Windows (and recently MacOS as well).

I feel like most of the QoL features I enjoy are mostly invisible so its hard to remember them unless I'm actually experimenting with the Linux desktop. Here's some that do come to mind though.

- Windows supports right-click and drag with context menus. For multi directory file manipulation, this shortcut is shockingly useful. While much file manipulation can be faster on the CLI, certain operations like this are incredibly efficient.

- Binary blobs are really convenient compared to package managers/source building for my daily driver stuff. I have decade old games that just work, and I've never had to deal with version incompatibilities for my tooling, unlike in my Linux environments.

- Common actions like sleep/wake just seem to work better.

- Microsoft Office is really nice.

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

#237

Earlier quoted context omitted.

I wrote this another comment, but instead of getting too much into an arms race, studios should invest more on server-side anti-cheat mechanisms. You could correlate community feedback and some machine learning, while also picking easy-to-catch impossible actions.

> instead of getting too much into an arms race, studios should invest more on server-side anti-cheat mechanisms End offline AAA gaming?

Offline games do not use or need "anti cheat".

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

#238
post #235
post #211

Earlier quoted context omitted.

Well of course, but that's only popularity and inertia. There's no technical reason to prefer Windows over Linux as a gaming platform. Edit: oh, I just rephrased grandparent comment, sorry.

Better technical support of GPU vendors for games isn't a technical reason?

No, that's logistics. Logistics is relatively easy to change.

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

#239
post #154

I run a VFIO setup with a single GPU - the linux host is headless, and Windows runs on top with the GPU. Its pretty awesome. Windows runs at native performance - no problem gaming or running other heavy workloads. The linux host acts as a devbox and runs a few other homeserver style services. It's difficult to set up right but it taught me a lot about VMs and hardware. Once you get it setup well enough, its relativel…

I use a vfio setup as well but with two GPUs (one integrated, one dedicated) and hotswap the dedicated GPU between the two whenever I’m playing games (I play on both Linux and Windows).

Is it possible to switch the GPU while the host is running, that is without rebooting?

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

#240
post #22

Earlier quoted context omitted.

It's too limiting, if you're doing the whole VFIO thing in the first place you don't really want to limit yourself to just Windows in a specific configuration. You want to have an ability to run any OS you can and pass your hardware to it. I wouldn't recommend VFIO just for gaming, there are better options.

What exactly is limiting about it? I use it on a daily basis in order to flip between high performance Linux and high performance Windows instantly with the flick of a hotkey. I use it for gaming, software dev, and just in general it's nice to be able to switch OSs for any reason instantly. What better options are there?

I'm not familiar with VFIO and Looking glass and last time I used a VM was years ago. Could you explain how exactly did the 'flip between high performance Linux and high performance Windows instantly with the flick of a hotkey' actually work? What GPU setup did you have? Was the 'high performance Linux' in your case the host OS, or was it rather just another VM?
Post reply on HN