News for hackers. Stuff that matters.
Re:Unix legend Ken Thompson announces he's switching From ma... by qumpis on Sunday March 19, 2023 @10:01AM (#35218991)
It requires lots of manual control but from my experience I can match or exceed battery life in comparison to running windows, with some tweaking. Out of the box it was terrible as well.
Re:Unix legend Ken Thompson announces he's switching From ma... by garciasn on Sunday March 19, 2023 @10:12AM (#35219103)
And this continues to be why Linux suffers with the mass market.

I ran Linux solely from 1997 to 2004 on the desktop and switched back because it was such a pain in the ass to manage. Every time I go back, it just isn’t catching up to the mainstream OSs’ ability to manage without “futzing”.

My M2 currently lasts all day on the battery while spending half of it on conference calls and half of it writing code. Nothing can match that right now, but I am still hopeful for a Linux future.

Re:Unix legend Ken Thompson announces he's switching From ma... by bityard on Sunday March 19, 2023 @10:45AM (#35219444)
I get irrationally angry when people imply that Mac and Linux are somehow similar, or interchangeable.

They are not! Not even close!

I think this is where a lot of the negative opinion of Linux comes from, people lament some issue they have with their Mac and someone else will say, "oh you should try Linux, it's really good now." And so they do and are surprised to find that experience is vastly different.

Linux is a great choice for people who want the highest degree of control and freedom over how they interact with their computer. The trade-off is that sometimes you have to futz with it or report bugs.

If you view your computer strictly as a tool to let you get other things done, then you want Mac. All of the OS and UX decisions have been made for you and you get what you get, but you (should) never have to tinker with the system itself.

Re:Unix legend Ken Thompson announces he's switching From ma... by garciasn on Sunday March 19, 2023 @11:09AM (#35219747)
Fair enough; if you’re talking about random machines Linux light be installed on.

But! I believe System76 should ship their laptops with tools and/or settings and/or configs for other mainline distributions that maximize the experience on their hardware while allowing for the inherent customization Linux-based distributions.

I’d argue Sys76 is far closer to Apple than just installing Linux on a random machine.

Re:Unix legend Ken Thompson announces he's switching From ma... by ryandrake on Sunday March 19, 2023 @11:22AM (#35219866)
I disagree that it’s a trade-off. Linux could match Apple’s out of the box battery performance. It’s just that nobody seems to care about Linux’s “out of the box” default configuration because, well, the user can futz with it! Things are slowly getting better though. But we still don’t have that distribution where things are already futzed for you and everything runs as well as it can.
Re:Unix legend Ken Thompson announces he's switching From ma... by runjake on Sunday March 19, 2023 @11:35AM (#35220028)

  > It’s just that nobody seems to care about Linux’s “out of the box” default configuration
Define “out of the box” because with Linux there’s millions of hardware variations to deal with.

The only possible way this would work OOB is if the OEM or the community maintained OOB settings for each hardware variant.

Heck, I was recently shopping PC laptops and would see variations in CPU OEMs (AMD vs Intel) for the same model.

Re:Unix legend Ken Thompson announces he's switching From ma... by cess11 on Sunday March 19, 2023 @12:04PM (#35220324)
I use Linux because I don't want to futz with all the crap in MacOS and Windows. Takes maybe twenty minutes to install Debian and then I touch pretty much nothing for years, except maybe change apt channel if I want something updated faster.

Everyone I know that is stuck in big corporate OS spend more time than that every week fighting something their masters push on them.

Application install is a terminal command that's trivially easy to learn, there's no e-shop solution with ads and surveillance, and while I use i3wm I think most people would be about as comfortable in XFCE as in the MICROS~1 OS:es of yesteryears. You decide when to upgrade, there are no nagscreens or forced reboots.

At least for the last five years or so I've had no trouble with UEFI, WLAN or sound.

Re:Unix legend Ken Thompson announces he's switching From ma... by ccouzens on Sunday March 19, 2023 @12:19PM (#35220493)
I prefer Linux (fedora with gnome) because it needs less tinkering out the box.

It's the basic things like not having to install third party utilities to have window centric window management (as opposed to app centric window management). Or being able to plug my Android phone in and be able to browse the files without additional utilities.

Re:Unix legend Ken Thompson announces he's switching From ma... by acc_297 on Sunday March 19, 2023 @10:05AM (#35219040)
What did you adjust?
Re:Unix legend Ken Thompson announces he's switching From ma... by prophesi on Sunday March 19, 2023 @10:11AM (#35219090)
This is for the Framework laptop and not a System76 machine, but going through this lets my laptop last an entire day doing Android dev.

