5 ms·
Each controller and subcomponent on the motherboard needs a driver that correctly puts it into low power and sleep states to get battery savings. Most of those
by izacus 10mo ago
Each controller and subcomponent on the motherboard needs a driver that correctly puts it into low power and sleep states to get battery savings.
Most of those components are proprietary and don't use the standard drivers available in Linux kernel.
So someone needs to go and reverse engineer them, upstream the drivers and pray that Apple doesn't change them in next revision (which they did) or the whole process needs to start again.
In other words: get an actually Linux supported laptop for Linux.
- Forgeties79 10mo ago>In other words: get an actually Linux supported laptop for Linux. For a lot of people the point is to extend the life of their already-purchased hardware.
- bigyabai 10mo ago1. Linux isn't a panacea for depreciated hardware, and it never will be. 2. If your priority is system lifespan, you are already using OEM macOS.
- Forgeties79 10mo agoNever said it was “panacea for depreciated hardware.” I’m saying it’s a common use case. Every thread about Linux inevitably someone says “it gave new life to my [older computer model].” We’ve all seen it countless times.
- Forgeties79 10mo agoAnd there it is: https://news.ycombinator.com/item?id=46387364 https://news.ycombinator.com/item?id=46387364
- bigyabai 10mo agoIt's a common use-case for x86 machines that implement UEFI. Taking the iPhone and iPad into account, it is a nonexistent use-case for mobile ARM chipset owners.
- Forgeties79 10mo ago>taking the iPhone and iPad into account This post is about the MacBook Air M2. The discussion has been about silicon MacBooks - laptops - from the start.
- swiftcoder 10mo agoI know you may have a particular axe to grind here, but Android devices are not a whole lot more likely to let you boot a vanilla linux distro. Apart from a handful of explicitly linux-compatible smartphones, the boot loaders tend to be pretty locked down, and the drivers all propietrary too
- yjftsjthsd-h 10mo ago1. I dunno about a panacea, but it's pretty great for old hardware. My 2011 desktop still runs Alpine Linux just fine. 2. By all means start with macOS, but eventually Apple will stop supporting your machine. And y'know what will still work and get updates then? Linux.
- bigyabai 10mo ago> but it's pretty great for old hardware Which old hardware? You're circling around to the grandparent's point again; Linux support is hardware dependent. > And y'know what will still work and get updates then? No, I don't. Depreciated iPads lay dead in piles, and they don't run Linux for shit. You want me to believe the M4 will graduate to the big leagues?
- kelnos 10mo agoThat's an admirable goal, but, depending on the hardware, it can run into that pesky thing called reality. It's getting very tiresome to hear complaints about things that don't work on Linux, only to find that they're trying to run it on hardware that's poorly supported, and that's something they could have figured out by doing a little research beforehand. Sometimes old hardware just isn't going to be well-supported by any OS. (Though, of course, with Linux, older hardware is more likely to be supported than bleeding-edge kit.)
- mystifyingpoi 10mo ago> It's getting very tiresome to hear complaints This is very true. I've been asked by lots of people "how do I start with Linux" and, despite being 99.9% Linux user for everything everyday, my advice was always: 1. Use VirtualBox. Seriously, it won't look cool, but it will 100% work after maybe 5 mins mucking around with installing guest additions. Also snapshots. Also no messing with WiFi drivers or graphics card drivers or such. 2. Get a used beaten down old Thinkpad that people on Reddit confirm to be working with Linux without any drivers. Then play there. If it breaks, reinstall. 3. If the above didn't make you yet disinterested, THEN dual boot. Also, if you don't care about GUI, then use the best blessing Microsoft ever created - WSL, and look no further.
- charcircuit 10mo agoWSL supports GUI apps now. They open up just like any other GUI app on Windows.
- mystifyingpoi 10mo agoI've tried this once for IntelliJ to work around slow WSL access for Git repos. Was greeted by missing fonts and broken scaling on the intro screen. Oops. But probably I was just unlucky, it might work well for most.
- opan 10mo agoI've never gotten along too well with virtualization, but would second the ThinkPad idea, or something similar. Old/cheap machine for tinkering is a good way to ease in, and I think bare metal feels more friendly. I'd probably recommend against dual booting, but I understand it's controversial. I like to equate it to having two computers, but having to fully power one off to do anything* on the other one. Torrents stop, music collection may be inaccessible depending on how you stored it, familiar programs may not be around anymore. I dual booted for a few years in the past and I found it miserable. People who expected me to reboot to play a game with them didn't seem to understand how big of an ask that really was. Eventually things boiled over and I took the Windows HDD out of that PC entirely. Much more peaceful. (Proton solves that particular issue these days also) That being said, I've had at least two friends who had a dual boot due to my influence (pushing GNU/Linux) who ended up with some sort of broken Windows install later on and were happy to already have Ubuntu as an emergency backup to keep the machine usable. *Too old might be a problem these days with major distros not having 32bit ISOs anymore
- happymellon 10mo agoLinux might work with your hardware, but it might not work well. If your vendor is hostile like Apple, it will be hard to make it keep on working.
- gf000 10mo agoIs apple really hostile, though? For the boot process, apple went out of its way to support booting alternative OSs without compromising on security. And mind you, most other laptops are no friends either. E.g. the often beloved ThinkPads have a bunch throttling issues on non-windows OSs.
- bigyabai 10mo ago> Is apple really hostile, though? Yes. The existence of a proprietary escape hatch is not evidence of goodwill. > ThinkPads have a bunch throttling issues on non-windows OSs. That is an ACPI issue. Intel Macbooks also exhibit this behavior on Linux and BSD, and it's not even close to how incomplete power management is on Asahi.
- happymellon 10mo agoWhataboutism doesn't make a vendor non-hostile.
- izacus 10mo agoNoone is doing that with ARM MacBooks.
- Forgeties79 10mo agoYet. Plenty of people have with Intel ones - I’m one of them. My first experience with Linux was on a 2016 MBpro. And inevitably people will do the same with the silicon Macs, likely using Asahi it seems. Why are some of y'all so hostile to this idea?
- bigyabai 10mo agoIt's not inevitable. That's not what that word means. Intel Macs supported Linux because they used Intel's Linux drivers and supported bog-standard UEFI. There are no preexisting drivers or DeviceTree files published by Apple for Linux. There is no UEFI implimentation, just a proprietary bootloader that can be updated post-hoc to deny booting into third-party OSes. > Why are some of y'all so hostile to this idea? I would love for Linux to support as many ARM devices as possible. Unfortunately, it requires continuous effort from the OEM to be viable. I've bought Qualcomm, Rockchip and Broadcom boards before, none of them have been supported for half as long as my x86 machines are. Nevermind how fast ARM architectures become obsolete. It feels like Apple is really the only hostile party here, and they coincidentally decide whether or not you get to use third-party OSes.
- Forgeties79 10mo agoIt is inevitable. I guarantee you there will be people who run Linux on their silicon Macs. I don’t know how you could possibly hold a stance that no one ever will. Apple is very hostile to it. It won’t stop everyone though. It’ll continue to be niche but it’s happening.
- bigyabai 10mo agoIt's not inevitable. It's fragile. Go boot up your old iPad; that should be well-studied, right? We ought to know how to boot into Linux on an ARM machine that old, it's only fair. Except, you can't. The bootloader is the same iBoot process that your Apple Silicon machine uses, with mitigations to prevent unsigned OSes or persistent coldboot. All the Cydia exploits in the world won't put Linux back on the menu for iPhone or iPad users. And the same thing could happen to your Mac with an OTA update. It is entirely possible for Apple to lock down the devices further. There's no guarantee they won't.
- ellieh 10mo ago> In other words: get an actually Linux supported laptop for Linux. 40% battery for 4hrs of real work is better than pretty much any linux supported laptop I've ever used
- nextos 10mo agoOne of my favorite machines was the MacBook Air 11 (2012). This was a pure Intel machine, except for a mediocre Broadcom wireless card. With a few udev rules, I squeezed out the same battery performance from Linux I got from OS X, down to a few minutes of advantage in favor of Linux. And all this despite Safari being a marvel of energy efficiency. The problem with Linux performance on laptops boils down to i) no energy tweaks by default and ii) poor device drivers due to the lack of manufacturer cooperation. If you pick a machine with well supported hardware and you are diligent with some udev rules, which are quite trivial to write thanks to powertop suggestions, performance can be very good. I am getting a bit more than 10 hours from a cheap ThinkPad E14 Gen7, with a 64 Wh battery, and light coding use. That's less than a MacBook Air, where I would be getting around 13-14 hours, but it's not bad at all. The difference comes mainly from the cheap screen that is more power consuming and ARMs superior efficiency when idling. But I prefer not to trade the convenience and openness of x86_64 plus NixOS for a bit more battery range. IMHO, the gap is not sufficiently wide to make a big difference in most usage scenarios.
- cosmic_cheese 10mo agoThe need to tweak that deeply just to get “baseline” performance really stings, though, particularly if you’re not already accustomed to having to do that kind of thing. It’d be a gargantuan project, but there should probably be some kind of centralized, cross-distro repository for power configuration profiles that allows users to rate them with their hardware. Once a profile has been sufficiently user-verified and is well rated, distro installers could then automatically fetch and install the profile as a post-install step, making for a much more seamless and less fiddly experience for users.
- ffsm8 10mo ago