Live data from Hacker News

Native Linux GPU Driver for Apple M1

twitter.com

301–310 of 322 posts

Re: Native Linux GPU Driver for Apple M1

#301
post #300
post #295

Earlier quoted context omitted.

>Variable length instruction coding for instance, which means a surprising amount of power is dedicated to circuitry which is just to find where the instruction boundaries are for speculative execution. This does apply to x86 and m68k, as "variable" there means 1-16 byte, and dealing with that means bruteforcing decode at every possible starting point. Intel and AMD have both thus found 4-wide decode to be a practica…

Maybe. If I remember well, Apple ARM M1 can decode up to 8 instruction at the same time, is-there any RISC-V CPU with the C extension which is able to decode 8 instructions?

>is-there any RISC-V CPU with the C extension which is able to decode 8 instructions?

Sure, there's Ascalon[0], 8-decode 10-issue, by Jim Keller's team at Tenstorrent. It isn't in the market yet, but is bound to be among the first RISC-V chips targeting very high performance.

Note that, at that size (8-decode implies lots of execution units, a relatively large design*), the negligible overhead of C extension is invisible. There's only gains to be had.

C extension decode overhead would only apply in the comically impractical scenario of a core that has neither L1 Cache nor any ROM in the chip. Otherwise, it is a net win.

And such a specialized chip would simply not implement C.

0. https://youtu.be/yHrdEcsr9V0?t=346

(*: 8-wide decode being small is just Jim Keller's idea of a joke)

Re: Native Linux GPU Driver for Apple M1

#303
post #207

Earlier quoted context omitted.

> why bother? I wonder the same thing, but from an ideological perspective. Why should the free software community promote Apple hardware by making it more accessible to OSS enthusiasts, when Apple only cares about OSS when it directly benefits them? Apple makes great hardware, but they're actively hostile to everything free software stands for. If Apple cared about this user base, they would work on this themselves.…

Right now, Apple makes arguably the best laptop hardware on the market thanks to its chipset. Why should you be forced to choose between non-free software and subpar hardware? Why not liberate the hardware?

Because it will always be an uphill battle, where the biggest beneficiary will be Apple. I'm not saying the OSS community should boycott Apple, but maybe let's not help them sell more machines.

I think there are plenty of "good enough" laptops that run Linux just fine, so I'd rather use those than have the relatively "best" hardware, but have to fight it to run the software I want, deal with any incompatibilities, and fear that it might break at any point. Standard Linux on supported hardware has plenty of issues; I can't imagine what the experience is like on completely opaque hardware, as much progress as the Asahi team has made. It's like a reverse Hackintosh project, which has always been a painful experience.

Re: Native Linux GPU Driver for Apple M1

#304
post #13

I've been following Asahi for some time on twitter. The work she did is incredible and everything was streamed and the recordings are available in Youtube. In case you're curious about the process, here you have her YouTube profile: https://www.youtube.com/AsahiLina

I really like the work being done on this project and I want to keep up, but the voice is like nails on a chalkboard to me. I can't listen to more than two seconds without closing.

Re: Native Linux GPU Driver for Apple M1

#305
post #303

Earlier quoted context omitted.

Right now, Apple makes arguably the best laptop hardware on the market thanks to its chipset. Why should you be forced to choose between non-free software and subpar hardware? Why not liberate the hardware?

Because it will always be an uphill battle, where the biggest beneficiary will be Apple. I'm not saying the OSS community should boycott Apple, but maybe let's not help them sell more machines. I think there are plenty of "good enough" laptops that run Linux just fine, so I'd rather use those than have the relatively "best" hardware, but have to fight it to run the software I want, deal with any incompatibilities, an…

I think that is all personal preference. I'd rather hack around incompatibilities than settle for "good enough" while macOS gets best of class hardware.

Re: Native Linux GPU Driver for Apple M1

#306
post #98

Earlier quoted context omitted.

Microreboot – A Technique for Cheap Recovery https://csis.pace.edu/~marchese/CS865/Papers/candea_microreb...

Even earlier: Erlang. https://erlang.org/download/armstrong_thesis_2003.pdf

An omission of both mine and the Candea-Fox papers.

Re: Native Linux GPU Driver for Apple M1

#307

Earlier quoted context omitted.

Quoted post unavailable.

10 minutes of Googling would show you that Hector is not the GPU driver developer in the Asahi project.

And the person who is denies being Asahi Lina. Meanwhile, Lina sometimes shows paths with "/home/marcan42" in shells during their streams. Martin's not admitting it but he's doing a poor job of hiding it too.

Re: Native Linux GPU Driver for Apple M1

#308

Earlier quoted context omitted.

Even earlier: Erlang. https://erlang.org/download/armstrong_thesis_2003.pdf

An omission of both mine and the Candea-Fox papers.

I was disappointed to not see it, but I’m not sure how widely-available information was by then.

Re: Native Linux GPU Driver for Apple M1

#309

Everybody knows that marcan = AsahiLina. I guess he just does V-Tubing for fun? I don't know and I don't understand, I find the voice and the background music also a bit annoying, but its fine... his/their work is great!!

Marcan directly said at one point that AsahiLina wasn't him. But, I can't tell if it's really not him or if it's "not him" as in "it's not me, it's my character" and he wants it to be ambiguous.

Re: Native Linux GPU Driver for Apple M1

#310
post #278

Earlier quoted context omitted.

They do, demonstrably, have some sort of say. The M1 Macs have had deliberate support for 3rd party OSes since more or less day 1 (just not exposed/advertised), and Apple made some early changes to enable Asahi. Some recent comments by marcan on the topic: https://twitter.com/marcan42/status/1554395184473190400

I don't see engineers having a say here. Instead, I see a lot of praying, begging and hoping in that thread.

What do you want, engineers explicitly coming out and saying they designed the system to make this possible? Oh wait, they did.
Post reply on HN