News for hackers. Stuff that matters.
Re:The Windows Subsystem for Linux is now open source by yndoendo on Monday May 19, 2025 @03:04PM (#44033552)
My development is mainly Windows and I prefer Linux host with Windows VM guests. The experience is more stable and I can revert to a snapshot when Windows or Microsoft product update brakes something or new test configuration does. It also allows to backup and retain multiple QA environments that are rarely used, like a client's Oracle DB. It is nice being able to save the VM state at the end of the week and shut it all down so you can start the next right where you left off. Cannot do that when your development environment is the bare metal OS. Windows has known issues of waking a sleeping laptop.
Re:The Windows Subsystem for Linux is now open source by nix0n on Monday May 19, 2025 @04:12PM (#44034283)
> My development is mainly Windows and I prefer Linux host with Windows VM guests

I've tried this in the past but I was unable to get the debugger to work from within a VM.

Has this improved, or is there a trick, or are you just going without a debugger?

Re:The Windows Subsystem for Linux is now open source by wpm on Monday May 19, 2025 @03:54PM (#44034103)
> Windows has known issues of waking a sleeping laptop.

Doesn't Linux as well?

Re:The Windows Subsystem for Linux is now open source by edoceo on Monday May 19, 2025 @04:01PM (#44034174)
I'm on Lenovo Yoga 6, Gentoo, 6.12 kernel, 4.20 Xfce. Sleeps works perfect. Same on my Asus+AMD desktop. I've not had sleep related issues for years. And last time I did, it was an out-of-tree Wifi driver causing the whole mess.
Re:The Windows Subsystem for Linux is now open source by nevi-me on Monday May 19, 2025 @04:36PM (#44034552)
I'm on Ubuntu 25.04, 128GB RAM, pcie 5 SSD, NVIDIA 5080, 9950X3D.

I discovered over the weekend that only 1 monitor works over HDMI, DisplayPort not working, tried different drivers. Suspend takes a good 5 minutes, and on resume, the UI is either turn or things barely display.

I might buy a Windows license, especially if I can't get multi-screen to work.

Re:The Windows Subsystem for Linux is now open source by spookie on Monday May 19, 2025 @07:15PM (#44035990)
Be pragmatic, use the binaries provided by nvidia and not the ones provided by Ubuntu.

Or use Suse, only distro that manages that well. Forget PopOS. Really, either binaries or Suse.

If someone else here is entrenched on Arch, do this: https://github.com/Frogging-Family/nvidia-all

If on Fedora, just use the binaries... trust me.

Hope this helps someone.

Re:The Windows Subsystem for Linux is now open source by skrtskrt on Monday May 19, 2025 @05:30PM (#44035103)
In my experience Ubuntu has the worst issues with displays of any distro.

To be fair I stay away from NVIDIA to, I would probably run a separate headless box for those GPU workloads if I needed to

Re:The Windows Subsystem for Linux is now open source by MoreQARespect on Monday May 19, 2025 @05:37PM (#44035161)
Yeah, Ubuntu used to be the distro that "just worked" while nowadays that crown has passed to Fedora.
Re:The Windows Subsystem for Linux is now open source by selfhoster on Monday May 19, 2025 @06:07PM (#44035437)
> In my experience Ubuntu has the worst issues with displays of any distro.

In my experience, it has zero issues. I use nvidia binary build. I have since 2006 through various nvidia GPU's.

Re:The Windows Subsystem for Linux is now open source by tgma on Monday May 19, 2025 @05:03PM (#44034832)
Install Pop_OS! for better OOTB NVIDIA support.
Re:The Windows Subsystem for Linux is now open source by roomey on Monday May 19, 2025 @04:52PM (#44034736)
Try a lower version of the Nvidia driver. The newer version was causing me and folk I work with a lot of problems.
Re:The Windows Subsystem for Linux is now open source by aerophilic on Monday May 19, 2025 @05:17PM (#44034953)
This has been a pain point for us and our development process… not all versions of Nvidia drivers are the same… even released ones. You have to find a “good” version and keep to it, and then selectively upgrade… at least this has been the case the last 5 years, folks shout out if they have had different experiences.

Side note: our main use case is using cuda for image processing.

Re:The Windows Subsystem for Linux is now open source by tomalbrc on Monday May 19, 2025 @04:55PM (#44034762)
Make sure your device is compatible with WSL this way, its very fragile and prone to breaking
Re:The Windows Subsystem for Linux is now open source by wpm on Tuesday May 20, 2025 @10:56AM (#44042354)
Ahhh, the famous "Works on my machine!" stamp of truth.
Re:The Windows Subsystem for Linux is now open source by jchw on Tuesday May 20, 2025 @11:39AM (#44042841)
"Works on my machine!" is stupid when it comes to software running under an OS, because a userland program that is correct shouldn't work any differently from box to box. (Exceptions you already know notwithstanding.) It is very different when it comes to an operating system.

I know people here hate this, but if you want a good Linux experience, you need to start by picking the right hardware. Hardware support is far and away the number one issue with having a good Linux experience anymore. It's, unfortunately, very possible to even set out to pick good hardware and get burnt for various reasons, like people misrepresenting how well a given device works, or perhaps just simply very similar SKUs having vastly different hardware/support. Still, i'm not saying you have to buy something from a vendor like System76 that specifically caters to Linux. You could also choose a machine that just happens to have good Linux support by happenstance, or a vendor that explicitly supports Linux as an option. I'm running a Framework Laptop 16 and it works just fine, no sleep issues. As far as I know, the sole errata that exists for this laptop is... Panel Self Refresh is broken in the AMDGPU driver. It sorta works, but it's a bit buggy, causing occasional screen artifacts. NixOS with nixos-hardware disables it for me using the kernel cmdline argument amdgpu.dcdebugmask=0x10. That's about it. The fingerprint reader is a little fidgety, and Linux could do a better job at laptop audio out of the box, but generally speaking the hardware works day in and day out. It's not held together with ducktape.

I don't usually bother checking to see if a given motherboard will work under Linux before buying it, since desktop motherboards tend to be much better about actually running Linux well. For laptops, Arch wiki often has useful information for a given laptop. For example, here's the Arch wiki regarding the Framework 16:

https://wiki.archlinux.org/title/Framework_Laptop_16

It's fair to blame Linux for the faults it actually has, which are definitely numerous. But let's be fair here, if you just pick a given random device, there is a good chance it will have some issues.

Re:The Windows Subsystem for Linux is now open source by SweetSoftPillow on Monday May 19, 2025 @05:05PM (#44034853)
I had these issues with Windows, but with Linux Mint it works perfectly.
Re:The Windows Subsystem for Linux is now open source by hoppp on Monday May 19, 2025 @05:18PM (#44034964)
I recall having a sleep issue with linux 15 years ago, I think its been fixed long ago, except maybe on some very new hardware or if you install the wrong linux on an M series Mac you could have issues with sleep.
Re:The Windows Subsystem for Linux is now open source by trelane on Monday May 19, 2025 @06:35PM (#44035691)
Not of you don't buy Windows hardware and slap Linux on it.

Unfortunately, most (almost all) hardware is Windows hardware. So far, System76 is the only one that I've had actually work.

Re:The Windows Subsystem for Linux is now open source by mac-attack on Monday May 19, 2025 @08:16PM (#44036413)
I am running ChromeOS with Debian 'slapped on it' and that also experience sleep related issues.

Big fan of Linux, but saying that Linux works on system76 while they have a tiny sliver of the Linux market share seems like a nonstarter.

Re:The Windows Subsystem for Linux is now open source by trelane on Monday May 19, 2025 @09:11PM (#44036748)
Turns out you get what you pay for.

You can either get hardware that works or you can deal with breakage.

Re:The Windows Subsystem for Linux is now open source by AlotOfReading on Monday May 19, 2025 @11:55PM (#44037643)
ChromeOS, where sleep presumably worked, is also Linux. You just exchanged a working Linux for a distro with more bugs. The fact that you're able to do that is pretty cool.

That's not to detract from the larger point here though. It's pretty funny that all of the replies in this thread identify different causes and suggest different fixes for the same symptom. Matches my experience learning Linux very well.

Re:The Windows Subsystem for Linux is now open source by umvi on Monday May 19, 2025 @06:51PM (#44035774)
System76 seems janky though if you use anything but PopOS
Re:The Windows Subsystem for Linux is now open source by trelane on Monday May 19, 2025 @07:28PM (#44036102)
I run Gentoo on all but one of my system76 boxen, and have not seen any jank
Re:The Windows Subsystem for Linux is now open source by LeFantome on Monday May 19, 2025 @09:22PM (#44036807)
I have Linux on MacBooks from 6 different years. They all work flawlessly. I also have a Lenovo that works well.

Sorry you have had such bad luck.

Re:The Windows Subsystem for Linux is now open source by surajrmal on Monday May 19, 2025 @09:43PM (#44036941)
The less coupled software is to hardware, the less likely it is tested in that hardware and the higher likelihood of bugs. Linux can run fine but arbitrary Linux distros may not. This is not the fault of hardware makers.
Re:The Windows Subsystem for Linux is now open source by worthless-trash on Monday May 19, 2025 @11:56PM (#44037647)
Tell me how its not their fault ?
Re:The Windows Subsystem for Linux is now open source by surajrmal on Tuesday May 20, 2025 @05:14AM (#44039470)
Hardware support is more than just kernel support. Additionally, not every kernel release works well for every piece of hardware. Each distro is unique and ensuring the correct software is used together to support the hardware can be difficult when you are not involved in the distro. This is why vertical integration between the distro and hardware leads to higher quality.
Re:The Windows Subsystem for Linux is now open source by trelane on Tuesday May 20, 2025 @09:01AM (#44041095)
Firmware also plays a huge role these days (fan curves, ACPI, power management, etc.)

But saying it can vary largely by distro is overstating it by a lot. Mostly, distro issues are going to be based on how old their kernels are.

But definitely, modern hardware is much too complex to just slap Linux on Windows (and vice versa).

Re:The Windows Subsystem for Linux is now open source by trelane on Tuesday May 20, 2025 @08:50AM (#44040998)
> The less coupled software is to hardware, the less likely it is tested in that hardware and the higher likelihood of bugs.

Yes, exactly! There are whole teams inside Dell etc. dealing with this. The term is "system integration." If you're doing this on your own, without support or chip unfo, you are going to (potentially) have a very, very bad time.

> This is not the fault of hardware makers.

It is if they ship Linux on their hardware.

This is why you have to buy a computer that was built for Linux, that ships with Linux, and with support that you can call.

Re:The Windows Subsystem for Linux is now open source by spookie on Monday May 19, 2025 @07:04PM (#44035888)
You can force it to behave on Linux ;)
Re:The Windows Subsystem for Linux is now open source by dv_dt on Monday May 19, 2025 @03:10PM (#44033613)
I too think it would be definitely more stable Linux Host with Win VM guests, but I can see the other way around being more convenient to get support for commercially. Though with the VMWare licensing changes, I think what is by default easier for commercial support options may be changing too.
Re:The Windows Subsystem for Linux is now open source by kristianp on Monday May 19, 2025 @07:15PM (#44035989)
Can you share more details of how you make that work well? What hypervisor, what backup/replication, for instance? I can only imagine that being a world of irritation.
Re:The Windows Subsystem for Linux is now open source by danielheath on Monday May 19, 2025 @08:28PM (#44036493)
It's been a few years since I used it, but Virtualbox (free) had perfectly good suspend/restore functionality, and the suspended VM state was just a file.
Re:The Windows Subsystem for Linux is now open source by worthless-trash on Monday May 19, 2025 @11:55PM (#44037640)
I use virt-manager and suspend/restore for the same feature, doesn't using an oracle product (with all the side-effects that brings).
Re:The Windows Subsystem for Linux is now open source by op00to on Monday May 19, 2025 @10:20PM (#44037157)
I use libvirt/kvm/qemu. It works fine to do all the things mentioned like snapshots.