7 ms·
Linux is not “ready to run” on Apple Silicon, but give it time
- deleted 4y ago[deleted]
- superkuh 4y agoThis is backwards. Apple Silicon is not ready to run anything except Mac OS.
- counttheforks 4y ago100% Not sure why people are blaming various software projects for the breakage that was introduced by apple.
- mort96 4y agoIt's not backwards. The M1 chip isn't changing. Asahi Linux, and the mainline Linux kernel, is changing to improve its M1 support.
- manuelabeledo 4y agoThat is nonsense. It's like blaming the roads for a car maker mistakes. I would give you that Apple is not third party friendly, but how many hardware vendors are making hard modifications so third party software runs on their hardware?
- bheadmaster 4y agoIf the roads required secret incantations to ensure you don't teleport back to where you started, then your comparison would be fair. Most hardware manufacturers suck in that regard too. That in itself doesn't make Apple any better.
- superkuh 4y agoNot friendly? It's more than that. The processors themselves may be great but the computers are not. The hardware takes short cuts and fails to implement compatible versions of long existing hardware standards because Macs don't need to since everything is proprietary and vertically integrated. It's more like making roads that don't have the normal line markings on them and occasionally have gaps in the parts of the road apple cars don't normally drive on, etc.
- manuelabeledo 4y agoWhich "hardware standards"? Isn't the M1 an Armv8.5-A? What are we asking for here? I would like to know of a single software vendor, that is not Microsoft, who may have influenced the design choices of a hardware vendor. Because it's not like Linus himself randomly walks into Intel offices to tell them how to get things done.
- mhh__ 4y agoApple aren't completely compliant with the Arm spec. Probably lots of game mega-companies (influencing GPUs). Arm had special JavaScript instructions for a while. Linus did use to work for transmeta, at least.
- mrkstu 4y agoAs far as I'm aware they are strictly a superset- everything required to run a standard ARM binary is there- but there are extra instructions available as well, which shouldn't require any extra coding for Linux to ignore and run as normal.
- manuelabeledo 4y ago> Probably lots of game mega-companies (influencing GPUs). Haven't ever heard of this. > Arm had special JavaScript instructions for a while Which is a design choice. ECMAscript is a standard, and the instruction seems to be a way of making certain conversions faster. From the release document [0]: "Armv8.3-A adds instructions that convert a double-precision floating-point number to a signed 32-bit integer with round towards zero. Where the integer result is outside the range of a signed 32-bit integer (DP float supports integer precision up to 53 bits), the value stored as the result is the integer conversion modulo 232, taking the same sign as the input float." It is not unusual for hardware vendors to include instructions that would make certain common operations faster. That does not mean that software vendors, and in this context, compiler engineers, dictate CPU design choices. [0] https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/armv8-a-architecture-2016-additions https://community.arm.com/arm-community-blogs/b/architecture...
- paulrpotts 4y agoAre you talking about chip errata/issues that rise to the level of interfering with getting a kernel working? There have been some issues including security issues, but from what I've read to date, no real deal-breakers; and it's not like Intel and AMD parts don't have errata and things kernel developers have to work around too.
- andrewstuart 4y agoI don’t get why anyone would want to run Linux on Apple hardware. Apple hardware is very expensive and you could buy a faster Intel or AND machine for less money. Who would buy a Mac and put Linux on it? What am I not understanding?
- lordleft 4y agoDoesn't Linus Torvalds run Linux on Mac hardware? He basically adores apple's laptops, which I can't blame him for.
- bluedino 4y agoNot that I've used it for any real work, I literally have only been doing test builds and boots and now the actual release tagging. But I'm trying to make sure that the next time I travel, I can travel with this as a laptop and finally dogfooding the arm64 side too. https://lore.kernel.org/lkml/CAHk-=wgrz5BBk=rCz7W28Fj_o02s0Xi0OEQ3H1uQgOdFvHgx0w@mail.gmail.com/T/#u https://lore.kernel.org/lkml/CAHk-=wgrz5BBk=rCz7W28Fj_o02s0X...
- bookofjoe 4y ago>And founder Linus Torvalds himself is particularly eager to see Linux running on his favorite portable hardware, going so far as to issue a kernel in August 2022 from an M2 MacBook Air.
- justapassenger 4y ago1. Why can’t I run both? 2. Per watt they have some of the best performance 3. Overall some of the best battery life 4. Only real option if you want to run ARM 5. Most important - just because. That’s what geeks and hackers do.
- xt00 4y agoI’ve been running Linux on MacBook Pro’s for years and the main benefits are: high quality display, excellent trackpad, solid build quality. Yes they are more expensive than other laptops but the display and trackpad especially are 2 things you interact with constantly. I haven’t done it on the new M laptops but the thing most people cite there is a super low power / quiet device. Main downside presently is the soldered ram and SSD. But still I’m planning to get a Mac to run Linux on it once things are more stabilized.
- deleted 4y ago[deleted]
- aeruder 4y agoYea, just to be clear though: Asahi Linux still works pretty well. My system boots near instantly; wifi, mouse, keyboard work fine. Its enough where I can easily use my M2+linux as my daily driver. This article is addressing misleading comments that made it sound like everything for apple silicon was merged into upstream kernels. It's not. You're still going to need to use Asahi kernels and userspace bits for a while.
- leppr 4y agoSometimes I briefly get out of my bubble and realize that the vast majority of the world population - even the first, highly educated world - still trusts their entire digital lives to a black box controlled by either 1 of 2 US companies. I mean, the fact that we have a widely available alternative makes the picture slightly less bleak, but still. How many politically-inclined persons rave endlessly about freedom and sovereignty while making no effort on such an important front? The Linux usage numbers are so far from where they should be.
- onepointsixC 4y agoThat implies that using linux doesn't have you still beholden to a black box which is controlled by 2 US companies, when most likely you're still using an X86 Intel or AMD processor. But let's say you're using some ARM chip instead. Now your black box was built by TSMC or Samsung instead. It's black boxes all the way down.
- delta_p_delta_x 4y ago> It's black boxes all the way down Essentially the entirety of modern humanity is built on black boxes. I'd like to find one person who knows exactly what and where every single component on their motherboard is and why it is there, the precise transistor layout of every chip from the GPU and CPU down to the tiniest microcontrollers, and every single instruction that is running on their computers at any time. Sure, you can run Linux, but it still is running on a closed-source CPU. For all we know (unlikely as it is), Intel-AMD CPUs could have a backdoor saying 'hey, send the instruction and data cache to the network controller and to this IP address'. These CPUs still have proprietary microcode.
- Pet_Ant 4y agoThat is what is really appealing about some of those retro computer kits where you get a ziplock bag full of parts and PCB and need to solder them together. I feel like I'll understand the hardware on a new level. I hope the Commander X16 ends up offering this option.
- 4y ago
- graypegg 4y agoI wonder if apple would ever consider sponsoring Asahi Linux or (marginally less likely) including a boot camp utility again for installing and dual booting Asahi. Kind of echoing WSL. Feels like it would be good antitrust brownie points for something unlikely to upset their desktop OS market share for the general public. (Sub-0.1% chance given their track record, I know.)
- jasoneckert 4y agoI've been using Asahi Linux since the alpha was released March 18th 2022. Because I used an M1 Mac Mini and many of the features (WiFi/HDMI) were ready then, it became my daily driver a few weeks after that. Today, I run Asahi Linux on a M1 Ultra Mac Studio using Sway (https://triosdevelopers.com/jason.eckert/stuff/AsahiSwayM1Ultra.png https://triosdevelopers.com/jason.eckert/stuff/AsahiSwayM1Ul...), and 100% of the features I use are there in Asahi kernels and userspace (sound/Bluetooth/audio/HDMI/USB/10G Ethernet/WiFi/GPU driver). In short, it's the fastest RISC Linux workstation you'll find, and has been rock solid in every way. In fact, it's so fast, it messes up the timing of K3s (you just have to remember to put resource limits on each pod to prevent the CrashLoopBackOffs).
- sliken 4y agoUse the accelerated GPU at all? I've been watching the progress with async, batching, and related. But I've not seen any benchmark numbers or any idea of performance.
- jasoneckert 4y agoI haven't benchmarked the GPU in any way because I'm not a gamer. However, as soon as the GPU driver was available I installed it and immediately noticed that all desktop graphics and video were fast/smooth as you'd expect on macOS/Windows. I did open the only game I had installed (Extreme Tux Racer, which ran poorly before), and it also ran fast/smooth.
- sliken 4y agoNice. Any ML inference or training by chance?
- notjoemama 4y agoI'm looking forward to it. It would be great if they got into the cloud hosting space and compete with Microsoft, Google, and AWS. A fully functional ARM Linux that can run on Apple hardware makes that a possibility and is better for the environment. Fewer chips for the same work at lower power means less mining and less strain on energy infrastructure, and less cooling too.
- erymperlecil 4y ago[flagged]