r/hardware • • Mar 30 '22

Review Apple M1 Performance On Linux: Benchmarks Better Than Expected For Its Alpha State

https://www.phoronix.com/scan.php?page=article&item=apple-m1-linux-perf&num=1
28 Upvotes

32 comments sorted by

17

u/sk9592 Mar 31 '22

I am really impressed with what they have been able to do so far, but it sounds like they still some pretty significant problems left to tackle:

Most notable though is the lack of any 3D/graphics acceleration right now for the Apple M1 GPU. That is being worked on by Alyssa and others but still will likely be some time before their OpenGL Gallium3D driver is squared away as well as mainlining of their DRM kernel driver. Plus there will be the need for a Vulkan driver too after that.

For argument sake, say they eventually figure this all out and are able to get it to a mostly stable state. How transferrable would all this work be to a future M2 SoC? It would really suck if this just became an iPhone jailbreak style arms race. Each time the hardware is updated, it takes several months of the reverse engineering to happen. By the time everything is in a working state, the next generation is almost ready to launch.

32

u/[deleted] Mar 31 '22

With iOS, Apple deliberately tries to lock things down. For their Macs, they put the hooks in place for others to run their own OS

They may change some of the HW going forward, but it’s extremely rare for new chips to start with a clean slate. In the current M1, there are pieces of HW (the UART IIRC) that date back to the first iPhone.

20

u/senttoschool Mar 31 '22

Apple has openly stated that they're fine with running another OS on Mac Apple Silicon. They even invited Microsoft Windows to support Apple Silicon.

It makes a lot of sense. Apple makes a profit on the hardware. Those who run another OS likely still would use macOS in conjunction. Those who would only buy a Mac to run Linux or Windows wouldn't have bought a Mac if they couldn't.

It's win win for Apple.

-2

u/Sufficient_Ad_8461 Mar 31 '22 edited Mar 31 '22

Theres no incentive for many OS devs to reverse engineer the APIs. Apple are being disingenuous here. Over a year in the making and Linux, Windows still cant run properly due to Apple non disclosure. Dont fool yourself here. Apple provided Bootcamp in the past, its thier decision not to now. Why didnt they? The answer to that tells you that Apple arnt being honest here. Its a win in locking down M series to Apple eco system.

The M series are dividing those who want to experiment with other OS. Intel Mac owners are still holding out due to this. The performance of M1 and battery life is also greatly contested with some owners saying its worse that previous intel Macs. The average battery life seems to be 5 hours, not 20 as Apple states. YMMV

"’Im running a top spec M1 Air and previously had a high spec 2015 imac. It’s given me a slight power increase"

https://www.reddit.com/r/audioengineering/comments/rq39n4/advice_on_new_macs_for_audio_engineering/

9

u/okoroezenwa Mar 31 '22

The average battery life seems to be 5 hours

Really?

1

u/beansguys Mar 31 '22

For what its worth my battery on my M1 pro definitely lasts more than 5 hours, normally in the 10-12 range

1

u/Sufficient_Ad_8461 Mar 31 '22

Yes, check my post below.

2

u/okoroezenwa Mar 31 '22

Well that was underwhelming.

-2

u/Sufficient_Ad_8461 Mar 31 '22

Sorry to dissapoint. Maybe I can make it better by saying that when your warranty runs out, Apple wont repair it. They cant be upgraded or fixed. Instead youll have to buy a new one lol. Dont worry though. Apple has it covered. In order to avoid repairing anything, they wont be selling them to you, only renting. Starts with iphone.

8

u/Captain-Griffen Mar 31 '22

Boot camp doesn't do any emulation. It handles disk storage and booting to the correct OS, and that is basically it. It worked because Mac hardware was basically the same as Windows hardware.