https://community.frame.work/t/guide-linux-battery-life-tuni...

Re:Unix legend Ken Thompson announces he's switching From ma... by MegaDeKay on Sunday March 19, 2023 @10:40AM (#35219386)
Has Framework made progress on battery drain while sleeping? I'm interesting in getting one but that sticks out as a big problem for me.
Re:Unix legend Ken Thompson announces he's switching From ma... by snapplebobapple on Sunday March 19, 2023 @10:19AM (#35219155)
Similar experience over here on one of the earlier 11th gen models and recently on a new 12th gen model as well (build quality feels a lot improved vs the early stuff too, fyi). People are still right to call BS on having to run any of this to get decent battery performance but it is possible to get if you jump through a few hoops. Next step for distros should really be sane defaults for this stuff and/or an option to tell the installer it's going on a laptop/non workstation desktop so that it gets sane defaults for the laptop based on efficiency per watt rather then the sane defaults for a server/workstation (max performance).
Re:Unix legend Ken Thompson announces he's switching From ma... by prophesi on Sunday March 19, 2023 @10:47AM (#35219470)
Yep, and another frustration with Fedora in particular are the defaults for DNF. I don't get why the distro doesn't set `/etc/dnf/dnf.conf` with `max_parallel_downloads=10` and `fastestmirror=True`. sudo dnf update is so much faster with that (though you still need to keep away from the GNOME software app).
Re:Unix legend Ken Thompson announces he's switching From ma... by snapplebobapple on Sunday March 19, 2023 @10:59AM (#35219631)
I havent really ised redhat based distros since redhat 5.4....If you want to go for a walk on the wild side try cachyos. It makes arch easy and has some nice defaults (atleast for kde, not sure about gnome, as i went kde them recently hyprland). It also has v3 and some v4 architecture compiled packages which are more performant on newer cpus. The pacman defaults are reasonable as well regarding parallel downloads.
Re:Unix legend Ken Thompson announces he's switching From ma... by kitsunesoba on Sunday March 19, 2023 @11:16AM (#35219806)
I can understand distributions not having optimal settings for every laptop under the sun, but it seems like a no-brainer to at least create a repository of power config profiles for different models that users can submit to, eventually creating a decent library that could then be integrated into the settings app or and first run wizard.
Re:Unix legend Ken Thompson announces he's switching From ma... by pongo1231 on Sunday March 19, 2023 @11:25AM (#35219893)
Whilst not strictly for power settings, NixOS has a repository where users can contribute general optimized settings for their hardware.

https://github.com/NixOS/nixos-hardware

Re:Unix legend Ken Thompson announces he's switching From ma... by prophesi on Sunday March 19, 2023 @03:12PM (#35222408)
Not sure why this is downvoted, that's awesome on NixOS's part.
Re:Unix legend Ken Thompson announces he's switching From ma... by Arnt on Sunday March 19, 2023 @10:16AM (#35219136)
It's not that simple.

Two of my last five laptops were macs, three linux boxes, if you consider corporate laptops as "mine". One of the three linux laptops just worked beautifully (wrt. battery and other driver issues), one didn't at all, and one worked poorly until I installed some software that shouldn't matter for battery lifetime, and since then it's had excellent battery management. There was a long list of dependencies, so I suspect that the software I installed depended on a package that solved whatever the problem was.

You may chance to buy hardware where someone really has tested and fixed linux. Or you may get something else.

FYI: The two good ones are some Huawei thing that weighs 1.3kg and a GPD P2 Max, a tiny toy, really portable, https://rant.gulbrandsen.priv.no/hardware/attovax

Re:Unix legend Ken Thompson announces he's switching From ma... by deaddodo on Sunday March 19, 2023 @10:10AM (#35219076)
This wiki article covers a lot of the big things:

https://wiki.ubuntu.com/Kernel/PowerManagement/PowerSavingTw...

But generally powertop is enough for a significant boost. For certain manufacturers (ASUS is a good example), you want to use their vendor specific tools to manage CPU/GPU powerbands.

Re:Unix legend Ken Thompson announces he's switching From ma... by justinzollars on Sunday March 19, 2023 @10:08AM (#35219061)
I'd love if you wrote a blog post. I didn't know where to start (but I guess we have ChatGPT now)
Re:Unix legend Ken Thompson announces he's switching From ma... by hollander on Sunday March 19, 2023 @10:52AM (#35219539)
But if ou bought a Linux laptop, it should come preconfigured with the optimal settings, with at least one or two distros like Ubuntu and Fedora, plus the settings described in a manual.