News for hackers. Stuff that matters.
Re:The M1 MacBook Air is the best computer I've ever owned by bouk on Sunday January 10, 2021 @02:42PM (#25718763)
I hope you get to experience that! My worst computer recently has been a Thinkpad running Linux, basic things like suspending the laptop when it closes just never work properly.

But I'm sure the year of Linux on the desktop will come one day.

Re:The M1 MacBook Air is the best computer I've ever owned by Tistel on Sunday January 10, 2021 @03:11PM (#25719125)
I have been using Linux for a little over 20 years. I remarked a the start it did not sleep when it closed. My current laptop is also Linux and it still does not always sleep when I close it. I need to get up to speed on BSD or something.
Re:The M1 MacBook Air is the best computer I've ever owned by pletsch on Sunday January 10, 2021 @03:23PM (#25719244)
On Ubuntu:

sudo nano /etc/systemd/logind.conf

Looking for HandleLidSwitch, options are lock, hibernate, poweroff (might be more that I am unaware of)

Re:The M1 MacBook Air is the best computer I've ever owned by shaicoleman on Sunday January 10, 2021 @06:37PM (#25721663)
The biggest culprit for suspend issues are GPU drivers. Unfortunately, all the options suck.

Both nVidia and the AMD have buggy Linux drivers, especially regarding suspend issues.

After experiencing suspend issues with the closed-source nVidia drivers, I bought an all AMD laptop (Dell G5 SE), only to deal with even buggier open-source AMD drivers.

The Intel drivers just work, but Intel integrated GPUs are painfully slow, and using the integrated GPU makes the CPU run noticeably hotter.

That said, AMD drivers are getting more stable over time, and buying AMD is probably our best chance of improving the driver situation long-term.

Re:The M1 MacBook Air is the best computer I've ever owned by frazbin on Sunday January 10, 2021 @09:47PM (#25723735)
The linux desktop has mostly arrived-- it's just we all switched from desktops to laptops a while ago.
Re:The M1 MacBook Air is the best computer I've ever owned by fvv on Sunday January 10, 2021 @02:47PM (#25718831)
I'm not experienced with thinkpad but I do have some laptops and desktop and in all of those suspension and hibernation works, require swap but even with zfs raid over luks layer with zil on pcie mounted optane on old ubuntu 18.04 things worked.. but i agree that on some hardware linux sometimes need patience :( hope that will change.. but probably to change linux need more love from desktop users ..
Re:The M1 MacBook Air is the best computer I've ever owned by dghf on Sunday January 10, 2021 @03:55PM (#25719677)
What distro? I've run Arch Linux on a ThinkPad, and suspend-on-lid-close worked perfectly out of the box.
Re:The M1 MacBook Air is the best computer I've ever owned by dingaling on Sunday January 10, 2021 @03:03PM (#25719017)
Well at least on Linux someone has a chance at debugging the problem and devising a solution.
Re:The M1 MacBook Air is the best computer I've ever owned by davewritescode on Sunday January 10, 2021 @03:05PM (#25719044)
Technically you’re correct, your comment just begs the question: if it’s so easy to fix why hasn’t it been done?

The answer is probably because to make things like sleep on lid close work, you’re probably going to need to know more about the hardware than manufacturers are going to make public.

Re:The M1 MacBook Air is the best computer I've ever owned by pjmlp on Sunday January 10, 2021 @03:56PM (#25719687)
It won't get better than this,

https://docs.microsoft.com/en-us/windows/wsl/install-win10

https://chromeos.dev/en/linux

Unless the fragmented desktop communities finally decide what the whole stack should be like, for users and desktop developers.

Re:The M1 MacBook Air is the best computer I've ever owned by mhh__ on Sunday January 10, 2021 @04:15PM (#25719944)
> It won't get better than this,

Microsoft don't let you access perf_event, which immediately makes it useless for me for example.

It's not really fragmentation as much as there not being being a billion dollar company making the stack actually work in the first place - if Apple decided to rebase onto Linux for some reason there's nothing stopping them getting everything shipshape just that it takes a lot of time and money. The vast majority of Linux boxes distro's are probably pareto distributed so 20-80 to make up a random number. The stack isn't that sparse.

Re:The M1 MacBook Air is the best computer I've ever owned by bradknowles on Sunday January 10, 2021 @07:32PM (#25722369)
If Linux decided to switch to a different license, like say a BSD-style that would allow Apple to do the things they want to do commercially, then Apple might consider that option.

However, the probability that Linux will switch to a license that is sufficiently Apple-friendly is precisely as likely as Apple switching the core of their OS over to Linux.

In other words, approximately 0.00000000000000000000000000000000000%.

Re:The M1 MacBook Air is the best computer I've ever owned by mhh__ on Sunday January 10, 2021 @07:43PM (#25722511)
I said "for some reason" to indicate that Apple would never do this, not least because of NIH.
Re:The M1 MacBook Air is the best computer I've ever owned by pjmlp on Sunday January 10, 2021 @04:49PM (#25720352)
Apple will never bother again with GPL software, while Google would rather migrate everyone to Fuchsia if they could, IBM is focused on making Linux a good citizen for cloud and mainframe computing, Oracle just wants to make it run their database stack, so that leaves out Microsoft, in what concerns billion dollar companies that would care to do that.
Re:The M1 MacBook Air is the best computer I've ever owned by mhh__ on Sunday January 10, 2021 @04:59PM (#25720465)
That has nothing to do with what I said.
Re:The M1 MacBook Air is the best computer I've ever owned by pjmlp on Monday January 11, 2021 @12:36AM (#25724999)
Sure it has, Apple has no reason to adopt Linux on their consumer devices, in fact they are slowly moving away from POSIX, e.g. new networking stack.

And then I gave the list of the companies with very deep pockets that have any reason to ever bother having a Desktop Linux of some form.

Re:The M1 MacBook Air is the best computer I've ever owned by xirbeosbwo1234 on Sunday January 10, 2021 @02:55PM (#25718935)
Which Thinkpad and which distro? I've always found them reliable, but I've only used ones from about 2012 and have stuck with Ubuntu.