HNHacker News
TopNewBestAskShowJobs

gnif

177 karma · joined July 18, 2021

submissionscomments
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Looking Glass is lossless, so provided you can do your color calibration under Linux then it would work fine.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
No, it's not. evdev forces you to have your keyboard/mouse either fully captured or not, which is a pain if you're just working with a productivity suite. With LG's SPICE client input is sent to the VM via the same channel that evdev does, but also gives greater control allowing us to keep the cursor in sync with the local cursor, making the VM feel as if it's just another application on your desktop.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Indeed, AV vendors flag LG because the windows executable we host:

  1) It's not a signed executable (FOSS project, signing is a PITA without corporate sponsorship)
  2) Microsoft Defender flagged the exe for wanting admin privs
  3) Google were dumb and flagged us because MS did
  4) All other AV vendors flagged us because google flagged our website.
We had to put the exe into a password protected zip to stop Google flagging us as we couldn't convince the idiots (robots) there that it was a FOSS project with all sources available for review.

Feel free to help us out and report the false positive to your AV vendors! :)

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Yup, this is a good option too, makes it easy to debug/diagnose when things go wrong with the guest VM too.

Just note that not all multi-input monitors are equal though, a small minority appear to the GPU as unplugged when the input selection is changed.

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Haha, yeah, it's why I like this handle, it's very rarely used anywhere.

As for support, I do encourage people to join the Discord or head on over to the L1Techs forums as I won't really be monitoring this very closely.

Edit: I mean I am at the moment because I am super stoked to make #1 on HN :D

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Pretty much, lots of factors that are hardware dependent, such as how your motherboard assigns IOMMU groups come into play.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
CS:GO works fine in a libvirt/KVM VM last I checked. As for Tarkov, see: https://mobile.twitter.com/TheBattlEye/status/12890276721867...

Note that the game vendor selects what features they want to apply to their titles that are available. BattlEye allows you to stop people using VMs, if the game vendor opts in to this stupid feature.

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Yes, this works for many laptops but it depends on how the laptop is internally wired. We have many members that use their iGPU for Linux, and the dGPU for the VM.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Because some cheats use a VM environment to hide from detection as they can act on the VM from outside of it.

The solution though is not to ban VMs, but to push vendors like AMD and Intel to enable access to, and enforce usage of technologies like SEV if running inside a VM.

https://www.kernel.org/doc/html/v5.6/virt/kvm/amd-memory-enc...

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
"Almost" is the key word here, under a VFIO VM, it's 100% flawless.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
The GPU is given to the guest, so the guest is driving the GPU directly making it a headless host.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Likely setting the NVidia drivers to use MSI (Message Signalled Interrupts)
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
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.

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Yes, unfortunately Valorant is one that blocks VM usage... not that it has helped them any.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Really? I see this all the time with my VM when I shutdown via LG.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
You're most welcome :)
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
No idea about doom, but Starcraft 2 works for me fine.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
You mean what's with the Holo display maker having the same name as us?

We were using and had the name before they announced their product. If you want to get really finicky, you can ask why we are using the same name as Sun's Looking Glass desktop environment.

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

    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!
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Just FYI, Looking Glass has been in development for over three years now, so it's not actually as late as you think :).

Also proton doesn't address the myriad of productivity applications that people still need windows for, such as Adobe products, or Autocad, etc.

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
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.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Thanks mate, your support is appreciated.
gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
We have tried very hard to rectify this with the B4 release by adding a documentation project to the repository, which is available in HTML form here:

https://looking-glass.io/docs/stable/

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Note we also have a very active Discord where I try to be very active where most of the support and discussions happen.

https://discord.gg/52SMupxkvt

gnif··on Looking Glass: Run a Windows VM on Linux in a window with native performance
Yes, I am :)