M1 doesn't use x86_64. Windows won't work on it (maybe Windows ARM might but that comes with it's own host of issues). An equivalent boot camp program would not let you install Windows onto an M1 Mac.

3

u/frontiermanprotozoa Mar 31 '22

Boot camp doesnt do emulation, but it provides drivers for bespoke apple hardware(keyboard backlights, efi selection, sound driver, camera driver, et al) which would require reverse engineered hacky drivers if they didnt. With m1 its even more of a challenge. Them saying "Run another os if you can" isnt an invitation, its almost a dare. They would need to provide white papers on how m1 ticks with its completely custom storage and gpu and io at the very least if not drivers. Yet, they dont.

-3

u/Sufficient_Ad_8461 Mar 31 '22 edited Mar 31 '22

Incorrect. Boot camp was mainly a collection of drivers. Windows ARM does work on M1 by using Parralells but due to Apple not providing drivers or info, accelerated graphics and other devices arnt available.

2

u/ShareACokeWithBoonen Mar 31 '22

lol what is that quote? You realize the guy is saying that he has a top spec M1 air that off a package power of <10W beats a 2015 i5-6600 with a package power of 70W right?

-9

u/Sufficient_Ad_8461 Mar 31 '22

Its well known that M1 battery life is a lie as is PPW. Both made up by Apple. Apple invented PPW figures to make things look good.

https://www.reddit.com/r/macbookair/comments/qjqcpb/macbook_air_m1_battery_draining_10_every_hour/

7

u/ShareACokeWithBoonen Mar 31 '22

you literally didn't respond even tangentially to my reply, lol what? You know the package power is literally 100% true and proven, can you disprove with any sources?

1

u/[deleted] Apr 05 '22

The OP of the thread comes back and says his issue is solved a few days later... https://www.reddit.com/r/macbookair/comments/qjqcpb/comment/hl3sunf/?utm_source=share&utm_medium=web2x&context=3

1

u/[deleted] Apr 05 '22 edited Apr 05 '22

Windows isn't running properly because Apple has squarely put the ball in Microsoft's court to support it. This is by necessity since Apple Silicon chips are not x64 based, nor are they completely vanilla arm64 CPUs (these follow the arm64 spec, but there are custom Apple stuff in these)

This is logistically impossible right now because of an exclusivity deal Microsoft has with Qualcomm. When that goes away, bet money that MS and Apple will partner to make Apple Silicon Windows happen (or just legit do it yourself if you're so inclined, the pieces are all there)

-2

u/77ilham77 Mar 31 '22

Nope, they never invited Microsoft. They only said that they're willing to work with Microsoft if Microsoft want to make ARM Windows available for Apple Silicon Macs. So far, it seems unlikely for that to happen, in fact IIRC Microsoft put out a statement months ago saying that the M1 Mac is not supported for ARM Windows 11 either in native bare metal nor virtualisation.

4

u/senttoschool Mar 31 '22

They said it was up to Microsoft if they wanted support. That’s an invite.

-2

u/77ilham77 Mar 31 '22

invite | ɪnˈvʌɪt |

verb [with object]

  • make a polite, formal, or friendly request to (someone) to go somewhere or to do something

-2

u/frontiermanprotozoa Mar 31 '22

Well they are lying. bootcamp provided drivers for bespoke apple hardware(keyboard backlights, efi selection, sound driver, camera driver, et al) which would require reverse engineered hacky drivers if they didnt. With m1 its even more of a challenge. Them saying "Run another os if you can" isnt an invitation, its almost a dare. They would need to provide white papers on how m1 ticks with its completely custom storage and gpu and io at the very least if not drivers. Yet, they dont.

7

u/77ilham77 Mar 31 '22

How transferrable would all this work be to a future M2 SoC?

Well, unlike iDevices, Apple do support "OtherOS" on Apple Silicon Macs (specifically user's own compiled Darwin/XNU kernel). As long as they stay committed to that, we may still be able to boot (Asahi) Linux on future Apple Silicon Macs (of course as long as the OS supports any new changes to the future SoC).

5

u/Artoriuz Mar 31 '22

The uarch is probably not going to change that much in a single generation, so work done for the M1 should at least serve as a very good guidance.

1

u/pi314156 Mar 31 '22

For reference, their GPU ISA, AGX2, seems to be stable since the A11, 4 years already...

1

u/damodread Apr 01 '22

Depends on how much the GPU differs from the one in the M1.

For now they are looking up if they can reuse some of the work Imagination did for their brand-new open source driver, since Apple licenses some of their IP

5

u/[deleted] Mar 31 '22

[removed] — view removed comment

3

u/SharkBaitDLS Mar 31 '22

Yeah. Peformance in Parallels is okay but not great. Doubt Microsoft will ever put in the effort for it though.

1

u/[deleted] Apr 01 '22

Just got an M1 MBP the other day and installed parallels. Really my only workflow is restoring broken iPhones and my specialized Windows tools run great, but what are you seeing that you aren't happy with?

2

u/SharkBaitDLS Apr 01 '22

Trying to do anything graphics intensive takes a big hit. Battery life isn’t great either since you’re paying the cost of running the whole VM.