News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux GUI by JoshTriplett on Saturday September 11, 2021 @12:03AM (#28489341)
> • I run the external displays at 200% scaling and the internal at 300% to match the differing pixel density. I didn't see any way to support this configuration in Ubuntu, much less be able to move an app window between displays and have it automatically update its scaling factor to match the display. This works "out of the box" in Windows.

This works if you use Wayland rather than X11. I'm using a similar configuration today.

Re:Windows Subsystem for Linux GUI by Stratoscope on Saturday September 11, 2021 @12:10AM (#28489367)
That is good to know, thanks for the tip! I will definitely try that whenever I use Linux on the hardware in the future.
Re:Windows Subsystem for Linux GUI by sz4kerto on Saturday September 11, 2021 @02:58AM (#28489936)
However, the X1 Extreme has an Nvidia GPU.
Re:Windows Subsystem for Linux GUI by Jnr on Saturday September 11, 2021 @03:24AM (#28490048)
Since June Nvidia proprietary driver supports KMS and Wayland. So fractional scaling with Nvidia should work now.
Re:Windows Subsystem for Linux GUI by sz4kerto on Saturday September 11, 2021 @04:41AM (#28490402)
It kind of does, but ... it also doesn't.

I've been running {KDE, Gnome} on Wayland + KMS on a box with a GTX1080 for a few months, and

- it is really laggy (sometimes the mouse cursor is choppy)

- fractional scaling is practically unusable due to all kinds of important apps (e.g. Chrome) not supporting it and just blurring the screen instead of properly scaling

Overall I can't recommend it to non-enthusiasts, unfortunately.

Re:Windows Subsystem for Linux GUI by Jnr on Saturday September 11, 2021 @05:00AM (#28490486)
No lags for me with GTX 970. And I use Firefox, it has Wayland support.
Re:Windows Subsystem for Linux GUI by reissbaker on Saturday September 11, 2021 @05:31PM (#28496232)
"It works for me on very specific, ancient hardware, and also don't use <software you use>" isn't a great selling point for people who just want their machine to work and aren't bought into Linux On The Desktop as a philosophical ideal. That's why people use WSL2! Popular software works, popular hardware works, you can run Linux programs from the command line without installing and managing a separate VM yourself (yes, yes, it's virtualized under the hood by the OS, but you don't need to manage the VM yourself), and now you'll be able to run Linux GUI apps too.
Re:Windows Subsystem for Linux GUI by Jnr on Sunday September 12, 2021 @07:53AM (#28500344)
If you want a great Linux desktop experience, don’t buy Nvidia GPU’s. Intel and AMD has very good open source drivers, while Nvidia has only the proprietary ones and they are known to have all kinds of issues. There is a good reason Linus Torvalds said the famous words “fuck you Nvidia”.

And major problem that still persists with WSL is the NFTS mounts in Linux. At work we can’t have decent compile times on Windows because of the file system.

Re:Windows Subsystem for Linux GUI by reissbaker on Wednesday September 15, 2021 @04:44AM (#28536731)
WSL2 uses ext4, not NTFS. Just make sure the files live inside the WSL2 filesystem and not on the Windows host, and you're good to go.