Live data from Hacker News

An Update on Apple M1/M2 GPU Drivers

lwn.net

151–160 of 291 posts

Re: An Update on Apple M1/M2 GPU Drivers

#151
post #37

Earlier quoted context omitted.

They had limited uses and turned out to be incredibly hard to implement efficiently in hardware, so in practice it was nearly always faster to just keep using the proven techniques that GS was supposed to replace. http://www.joshbarczak.com/blog/?p=667

So why does instancing suck? I would have thought it would be heavily optimised in the driver...

It seems Device Generated Commands might be better case for instancing these days?

Re: An Update on Apple M1/M2 GPU Drivers

#152

What I really respect is the dedication to completing support for the M1/M2. Too many projects get dropped the moment the next shiny ray-traced toy comes along. I know this type of work can be challenging to say the least. My own dabble with Zig and Pinephone hardware drivers reminded me of some of the pain of poorly documented hardware, but what a reward when it works. My own M1 was only purchased because of this pr…

One thing I noticed in the M4 macbook announcement comments was how many people were happy with their M1 laptop, and second, how many people kept their Macbooks for nearly a decade; these devices are built to last, and I applaud long-term support from Apple itself and the Linux community. Second, since it's open source, Apple themselves are probably paying attention; I didn't read the whole thing because it's going o…

Underrated point, maybe it's aluminum unibody or more stable OS, but in my experience average MBP lifetime is meaningfully higher compared to a windows machine. My longest lasting windows machine was T400 Thinkpad which lasted 5 years before Core 2 Duo architecture stopped being able to keep up. It got replaced with HP Envy with great specs but made out of plastic which barely lasted 1.5 years before screen fell off (literally). Replaced with 17" 2014 MBP which is still alive after SSD replacement.

Re: An Update on Apple M1/M2 GPU Drivers

#153
Since bringing modern OpenGL and Vulkan onto Apple Silicon is impossible without an emulation layer anyway, could, theoretically, a native Metal API for Linux be created? Or is Metal too ingrained in macOS SDKs? MoltenVK is attempting to solve the same issues Alyssa was talking about in her talk [1, the last comment on the issue is hers]

[1] https://github.com/KhronosGroup/MoltenVK/issues/1524

Re: An Update on Apple M1/M2 GPU Drivers

#155

Earlier quoted context omitted.

One thing I noticed in the M4 macbook announcement comments was how many people were happy with their M1 laptop, and second, how many people kept their Macbooks for nearly a decade; these devices are built to last, and I applaud long-term support from Apple itself and the Linux community. Second, since it's open source, Apple themselves are probably paying attention; I didn't read the whole thing because it's going o…

Underrated point, maybe it's aluminum unibody or more stable OS, but in my experience average MBP lifetime is meaningfully higher compared to a windows machine. My longest lasting windows machine was T400 Thinkpad which lasted 5 years before Core 2 Duo architecture stopped being able to keep up. It got replaced with HP Envy with great specs but made out of plastic which barely lasted 1.5 years before screen fell off…

If you replaced the T400 because it felt slow, maybe it’s just a software/OS issue.

The hardware on Thinkpad T-models should last longer than just 5 years in general.

My daily-driver laptop at home is a T420 from 2011 with a Core 2 Duo, SSD and 8GB RAM. Works fine still.

I run Linux + OpenBox, so it is a somewhat lightweight setup to be fair.

Re: An Update on Apple M1/M2 GPU Drivers

#156

Since bringing modern OpenGL and Vulkan onto Apple Silicon is impossible without an emulation layer anyway, could, theoretically, a native Metal API for Linux be created? Or is Metal too ingrained in macOS SDKs? MoltenVK is attempting to solve the same issues Alyssa was talking about in her talk [1, the last comment on the issue is hers] [1] https://github.com/KhronosGroup/MoltenVK/issues/1524

Nothing is barring Apple from supporting Vulkan natively on MacOS. This is essentially the closing statement of Alyssa Rosenzweig´s talk.

With Apple knowledge of internal documents they are the best positioned to produce an even better low level implementation.

At this point the main blockroad is the opinionated point that Metal porting is the only official supported way to go.

If Valve pull up a witch-crafted way to run AAA games on Mac without Apple support that would be an interesting landscape. And maybe would force Apple to re-consider their approach if they don't want to be cornered on their own platform...

Re: An Update on Apple M1/M2 GPU Drivers

#157

> frankly, I think ray tracing is a bit of a gimmick feature That's incredibly arrogant. The whole industry is adopting ray tracing, and it is a very desired feature people are upgrading video cards to get working on games they play.

Not sure if I can process "incredibly arrogant" in relation to the Herculean work and insight demonstrated.

