Linux 6.2: The first mainstream Linux kernel for Apple M1 chips arrives
zdnet.com
zdnet.com
There is a list of upstreamed and missing functionality on the Asahi Linux wiki here: https://github.com/AsahiLinux/docs/wiki/Feature-Support
Linux 6.2 adds (checks notes): cpufreq to M1s, devicetree for newer hardware, HDMI out to Mac Studio (2022) and bluetooth support.
That doesn't sound as interesting as this article suggests when stuff like USB, the touchpad, keyboard, speakers, 3.5mm audio, suspend/sleep are all still WIP downstream.
This isn't a dig at the Asahi Linux developers. They're making solid progress. This is just a bad article.
Great device. Loved it - for about a month. Couldn’t touch it without pain after that.
I wonder what kind of realistic ETA there is (if any) for these kinds of features.
Speakers also do work but they are disabled by default so a bug in the current implementation doesn’t blow up the hardware.
And a whole set of major features will be supported as soon as the thunderbolt driver is done which I’ve heard is in progress.
The touchbar, fingerprint reader, and camera are things I wouldn’t hold my breath for.
Laughs in NetBSD
[1]: https://phpc.social/@marcan@treehouse.systems/10981800943090...
stuff like USB, the touchpad, keyboard, speakers, 3.5mm audio, suspend/sleep are all still WIP
That makes it sound as if they are barely (un)usable which isn't true eitherFeels like Apple have made this a lot harder than it needed to be. Of course they're masters at designing great hardware with ridiculous flaws. Like somehow being fragile despite the metal construction. Missing connectors, weird keyboard design choices. Soldered-on components. I bought a Macbook Pro once almost a decade ago. Never again. Never before or since have I felt less like I actually owned the hardware I'd bought.
You sound like anything but apple is good, but there's a lot of awful hardware out there, that is for sure. How to you avoid it ? What's your foolproof buyer method ? I might sound snarky, but I'm also genuinely interested !
I expect to keep my Thinkpad for another 5 years at least. But I might switch to Framework at some point if they can match the Thinkpad build quality. For laptops I value sturdyness and repairability over all other considerations, because I'm clumsy as hell. Apple products are far too fragile for me and far less sturdy than they look.
Amen.
Reading trustworthy test sites, before buying anything expensive. Which has gotten a bit harder, due to LOTS of paid content, but it still works, if you know how to spot the signs of a bad site.
For example with Thinkpad that meant finding a compatible panel based on specs they publish about all their models, then finding a teardown and rebuild video published on the Lenovo website for the model.
I was really interested in an m1 laptop but I tried my process with it and all research pointed to "send it in to apple care" which I don't want to do because I know how to use a screw driver and order parts, that should be enough.
I bought my second Macbook and I'm using mostly wireless accessoires to prevent port damage. I don't use its built-in keyboard and touchpad to prevent them from breaking. I don't disconnect it from power to prevent battery damage. I bought huge SSD (2TB) and don't fill it with data to prolong its life.
And you know what? It works wonders. This macbook works without hiccups for almost a year! Sure, I'll need to replace my Apple Keyboard soon, but that's just $250, not $5200.
For full clarity, having observed Marcans socials for a while, a big reason as to why upstreaming into the kernel is slow is because the Linux kernel suffers heavily from having BDFL maintainers.
Basically a specific maintainer can make upstreaming patches to their part of the kernel a process few people want to go through due to how much leeway they have in approving/rejecting patches. Stuff like yelling at merges that also happen to fix bugs in the parts that they modify because "bugs should be upstreamed separately" (even when splitting out the bugfix makes zero structural sense) or getting angry at contributors for lines they didn't contribute but that git diff happened to spit out around their commit to keep the diff readable.
Having watched that for a few weeks really gives you an understanding as to why so few Linux modifications for obscure devices have their patches upstreamed. (Switchroots main project, which is the Linux kernel but modified to run on the Switch for example doesn't bother upstreaming anything as far as I can tell.)
There's plenty of maintainers who aren't that sort of a stick in the mud (even on the Linux kernel), the problem is that the Linux kernel has a few too many entrenched ones who are basically using their position to be a bully to interested contributors. They're generally aware enough that they know that the people they get into fights with aren't likely to use any of the official processes and are more willing to put up with it.
It's more akin to "this maintainer should be replaced" rather than "the entire management is bad"; to my understanding the actually important trees (as in, the server related components, since Linux is primarily used as a server kernel) don't have these maintainers; they're mostly on the stuff that matters less like well... Sleep/Wake related things, speakers and batteries, all of which are mostly useful for desktops and laptops.
(Benevolent Dictator For Life)
It's worth noting that these features were long available since July 2022 (https://asahilinux.org/2022/07/july-2022-release/) to Asahi users. And like other Asahi users, I've been using them since that time on my Mac Studio running Asahi (with HDMI output, 10G ethernet, and Bluetooth too): https://triosdevelopers.com/jason.eckert/stuff/AsahiSwayM1Ul...
Alyssa has been instrumental on the GPU front, but I'd think marcan deserves at least a passing mention.
Though tbf, the number of wonderful people was much greater, but I just couldn't take the negativity i was getting from a not insignificant minority of manchildren who have probably never heard the word "no" from mommy and daddy while growing up
It seriously reminds me of hackerspace/opensource drama we've been part of in my college years and by now I've kinda grown up enough to find it tiring and remember that you need two parties to cause it.
Imagine being a maintainer of a specific section of the code, only to receive an email from contributor stating that you must move to github from mailing list and if you disagree then "tough luck" and it's your fault.
It's Asahi Lina who really did the kernel driver (building on Alyssa's reverse engineering work).
Mostly based on her own reverse engineering work actually (which was all livestreamed). Alyssa's work was on the shader ISA and what goes into the various command queues to get the GPU to do useful things, Lina's work was on the lower level aspects of how the queues even work, interactions with the firmware, power management, etc.
They use all the same tools etc. But given Asahi Lina has chosen not to reveal their identity it's better to just assume it's a different person.
In the $current_year things are so hilariously sexist that I pass my work off as my wife's so I can make more money pretending to be her.
Makes me wonder how many great men of the past were actually their wives alter egos.
Interesting thought. I know JK Rowling is "JK" because her publisher wanted to obscure her gender. This sort of thing is probably common.
(I also resurrected a Macbook Pro 2011 and got it to run about 5 years after Apple stopped supporting it as well.)
My ultimately conclusion is that when I run linux on my desktop I focus too much on the OS and too little on what I'm trying to accomplish.
Oh cool there's a .001 version bump on the graphics drivers, let me spend all day recompiling that and tweaking my awesomerc.
MacOS, you just can't do that simply by virtue of being less customizable.
Am I quite as efficient as I was when my computer would reboot in <30 seconds to a desktop with all of my browsers open exactly as I wanted them (slack here, different monitoring/graphs exactly tiled exactly on another monitor) and I could switch between specific task-focused desktops with awesome (programming work here, ops here, email/biz work here, etc) no I am not as productive, but, how much time did I spend fine-tuning that setup? It felt like A LOT and I know (for a variety of reasons, this being only one of them) that I'm generally more productive since I retired my last Linux desktop in 2018.
That said, please don't take any of this to diminish the accomplishment of the Ashai team. The fact that they did what they did and did it well enough to get mainstreamed is an absurd feat. The fact that it was significantly (primarily?) done by an anime-girl live streaming on twitch is absolutely hilarious.
The base fedora install + the proprietary codecs repo is literally all you need. Everything else is a waste of time.
I've been on linux for the past however many years and I don't waste time on my setup at all. I pretty much have the same setup for the last 4-5 years. I've spent maybe 20 hours since then tweaking things / switching distros. Never had to recompile my kernel, my drivers or anything like that since I'm on a t490 thinkpad and it pretty much just works.
This is... still significant.
Outside of auto updates sometimes rebooting my laptop overnight and major version bumps requiring me to hit the "update" button explicitly once a year, I'm unsure what "maintaining my configuration" would entail once things were setup to your liking on macOS.
How often are things changing for these people that configs need to constantly reviewed?
I have been using different Linux distros in the last 15 years (mostly Arch, so rolling), and really I don't customise much (default i3, default vim, etc). Doesn't really require any maintenance at all, I would say.
And with NixOS it's more than cummulative it's a multiplier.
Gonna get me a second-hand M1 or M2 soon.....
I didn’t learn much about algorithms, or digital systems, or compilers by setting up arch Linux. Even my OS class, it’s not like learning about swap helps understand context switching or even virtual memory.
I relate to how satisfying it can be tinkering with things but a lot of times it’s just distracting. Like spending a day optimizing productivity tools instead of being productive. Or trying to get your laptop to recognize and change audio output when plugging in headphones instead of studying for a midterm.
Try Linux from scratch, then ask yourself how macOS, Windows and *BSD solve those problems. Wouldn't you call that computer science?
You've learnt about telescopes, which is a very useful skill, but it's not the same thing as astronomy.
> I don’t see how this can be true under any definition of computer science.
Let me arbitrarily copy one definition of computer science, from Wikipedia:
> Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (including the design and implementation of hardware and software).
I think that designing an OS counts as computer science, at least under "some definition of computer science". And learning how to maintain an OS is a step towards understanding how it is designed.
Of course, maintaining your OS does not teach you Javascript. But Computer Science is not limited to Javascript. I wouldn't be very happy if you told me that I am not a software engineer because I don't know Javascript, to be honest.
> I don’t see how this can be true under any definition of computer science.
Let me arbitrarily copy one definition of computer science, from Wikipedia:
> Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to practical disciplines (including the design and implementation of hardware and software).
I think that designing an OS counts as computer science, at least under "some definition of computer science". And learning how to maintain an OS is a step towards understanding how it is designed.
Of course, maintaining your OS does not teach you Javascript. But Computer Science is not limited to Javascript. And I have seen many developers distribute libraries without having a clue about how package management works, which results in a big mess. And then they complain about the tools ("CMake sucks, it's not my fault"), where actually they just don't have a clue how it works below.
I see computer science as the discipline that makes the whole computer work. Because one can't be bothered to understand anything below their favourite framework doesn't mean it doesn't count as "computer science".
Did not Yogi Berra state that in theory there's no theory between theory and practice but that in practice there is?
Is an abacus useful in Computer Science or is it an impediment to purely conceptual algorithmics?
I use Linux precisely because it enables good Computer Science, as telescopes enable good astronomy, as particle accelerators enable the realisation of the prediction of the Higgs Boson.
2 years ago I made the switch to Linux, mostly because I was inspired by r/unixporn. I took a long weekend to install a barebones arch setup with i3. Everything needed to be touched, and I realized that although I'd been using computers for nearly 30 years, I really didn't understand how they worked.
Maintaining things like Linux, Vim, or some semi-complicated, interlinked toolchain makes me need to learn things constantly. Running updates becomes a lot more complicated, and every time I do it, I learn something new about how computers work that I didn't before.
Why do I do this? Well, I like learning! I also really enjoy my work and if fully retired, would still fiddle with computers as a hobby. Nothing against it, but I think a lot of people use their computers simple to get to their end task, and don't really care much about how that end task might sit on top of a bunch of other core systems.
In my heart, everytime I fiddle with Linux I'm reminded of the seven-year-old kid who sat at the family kitchen computer trying to learn just what the hell DOS was and why my games didn't work. These are magical machines, and it's fun learning why they work. That's what Linux gives me... something to explore.
I mean reading HN comments probably doesn't take them much less, does it?
I am not doing any significant manual configuration, tweaking, or futzing with my system setup beyond maybe half an hour after initial install. There might be occasional changes I try but they are (1) rare, (2) just toggle a setting, and (3) are very occasional - in the order of seconds-single digit minutes over the course of a year.
Your phrasing makes it sound like you are spending multiple hours every month fiddling with your system.
I think most people aren’t measuring the time spend doing updates because for most people they are done overnight, and aside from major updates take just a slightly extended reboot if done during the day. No one is including the os updates, chrome updates, etc downloading in the background as time that they’re are spending maintaining their system, etc.
It is reasonable to read someone saying “I spent X amount of time doing Y” as meaning the person is saying that they were personally spending that time doing Y, not “my computer spent X amount of time doing Y while I was using it”
Who is "you"?
I agree that there is all this software tedium as well, that I'd much prefer to eliminate, but it sadly exists across all platforms.
But that's not what I'm talking about here. I'm talking about time spent getting and keeping hardware working properly, writing stuff into x11 or networking config files, that sort of thing. I have always found myself doing significantly more of that when running Linux (specifically on a laptop) than I have any interest doing anymore.
My routine maint tasks are `fwupdmgr get-updates` and `yay -Syu --devel` followed by `reboot`
I'm not sure what else people are doing other than tinkering with how things are setup. I spend a lot of time trying out other window managers and compositors or setting up various keybinds or automations I think would be useful, but I don't consider those maintenance tasks.
> I spend a lot of time trying out other window managers and compositors or setting up various keybinds or automations I think would be useful, but I don't consider those maintenance tasks.
This is the kind of (in my opinion) low value tedium I'm talking about.
I'm aware that we're talking past each other in these threads. Some people are thinking of software updates, others of us are thinking of stuff like trying out window managers and messing with keybindings, and these are indeed very different kinds of toil.
What are you referring to here?
That's like saying it's low value tedium to set folder view in finder to compact. Or trying out Rectangle or one of the auto-tilers, enable night shift.. They're preferences and I don't see how the experience would differ from one OS to another. Maybe you like the way everything works out of the box on OSX. That's cool. I don't. I don't really like how any OS (or wm or compositor) works out of the box.
Anyways, my impression on debian stable would also be that I spend about zero hours for 3 years until there is a major upgrade (which is basically starting the upgrade and then drinking coffee until it is done). However, I am probably also wrong about that and actually spend a few seconds here and there on changing a wallpaper, seeing what is new in a new Firefox version etc. Summed up over a month that might actually be many minutes, but it does not feel like it.
I love Linux and I'm glad so many people are happy with their setups, but it just hasn't worked flawlessly enough for me over the years.
Note: I'm specifically talking about laptops here. It has worked great for me as a mostly headless workstation and of course as a server.
Reading and commenting on HN is also fairly low-value activity, but I certainly learn useful things more often than I do when futzing around with my OS, and that's just bonus; it's mostly an entertainment activity. Playing with my Linux configuration used to be an entertainment activity for me as well, but once that stopped being the case, it stopped being a good use of my time.
You can disagree and find this enjoyable, no one is saying you need to see things their way. We all have different hobbies and priorities. It is fine if other people do not want to use Linux as a daily driver.
I also tried to avoid maintenance a lot with XFCE, but part of the problem is that I could never get it to look exactly like I wanted. There were always some minor GUI bugs that irked me to no end. Add to that, there were some weird inconsistencies because for a long time there were both GTK2 and GTK3 programs running at the same time and they didn't look quite normal.
Then there was the problem of those new-style GTK interfaces with just the hamburger menu, and not all programs were like that. I tried to fix that too somehow by moving to other Window managers but there was always some weird problem.....arrgg I LOVE linux, but (I hate to say it) MacOS just looks nicer with less fiddling.
> I also tried to avoid maintenance a lot with XFCE, but part of the problem is that I could never get it to look exactly like I wanted. There were always some minor GUI bugs that irked me to no end. Add to that, there were some weird inconsistencies because for a long time there were both GTK2 and GTK3 programs running at the same time and they didn't look quite normal
I take the point, but part of my maturation with “full time” Linux systems - personal desktop, laptop and work machine (Linux VM) to different degrees - was
(1) tinkering less,
(2) getting orders of magnitude more efficient when I did want to edit my OS or core programs, and
(3) buying an M1: while being amazed at many aspects of M1, and admitting I never got proficient with MacOS, I went back to Linux and i3 because I had just as many frustrations with MacOS as any graphical bugs I get in Linux
(4) the comfort of familiarly with my Linux configuration, rather better or worse
Now I’m comfortable with any configuration time I spend these days. It’s not much, and easily justifiable as some combination of work, hobby, and learning. I no longer think of it as serious work, which has been very good for me not wasting hours for stuff I didn’t really didn’t need to care about.
In fact, I'd probably still be on Linux if it weren't for the fact that I shifted from programming to content creation and certain apps like Davinci Resolve and some photography apps work better on MacOS, and it's impossible to get M1 performance (especially in a laptop) with Linux at the price of an M1 laptop.
That's a worst case. Most of the time I don't touch anything.
> the problem is that I could never get it to look exactly like I wanted. There were always some minor GUI bugs that irked me to no end. Add to that, there were some weird inconsistencies because for a long time there were both GTK2 and GTK3 programs running at the same time and they didn't look quite normal.
I think that is the big issue with environments that allow for endless customization. People look for perfection, and when you have too much free time it's tempting.
Some people get stuck down the customization/r/unixporn rabbit hole.
I use Windows and the number of hours per month I spend on maintenance and configuration is close to zero.
Every so often I think about switching back to Linux but these comments remind me why I switched.
I did use Ubuntu as my main desktop for a while, I guess about a decade ago. I stopped because it took so much effort to get basic stuff working on my system at the time - graphics drivers were especially hard. As others pointed out, I did learn a lot from this experience. But nowadays my life is busy, I run a business and I need to focus my work time and spend it, well, working. Not tinkering with the systems I use to do work.
My free time, I also don't want to spend tinkering with the OS. I'd rather go to the beach.
Which is why I tend to avoid windows. Windows updates, updates by the individual apps, figuring out how to disable misfeatures etc. ; takes much more time and maintenance than linux.
When I am writing about this I realize that I my solution has always been a variant of the Linus Torvalds, move the old system to a chroot and reinstall. That has happened once every six years always because of user error or a new system. On Win/mac that happens more often (judging from my support load).
Those are a bunch of options for people who like optimising and configuring (nothing wrong with that).
I spend zero time on config in Linux just by accepting distro defaults. Maintenance would be less than on Windows or Mac just due to updates installing a hell of a lot faster.
At one point I aspired to a setup like that, but I thought I was too lazy.
Windows Update alone is a 15-20 min ordeal every 2 weeks (usually requiring 2-3 restarts to get all updates).
Like others have said, that is a lot.
And I'm saying this as someone who's been running Ubuntu with i3 for the past 10 years or so. I practically don't spend any time on my configuration, unless maybe an hour or two when I upgrade Ubuntu.
I mean, I probably spend more time reading HN comments or restarting Xcode (after cleaning the cache, and the hidden cache, and the DerivedData) when I work on macOS xD
Like I said, I love linux, I run linux on literally 1000s of servers worldwide, the work Ashai developers are doing is amazing. I'll probably never again run it on my desktop/laptop.
However, in addition, I think there’s probably a significant amount of highly transferable learnings you’ve gone through while spending all that time configuring your machine. Was any of that time wasted? Well, probably, at least by some measure… But it’s also very hard to gauge the value of all the incidental knowledge you gained about what computers are, how they work, etc.
My point is this: don’t over-penalize yourself for wasting time when you’re learning in the process, and try and remember how magical it is to learn things for the first time. And for other readers… It’s good to be pragmatic, but if you’re lucky enough to be in a position to spend a lot of time tinkering, playing, learning, then DO IT. Life is meant to enjoy!
I kept doing that for awhile after I graduated, but eventually I realized it wasn't a good learning experience anymore, it was just a tedious waste of my time. I realized I should have been socializing or recreating outdoors or reading or picking up new hobbies if I wasn't working. Since then I've mostly used Macs or Linux machines maintained by the company I work for, and this is definitely a much better use of my time.
There are only so many fundamentals to learn here before it becomes just so much minutia and non-essential complexity.
Oh my god no.
I ran gentoo ~amd64 on my desktop for YEARS. If you don't know gentoo you don't know what that means, but, I learned A LOT. I wouldn't trade it for anything, it's just not right for me anymore.
Part of this might have to do with how the sorts of tiling WM setups that Linux aficionados seem to love aren't compatible with me at all, and more traditional minimalist setups (e.g. OpenBox+tint2 or whatever the modern equivalents to those are) left too many unfilled or badly filled holes, which drives me to the bigger DEs, which are opinionated in ways that don't necessarily align with me which drives the twiddling.
The only way I can see this changing is if I somehow become able to pay the bills without working and pour myself into developing my own DE and essentially make the twiddling my job (which I think I would actually love doing, but doesn't seem particularly realistic).
I wasn't really having any problems per se, window management on macos is a bit lacking and I'm not fond of the forced animations everywhere, but overall I was pretty happy with how everything functions.
Until few weeks ago I had free time and an adventurous mood to try out the Asahi (It's really painless to do so), and the moment I git clone'd my dotfiles and logged into my old i3 configuration I was very astounded by the sheer snappiness of everything, fingers remember all the shortcuts and all of the workspace switching is /instant/. That's something I have tried to replicate on MacOS multiple times and always failed, yabai and the like are not even close.
I still reboot into macos for when I'm mobile as I don't trust sleep on asahi (I don't think it even works that is), but when I use it at home I am very impressed by how stable and daily drive-able it is if current (admittedly, significant) compromises work for you.
BTW, many professionals like and use a highly customized setup which only Linux can offer. This is true in other fields too. See, for example, Euroracks.
My work Mac requires constant TLC, although that's mostly because they want a container based workflow which is obviously not native to MacOS and there is always something going wrong that requires a couple of hours tweaking to get healthy again each month.
It also doesn't help that my Mac feels more responsive but also feels much slower. Again it's probably the container based workflow, or all the crappy AV and management software scanning each other but compiling code feels like it takes forever compared to my several year old Linux laptop.
Unfortunately we are now at that state with Mac as well. I have a pre-VPN (Netskope?) that starts before logon which networks the laptop directly to the work public network that I then have to Cisco VPN from that to reach the work network.
I have SentinalOne, Netskope, Qualys all installed and all "realtime scanning". And it's slow. Security don't trust the employees and will mandate all this "security" software that could be bypassed if I actually was hostile but makes everyone else's environment terrible.
I'm sure if Linux became the desktop of developers we will end up with a load of rootkits too.
SentinelOne is the most unuseable piece of software I have ever used, it only gives you false positives and can not handle spear phishing from people who actually know what they are doing. It sounds good on paper and once you deploy it you will have a hard time arguing for making system "less secure".
> So how much anti-security software is mandated, and what is the impact on the developer mandated hardware?
That's a you problem, not a Linux problem.
I haven't compiled any drivers for Linux in many, many years, probably decades even.
It helps to avoid Nvidia GPUs however, but even here I haven't seen a big problem in ages (my work computer unfortunately sticks me with an Nvidia, but Debian updates seem to work as normal).
It is never too late to try out an Apple Silicon Mac. They just get out of your way and they just work much faster.
I had two older Mac laptops that stopped functioning with the latest macOS update for encrypted iCloud files (now just about everything is encrypted in motion and at rest). I put Ubuntu on both, a MacBook and a very old (tiny model) MacBook Air that is many years old.
Such as for example the cpu/ram/net/disk usage thing in the Gnome top bar. I have no idea whether there's something like that for Mac, and even if there was, I wouldn't know how to find it.
Most of those things (small utilities/plugins) exist for macOS, with two massive caveats - they are often paid (e.g. only 2 out of ~10 window managers are free; 1 out of ~3 usage thing in top bar is free), and the second one which bugs me more, they're often very Apple ecosystem centric (first or third party doesn't matter). They do things in the Apple way, integrate only with Apple tooling and services and devices, often in non-obvious ways. E.g. a fun one is that you can extend your macOS screen to an iPad, if you fill a bunch of Apple requirements (same AppleID account), but with zero feedback on which one you don't fill. If you don't, the button just isn't there, nothing says why, and all online guides boil down to "make sure you've done this". Which is my biggest problem with macOS - it isn't made for technical people because it is incapable of providing actual usable feedback that can help you debug. Be it magic buttons that only appear if everything is there, or useless error messages ("A USB device is consuming too much power and has been shut down". Which device?), or lacking features like separate scroll direction between mouse and touchpad. Oh and there's no native package manager for some unknown reason.
It's a decent shiny OS, fine for a graphical designer/video editor. I don't get technical people who swear by it, I'd be tempted to say Win 10 with WSL is better than it for techies.
This is an option for Mac: https://github.com/exelban/stats
But in the future the project could be reduced to a simple bash script you run and then it’s a stock distro
I really hope we don't go back to that. Especially with a company that defaults to 'proprietary' for so many things like Apple.
The most exotic thing about them is usually the unified memory controller.
Apple already open sources their kernel.
The issue is mostly device drivers, which even on Android tend to be external binary blobs.
It kind of leaves you in the same place in my opinion
Isn't that because iPhones are more closed somehow? Maybe there is another reason, I don't know to be honest.
1. You can still reuse the binary blobs that make up the drivers.
2. Android has unlockable bootloaders whereas iPhones do not.
However the binary blobs are not always legally redistributable or even reusable.
They don’t also help if you need to support any version of the kernel other than what shipped in case there’s any ABI differences
Getting the device tree set up, initializing graphics and all the peripherals, and the boot process is where Ashai Linux has done the vast majority of their work.
Unfortunately, until people value freedom more than pure performance, efficiency, or "security", closed ecosystems may become dominant.
You’re not going to see Samsung, Asus, and Dell releasing their own properietsry arm derivatives, if that’s what you’re implying. Too many laptops, too much porting and unoptimized Software.
Apple’s always done this to maintain a prestigious image for non technical people.
Also of course, the GPU which already has incredibly high variance across vendors.
https://www.tomshardware.com/news/linux-kernel-adds-risc-v-j...
I do need get a Mac Mini to test flutter apps there, not happy with its default small DDR size(8GB) and pricey upgrades, and, of course it's not upgrade-able either, disappointed.
In the same time I've been using Linux for 20 years and I am happy with it, so I don't want to change to MacOS. Thus I would happy to buy apple & install linux on it.
I think the answer is that it's a uniform piece of desktop hardware with a huge installed base. Apple's market share in the desktop space may be small compared to PC, but the PC ecosystem is heterogeneous, so the economics of supporting a large fraction of PCs is disadvantageous for open source maintenance.
If support for linux and other open source OSes on apple desktop hardware becomes a thing, it may well quickly become the best-supported and best-tested hardware of all, which would be a huge leap forward for open source on the desktop.
Besides: The relationship between Intel and open source is not exactly a love affair either. Maybe Apple will be nicer to open source, or maybe the sheer fact that there is a second hardware player in the open source desktop space will be a shift in competitive dynamics that's advantageous to open source.
The only Apple hardware I've owned was a mac mini for the exact same use case as you, but the M1 laptops might change that if I can run Linux. I did not enjoy Mac OS when using it on the Mini!
I am now running Asahi Linux on a M2 Air, because that’s the best combination for a user like me.
if all those units are fully supported, e.g. I can use its NPU to train a machine learning model, I may get a M2 laptop too.
Most of my usage is browsing, emails, and light development - so it works good enough for now. If I need a GPU, I run Jupyter on my homeserver with a 1050Ti.
Like I was around for the whole 68k and PPC transition. Obviously the Intel transition too. I think the Intel was the worst, at least for us that doubled down on expensive G5s that barely had any shelf life to them.
Beyond that? Apple is pretty reasonable. Android Phones that were released at the same time as the XR, which still runs iOS 16, have been deprecated for almost 2.5 years in any kind of support.
I feel sorry for people that bought Intel Macs in 2019, as those are really the ones going to be left out in the cold.
Outside of that, as far as installing a brand new Apple OS on a 5 year old+ computer, is a crap shoot from the performance perspective. Maybe it will work, maybe it won't. Maybe it will require too many concessions.
Intel's forever 14nm++++++ honestly sort of stagnated things for a while, but now they've taken off again, and you can often feel the age on those machines in a lot of use cases.
The old macbooks with the coreDuo CPUs, only lasted a few years before a next major osx release dropped 32bit cpu support.
I have a 2011 15" macbook pro that Apple ended the life of around 2015 or 2016, I believe, by discontinuing the GPU drivers in next major osx release.
How many releases do you think before x86 is dropped completely from OSX?
If I understand right, this is an important step to getting an Apple Silicon version of Ubuntu, correct?
I'm running Archlinux ARM in a VM as my primary development environment on an M2 Macbook Pro and it works great.
Any idea how to get that? I would love to give it a shot.
This is about getting Ubuntu and other linux distros to run bare metal on Apple Silicon without virtualisation or macOS being invovled.
Like some of the other answers here mention, if there's an arm build for Ubuntu, this would get things closer to running natively on Apple Silicon I think?
I am indeed trying to ensure Vagrant will work, since that's the technology we've typically used on our team, and we have some tooling setup to take advantage of it.
Vagrant is nice because it automatically shares a folder with the regular desktop, and we have all of our setup ready to go. But I imagine I could get Parallels or UTM to do the same thing... although I wonder how much extra CPU cycles and battery drain I'll have. But as long as I can get it to work, I'd be generally happy.
There is indeed an ARM build for Ubuntu (and has been for over a decade!), and this is what you would most likely want to run in a VM on an Apple Silicon machine. You can also run the x86 version emulated, but this will of course be much slower. As of the latest macOS releases, it's even possible to use Apple's "rosetta" translation software to run translated x86 binaries within an ARM linux VM, and this is likely the best thing to try first if you are using software that doesn't have ARM versions.
It just needs to be ARM Ubuntu, not Intel Ubuntu.
https://archlinuxarm.org/forum/viewtopic.php?f=67&t=15997&p=...
This will download and execute the Asahi Linux installer. If you want to check the source ahead of time, it's on the Asahi Linux GitHub.
While functionality improves rapidly every day, it is still decently rough around the edges. However, the installer is very streamlined and it's easy to get set up and try it out.
Why not? Without looking, I assume that the script is downloading a binary and running it. What could it be doing that is more dangerous than that?
If someone wanted to do `rm -rf /` on your system, they wouldn't put it in the setup script you're piping to sh: they'd put it into the binary, making your inspection of the setup script effectively useless.
There are a few things that make shell script installers particularly dangerous, though. I don't think any are meaningful with the way people normally use computers, but they could be meaningful in the future if we improve our collective security posture:
* Shell script installers aren't digitally signed. Most OSes have pretty weak code signature schemes anyway. They're littered with root-of-trust issues that prevent a lot of OSS from being signed to begin with, and in turn, the vast majority of users (especially power users) ignore code signing warnings. But, as these problems are addressed, shell scripts will become weaker and weaker in comparison to binary packages.
* Shell script based sites can fingerprint the client and serve different content to a browser and to the "curl" command, confusing users who attempt to audit what's going to run before it's passed into the shell script command. This is a fine argument and a real problem with the "pipe to sh" approach. However, unless the user is also independently checksumming or disassembling every binary application they download, it's also a bit of a straw man.
Nice straw man. Completely unfalsifiable. I didn’t bother reading the rest.
2. Someone tells him
3. Third person chimes in “you know, it’s technically possible that they’re lying!” despite no evidence of that being the case.
Tough crowd…
(Btw, you can easily verify that the alx.sh installation method is recommended by official sources, for example here: https://asahilinux.org/2022/03/asahi-linux-alpha-release/)
The best way to share files with a proprietary system is to go through some sort of network, i.e. NAS, smb, etc.
----
If I was going to go that route, on my MacBook which is 1TB, I would probably do something like 200GB for macOS, 200GB for Linux and then a shared partition of the rest (~600GB). I'd probably make the shared partition ExFAT, or possibly un-journaled HSF+.
I think the easiest way would be to install Asahi first, pick the size you want for it (200GB in my example), then once you have that sorted, figure out how to create another partition that you will format as ExFAT/HSF+/Whatever you want. I'm sure this is possible/easiest from the macOS side of things, although I have never partitioned a drive in macOS. The Asahi installer does it from the command line in macOS, so I'm sure Disk Utility has the ability to resize and create partitions, too.
Just forget about dual booting nobody really does that.
Their work goes beyond the kernel. For example Mesa (the user space part of the Linux GPU stack), boot tooling and installation tooling.
And of course the incredible amount of reverse engineering.
PaX seems to refer to the PaX team: https://pax.grsecurity.net/
There seems to have been drama related to some of their patches https://news.ycombinator.com/item?id=14633163.
Again - I skipped lots of details.
Because Apples MacBook Pro with M-Series Pro and Max chips are arguably the best allrounder laptops on the market right now
edit: I believe they are looking for donations.. I'll find a link when I have time.
Edit: here's what it looks like in action - https://youtu.be/aBEsxTVRsEo?t=100
It's also worth noting that Firefox ships with pinch-to-zoom and swipe-back gestures by default for Wayland now, too.
I'm mostly using the Magic Trackpad on my desktop though. It's very possible you might find a laptop with bad palm-rejection firmware, but I don't think that's an issue with these. Or Synaptics touchpads, in my experience.
I suspect it's simply because of the bigger touchpad. Even if the "error rate" is the same as before, there are just more potential errors because of the bigger touchpad surface.
The main holdup was Wayland - go get your Wintel machine and try booting up a Wayland session in KDE or GNOME. If your trackpad was manufactured with multitouch, chances are it will have gesture support. Any distro shipping GNOME 41-ish or Plasma >5.25 should have this by-default.
As for the feel... I'm gonna be honest, I don't notice any difference from my Mac. If anything, my Magic Trackpad has more gesture options on my KDE machine out-of-the-box. Don't knock it till you've tried it!
Worst thing is that I can't enable "tap to click" because the palm detection just doesn't work at all.
Both my spouse's laptop and mine were dramatically better in Linux compared to the Windowses they came with.
If you mean the latter, there are ways to customize that to be more like other desktop environments (sorry for not linking anything, currently on mobile and I don’t have time now to vet search results, but there are built in CLI settings which should be pretty easy to find).
Mostly commenting in case the above leads in a helpful direction, but if you actually mean latency of trackpad input apart from the acceleration curve, I’m wildly curious to hear more about what you’re experiencing and expecting otherwise!
I'm not talking about the track pad (although that has quite a lot of latency as well). I'm talking about a mouse.
I have no perceptible latency (and I game) on my M1 Pro MacBook with a wired mouse.
* https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-m...
* https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-m...
I'll probably make a follow up post with Linux 6.2