Linus Torvalds doubts Linux will get ported to Apple M1 hardware
arstechnica.com
arstechnica.com
I can't help but smile at the prospect that Torvalds' pessimism here - while warranted - creates an incentive to prove something to both Torvalds and Apple...
[1]: https://www.phoronix.com/scan.php?page=news_item&px=Linux-5....
"Or all in, Linux 5.9 comes in at roughly 27.81 million lines distributed among some fifty-nine thousand source files.
...
For a while now the AMDGPU kernel graphics driver has been around 2+ million lines of code making it the largest in-tree kernel driver. With Linux 5.9, it comes in at 2.16 million lines of code plus another 247k lines of code comments and another 109k blank lines... Or up to 2.51 million lines of code is the AMD DRM driver code including AMDKFD, PowerPlay, DC, and all the kernel code ultimately making up the AMD Radeon support on that driver (but not the older Radeon DRM driver -- that older Radeon driver is at around 157k lines of code). "
Want a kernel that doesn’t support USB? Sure.
typedef enum CRC_SRC_SEL {
CRC_SRC_0 = 0x00000000,
CRC_SRC_1 = 0x00000001,
CRC_SRC_2 = 0x00000002,
CRC_SRC_3 = 0x00000003,
} CRC_SRC_SEL;
This might seem silly and redundant, and there are arguably better ways to express it, but the explicit approach makes a lot more sense if you skim the other definitions and see that some are 1-indexed, some have discontinuities, some have non-obvious reserved or otherwise special values, some have a totally distinct meaning for each value, etc.. Some of the definitions do look questionable, but on the whole I don't think any amount of macro magic could actually make these definitions small; the feature set of a modern GPU really is massively complex.[1] https://github.com/torvalds/linux/blob/c84e1efae022071a4fcf9...
It certainly wouldn't be useful for most projects, because most code that's un-referenced is only temporarily so. But in this codebase, it's a more permanent thing, with the driver for any given model being guaranteed to never need e.g. hardware register addresses for hardware doesn't have.
That’s true, but will they have the volume of Apple’s laptops? There’s a pretty decent demand for those. Nobody cares if no-name ARM chip user can run Linux.
Anyone wanting to make money. The wealthy and influential predominantly use Macs.
I have never seen a Mac in a Bank, an Insurance or a financial institution
It's probably an US thing, where Apple has an higher market penetration.
With a global 8% is highly improbable that most wealthy and influential people use Macs.
Also, for 4 billion people in the world (China, India and most of Africa) the most used operating system is Android.
> I have never seen a Mac in a Bank, an Insurance or a financial institution
I worked in a financial institution, all the programmers were issued a MBP.
Nope [1].
[1] https://www.nber.org/system/files/working_papers/w24771/w247... Search “Apple”
https://www.businessinsider.com/android-is-for-poor-people-m...
I don’t know why it would be implausible that wealthy people use expensive products aimed at the high end of the market.
Android is on 75% of European phones, the CEO of the fortune 500 company I work for uses an Android phone, same goes for the vast majority of the management there, many highly influencial politics own Android phones, that's simply a spurious correlation
Also, alternatives will generally not match the quality of Apple's laptops. And the M1 has unique features[1] that other vendors are unlikely to replicate anytime soon.
[1] https://twitter.com/ErrataRob/status/1331735383193903104
I travel and move around a lot (not so much now, but I still move around my country and to the office), so portability is very important to me. Another advantage of the MacBook line is that I can carry one Anker dual USB-C charger and charge everything I have.
Any recommendation is more than welcomed!
Apple has the ultimate advantage of writing the OS and the chip and that level of integration is obviously not being met by anyone else in the industry.
I am not dismissing the possibility of an ARM desktop that is better performing than a similarly priced CISC system but I do doubt the level of difference Apple was able to achieve
In the last 2 years my family completely switched away from iPhones and has replaced most of our macs with Windows. I am the lone holdout and when this laptop dies I will probably switch as well.
It makes me sad. I used to love Apple. But they became focused on locking down a closed ecosystem and have consistently made the user experience worse. I hate Windows. But Apple has made themselves obnoxious enough that I no longer trust their upgrades, and do not want to be locked in to their fragile hardware choices.
Why do you not trust their upgrades?
How are their hardware choices fragile? Do you mean build quality or do you think their ability to build their own chips will fail them and their chips for all the ipads and iphones haven't cut it?
How are you not locked into the hardware choices of any laptop maker? Are there realistic, upgradable laptops out there? or are you switching to a desktop system?
I don't remember anything about broken backlights being a thing? Can you point me to an article or documentation where this was widespread?
I assume by updates locking down the system, you're talking about things like gatekeeper. What ways has this actually impacted you? What can't you run, and are these apps that have had any active developer attention in years?
You say they've lost their quality edge. Do you mean quality control coming out of their factory? That their defect rates have gone up? Or do you mean their products are being poorly designed?
https://appleinsider.com/articles/20/08/20/apple-sued-over-s...
> What ways has this actually impacted you?
None of Apple's mistakes have impacted me because I refuse to purchase broken hardware powering a walled garden.
> are these apps that have had any active developer attention in years?
I've got apps I run in PCem because Dosbox won't cut it. Why should I stop using software I prefer simply because someone has made something similar, wrapped in electron, running atop a hideous tower of dependencies and bloat? Hilariously, emulating a 90s PC running FreeDOS takes less memory and CPU than utilizing some modern alternatives.
> Do you mean quality control coming out of their factory? That their defect rates have gone up? Or do you mean their products are being poorly designed?
Backlight failures are both design and factory quality. The app lockout was software quality and design. The keyboard was design.
1. Having my phone break, one day out of warranty, with a factory defect. And then being unable to even set up an appointment because that phone was required for 2-factor authentication on my apple ID. (Which I don't even remember having set up.) I lost all data.
2. Having keys fall out of my computer requiring losing it for weeks. After that every article that I've read about how Apple has tried to lock down their hardware and make it harder for independent shops to repair has added to my concern that I'll have no options if it dies.
3. The Catalina upgrade was bad. A friend whose whole life was saved to iTunes found he was unable to migrate his extensive collection. His purchased movies, TV shows, songs, etc was over a terabyte, all gone. As for me, I was bit by the Catalina and Microsoft Teams don't want to play bug described in https://answers.microsoft.com/en-us/msoffice/forum/all/macos.... If you look at the thread, people are still reporting problems a year later. As for me, I cannot run XCode, and can only share my desktop if Teams is full screen.
You pay a premium for Apple hardware. You used to get a premium experience. The "premium experience" that I have been getting sucks. And not on hypotheticals, but on actual bad experiences that I have personally had.
That's who they've always been (post Woz, at least, which is a long time). They've always wanted to own the whole thing, from OS to hardware. There are advantages to that, but freedom for people to experiment, tinker, and run what they want isn't one of them.
I'm waiting on Unity to run natively on the M1. If it can magically beat my desktop PC ( working on an HDPR project now), I'm sold.
> laptop if he wants one—for example, the Pinebook Pro. The
> unspoken part here is that he'd like a high-performance
> ARM based laptop, rather than a budget-friendly but
> extremely performance constrained design such as one finds
> in the Pinebook Pro, the Raspberry Pi, or a legion of
> other inexpensive gadgets.
I believe he currently uses an AMD threadripper setup - there would be nothing stopping him using something like the PineBook Pro as a "dumb terminal" and having his builds done off-machine. It would mean that he is dependent on an internet connection, but it wouldn't have to be a fast one as he would only need to send deltas to the build process. (This would be on top of other mechanisms like CI.)
The PineBook Pro has quite a reasonable keyboard, is quite light and gets decent battery. He could reasonably use it all day without issue. Re-flashing it can be as simple as throwing a new SD card into it, which could also help in terms of security whilst traveling (re-flash it when you get to your location).
I would very much tell him and other people to seriously consider such a machine.
My feelings, exactly. Such a sweet piece of hardware, locked up to run only a nighmare OS.
I know I would be much happier buying Apple hardware to run free software if I didn't feel like I was feeding the walled garden (because Samsung-made hackiniphones don't pay 30% to apple).
If AMD (which already owns a good GPU architecture) chose to make an OS, it could get the same performance.
The vertical software integration creates many small wins that aren't insignificant overall but it's not why they are nearly 2x ahead of Qualcomm using the same ISA at the same power level in 3rd party userspace computation only benchmarks. There isn't any vertical integration in those, the raw performance is just better.
For another take on this Chrome vs Safari benchmarks put Chrome at ~90% the speed in web benchmarks and this is Chrome's 1st stable release of an M1 native version. At the same that's 45% faster than Chrome on my AMD 3950X. I remember when Apple added the Javascript rounding instruction to their chips people speculated that's why Safari was now so fast, turns out a Safari dev chimed it they hadn't started making use of it yet the new chips were just faster than before.
The implementation is not an ARM reference design; but it's Apple's own implementation. Why should they be forced to open it up? How are they limiting their competitors?
> they are nearly 2x ahead of Qualcomm using the same ISA at the same power level in 3rd party userspace computation only benchmarks
I'm not sure whether you're speaking about M1 or A14 here. A14 is just a bit faster than other mobile SOCs, certainly not 2x.
If you're speaking about M1... well, what are you comparing it against from Qualcomm? Do they have a similar product, with a similar target and power envelope? The recently announced Snapdragon 8cx Gen 2 from Qualcomm is around 6-7W TDP, which is 50% that of M1.
> There isn't any vertical integration in those, the raw performance is just better.
I'm unconvinced. We need to consider the 5nm production process, the everything-on-soc approach, and the fact that Intel is selling more-or-less the same CPUs as 5 years ago. The Ryzen 7 4800U is quite close to the M1 both performance wise and TDP wise. Now, take a 4800U, make it 5nm, build a SoC with it which includes the memory and build a finely tuned OS - aka "vertical integration". Would you really think you could appreciate a performance or thermal difference?
I was referring to the M1 at hand but actually the A14 is arguably in the 2x range as well, certainly not "barely ahead" as much as I love my Android with a Snapdragon. Qualcomm has been in this "ARM laptop" space for lack of a better term with things like the 8cx and now 8cx gen 2. While these Qualcomm laptop devices aren't completely blown out in multi-core (though it is a significant loss) Qualcomm's single thread performance isn't really that much better than the mobile chips it's based of off. Which to be honest is also true of the M1, it's not ridiculously better than the A14 by any means... the A14 just already trounced the 8cx even though it's for a lower segment. Hell I'd rather have an A11 from 2017 in my brand new Android phone.
I'm not really going to speculate with you on "what ifs" when we have the actual quantitative data from 3rd party benchmarks saying general purpose code ported by 3rd parties has nearly the same performance uplift as Apple got with its own software. Actual data tells more story than I could ever spin from personal theory.
As for the future Zen 4 going to the same TSMC 5nm process isn't going to close the wattage gap by any means but we'll have to see if AMD can make larger overall gains in single thread performance. Apples challenge with the M1X/M2 is going to be "does is scale to more cores" to compete with the likes of the *950X or Threadrippers as they move towards workstation hardware but that's a more tried and true challenge than trying to get x86 cores to run faster on less power. I don't want to count AMD out and I'm actually typing this from a 3900X with a 5950X on order but I can tell you right now it's noticeably faster to e.g. browse the web on my Fiancee's A14 Ipad than my liquid cooled 3900X with a 3090 and as Chrome has shown that's not because of magical software integrations because it's all got the same company name attached it's because the CPUs run the workload better.
> Hell I'd rather have an A11 from 2017 in my brand new Android phone.
Beaucse of it single-thread performance, I suppose?
> Complete vertical integration [...] is certainly creating a captive market segment which has only been growing in total size
I can't say I agree with the captive market argument. The problem with Apple is that a) it sells a lot and b) its product are probably the best ones.
But we can't say there's no alternative to Apple products - there are a lot. They're just not as good as Apple's.
Tesla is the best electric car. Is anybody thinking about splitting it up and claiming they're anti-competition? Some few luxury car brands (BMW, Mercedes, Audi) command an awful lot of the high-end car market, and offer some features that cheap cars don't have (e.g. Mercedes PRE-SAFE). Should they be split up?
A monopoly is something different. We wouldn't blame Rolls Royce for making the "best cars" at the highest price level.
Of course, if Apple sold their phones for $50 and their M1 laptops for $300, there could be a case for pushing other solutions out of the market. But this is NOT going to happen; the cheapest Apple phone on the market (iPhone SE) is 2x the price of a decent midrange Android phone, and the cheapest Apple M1 laptop (MB Air) is 2x/2.5x a cheap windows/linux option.
No other gadget maker has the internal engineering chops to do what Apple has done. And it'll be a few years before ARM releases a chip architecture that comes within spitting distance of the M1's performance -- by which time Apple will have released an even more powerful chip.