However, it is important to put things in context. Something can be a 'Gimmick' on several year old integrated mobile hardware that can't run most games at a reasonable FPS without it; and not a 'Gimmick' on cutting edge space heaters.

Re: An Update on Apple M1/M2 GPU Drivers

#158

Earlier quoted context omitted.

One thing I noticed in the M4 macbook announcement comments was how many people were happy with their M1 laptop, and second, how many people kept their Macbooks for nearly a decade; these devices are built to last, and I applaud long-term support from Apple itself and the Linux community. Second, since it's open source, Apple themselves are probably paying attention; I didn't read the whole thing because it's going o…

Underrated point, maybe it's aluminum unibody or more stable OS, but in my experience average MBP lifetime is meaningfully higher compared to a windows machine. My longest lasting windows machine was T400 Thinkpad which lasted 5 years before Core 2 Duo architecture stopped being able to keep up. It got replaced with HP Envy with great specs but made out of plastic which barely lasted 1.5 years before screen fell off…

There's also the fact that the quality is all-round higher, making them more enjoyable to use. The current HP Elitebooks have much crappier screens than my 2013 MBP. Touchpads have improved, but they're still leagues behind that 11-year-old machine.

I'm usually fairly careful with my things, so my gen8 hp elitebook still has all its bits together, but I've never really enjoyed using it. The screen, in particular, has ridiculous viewing angles, to the point it's impossible to not have any color cast on some region.

Re: An Update on Apple M1/M2 GPU Drivers

#159

Earlier quoted context omitted.

One thing I noticed in the M4 macbook announcement comments was how many people were happy with their M1 laptop, and second, how many people kept their Macbooks for nearly a decade; these devices are built to last, and I applaud long-term support from Apple itself and the Linux community. Second, since it's open source, Apple themselves are probably paying attention; I didn't read the whole thing because it's going o…

Underrated point, maybe it's aluminum unibody or more stable OS, but in my experience average MBP lifetime is meaningfully higher compared to a windows machine. My longest lasting windows machine was T400 Thinkpad which lasted 5 years before Core 2 Duo architecture stopped being able to keep up. It got replaced with HP Envy with great specs but made out of plastic which barely lasted 1.5 years before screen fell off…

ThinkPad X220 here. From late 2012 until late 2023 in service with Linux. It is still usable but finally replaced it by an X13 Gen3 AMD with Linux. The magnesium body is a bless and feels a lot better to the skin than aluminium. The HiDPI display is the biggest upgrade. The six row keyboard is sturdy but a downgrade from the seven row keyboard. I miss the notch to open the lid.

It got worse with Gen4/5 which now have an awful hump (reverse notch) like a smartphone.

The long usage of the X220 depends on the built quality but also on the five year replacement part support. New batteries and a new palm rest (cracked during a journey). It not just quality you pay for, it is this support level. And of course more memory. Apple still fails in this regard and barely does something when forced by the European Union. Anyway - Apple doesn’t officially support Linux therefore I cannot buy them for work.

This is the part wich saddens me, they do good work and the next MacBook will also not run fully with Linux. This kind of catchup things by hackers cannot be won - until the vendor decides you’re a valuable customer. Therefore, don’t buy them that you can run Linux. You maybe can. But these devices are made for macOS only.

But if you want to run Linux on a MacBook? Talk your politicians! And send „messages“ with your money to Apple. Like buying ThinkPads, Dells Developer Edition, Purism, System 76 and so on :)

Re: An Update on Apple M1/M2 GPU Drivers

#160

Earlier quoted context omitted.

Underrated point, maybe it's aluminum unibody or more stable OS, but in my experience average MBP lifetime is meaningfully higher compared to a windows machine. My longest lasting windows machine was T400 Thinkpad which lasted 5 years before Core 2 Duo architecture stopped being able to keep up. It got replaced with HP Envy with great specs but made out of plastic which barely lasted 1.5 years before screen fell off…

ThinkPad X220 here. From late 2012 until late 2023 in service with Linux. It is still usable but finally replaced it by an X13 Gen3 AMD with Linux. The magnesium body is a bless and feels a lot better to the skin than aluminium. The HiDPI display is the biggest upgrade. The six row keyboard is sturdy but a downgrade from the seven row keyboard. I miss the notch to open the lid. It got worse with Gen4/5 which now have…

> The magnesium body is a bless and feels a lot better to the skin than aluminium.

Just curious, how does it feel better? My framework apparently has an aluminium lid and a magnesium base, and the mg feels “smoother” than the slightly more textured al… however my iPad is apparently aluminium too and is smooth to the touch.

Post reply on HN