←back to thread

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 8 comments | | HN request time: 1.028s | source | bottom
Show context
zymhan ◴[] No.11390932[source]
"Linux geeks can think of it sort of the inverse of "wine" -- Ubuntu binaries running natively in Windows. Microsoft calls it their "Windows Subsystem for Linux"."

I find it amazing that you can have such a functional Ubuntu environment by translating system calls. Microsoft does have the advantage of Linux being open-source I suppose, while the Wine project had to reverse engineer DLLs. Or have you supply them on your own.

replies(9): >>11391001 #>>11391011 #>>11391074 #>>11391084 #>>11391105 #>>11391166 #>>11391290 #>>11391798 #>>11391866 #
dec0dedab0de ◴[] No.11391074[source]
I would rather have the opposite. I would even pay for an official "Windows on Linux". There is a handful of games I would like to play, but other than that I have no interest in windows.
replies(4): >>11391181 #>>11391198 #>>11391351 #>>11392220 #
xienze ◴[] No.11391181[source]
Totally doable. Use KVM to virtualize Windows and (the important part) make sure your CPU and motherboard support VT-d. Then you can pass a graphics card (separate from the one you run Linux with, naturally) to the VM and get >95% of native performance. There's lots of videos of folks doing this.
replies(4): >>11391205 #>>11391210 #>>11391473 #>>11391500 #
wernercd ◴[] No.11391210[source]
That's still "VM" not "Native".

You aren't running them "side by side"... you are running them "One inside the other".

Not exactly an apple-to-apple comparison.

replies(3): >>11391235 #>>11391363 #>>11391437 #
xienze ◴[] No.11391235[source]
The performance hit is so negligible on modern hardware that the distinction doesn't really matter.
replies(3): >>11391346 #>>11391373 #>>11391476 #
1. kuschku ◴[] No.11391373[source]
Except, it does matter.

Not having a unified filesystem, not having a unified window manager, etc are quite some issues.

replies(2): >>11391395 #>>11391429 #
2. dllthomas ◴[] No.11391395[source]
Those are not meaningful issues for the stated use case of playing some handful of games.
replies(1): >>11391949 #
3. xienze ◴[] No.11391429[source]
As another posted pointed out, if you just want to bring up a VM for gaming, who cares?

Also, you can share directories between the native filesystem and the VM quite easily. And if you're using something like VirtualBox or VMWare there are "unity" windowing modes available.

replies(2): >>11391932 #>>11392670 #
4. kuschku ◴[] No.11391932[source]
> Also, you can share directories between the native filesystem and the VM quite easily. And if you're using something like VirtualBox or VMWare there are "unity" windowing modes available.

I tried them – they don’t work at all in KDE.

Arch linux host, KDE as DE, Windows 10 Guest, just leads to a big black box in unified mode, and windows don’t properly occur in the KDE taskbar.

What I expect is integration equal to WINE – automatically putting stored data into the correct folders, easily accessible and mounted, integrating windows with the taskbar, etc.

And yes, this is "just for games" – but try gaming on a multiscreen setup when the game doesn’t show up in your taskbar and you can’t minimize it.

replies(1): >>11392434 #
5. kuschku ◴[] No.11391949[source]
They are when you want to use the game on multiscreen setups, or if you want to backup the game’s save files manually.

Source: I use my VM only for gaming, and it’s a horrible experience.

6. xienze ◴[] No.11392434{3}[source]
Maybe it's a KDE problem? Other people certainly have been successful. But I guess that's par for the course in Linux -- lots of incompatibilities depending on how your environment is set up. Something like WINE is never gonna get there for running games as well as a VM can. So the options realistically are using a VM or reboot. The VM option is really pretty good all things considered.
replies(1): >>11392503 #
7. kuschku ◴[] No.11392503{4}[source]
That issue was with the VM in unified mode.

With WINE, everything works fine – but not with UPlay.

So I can run the game, via UPlay in the VM (but not unified mode), or I can pirate it and run it in WINE.

But unified mode, or paid in WINE, doesn’t work.

8. stcredzero ◴[] No.11392670[source]
As another posted pointed out, if you just want to bring up a VM for gaming, who cares?

Apple needs to do a utility that supports this as smoothly as Bootcamp supports multiple boot.