Live data from Hacker News

Native Linux GPU Driver for Apple M1

twitter.com

231–240 of 322 posts

Re: Native Linux GPU Driver for Apple M1

#231
post #147

Earlier quoted context omitted.

There's a much lower standard than "AAA gaming" which still delivers massive value to most users in running a desktop environment. Also, the Apple GPU has evolved from PowerVR roots dating back to the 1990s. It is fairly safe to assume that the next generation of Apple GPU will share enough with the current generation that in 3 years, supporting whatever new hardware exists will be incremental rather than transformat…

I don't really understand what's the difference between AAA game and Google Chrome? I thought that modern applications heavily use GPU acceleration. Is it some subset of GPU commands that's required for desktop, compared to AAA game? Is it possible that Google Chrome will crash the OS with some tricky CSS animation (may be in the future version)?

> Is it some subset of GPU commands that's required for desktop, compared to AAA game?

Yes. Compute shaders and geometry shaders are big features. Vulkan, DX12 and Metal also brought a jump in performance at the API level by allowing developers to batch commands sent to the GPU.

Desktop environments can and do leverage those newer APIs to get marginally better battery life. Asahi will miss out on those benefits, but the performance will be insanely better than “no GPU at all”.

Re: Native Linux GPU Driver for Apple M1

#232
post #14

Incredibly fun hack to make it work (start of the video): TLB flushing is a bit hard, so let's reset the GPU after each frame(!!!). And at the rate this advances, this comment will probably be obsolete in less than a week !

The standard solution: turn it off, and turn it back on.

That how Apache prefork + mod_php work

Re: Native Linux GPU Driver for Apple M1

#234
post #229

Earlier quoted context omitted.

Of course, guarantees in the non-legal sense of the word. If you work towards correctness by design this gives a certain assurance that you don't get if you do a lot of guesswork and hope for the best.

I'd be more sympathetic to this argument, by a lot, if I wasn't constantly encountering bugs in systems where there wasn't (or shouldn't have been) any guesswork needed. To (substantially) rephrase the point, you're saying "there's this additional source of bugs" without an argument that it's a significant enough source that it will stand out against the background of all the other sources of bugs. There's also a str…

This! In fact my experience generally is that things that are supported by "hobbyists" work better then official stuff.

Re: Native Linux GPU Driver for Apple M1

#236

Earlier quoted context omitted.

Quoted post unavailable.

Based on my own experience, you need to reevaluate your biases. I’ve had many avatars online, some male, others female, many not human. While it can be for others, my decisions were never about my feelings towards my gender or sexuality. I say this just to let you know these things are orthogonal. Just as you shouldn’t assume anything about a female child playing Peter Pan in the school production, you shouldn’t assu…

> these things are orthogonal

You're right. It was a poor judgement call to associate virtual avatars with anyone's sexuality; thanks for pointing it out.

Re: Native Linux GPU Driver for Apple M1

#237

Earlier quoted context omitted.

> Totally non-sarcastic question: then why bother? Because most of us looking into Asahi don't care for playing AAA games with it. We want Linux on our Mac laptop, with hw acceleration for the desktop and apps.

What AAA games would even run on an M1?

With the upcoming updates to Metal, in principle quite a few.

Re: Native Linux GPU Driver for Apple M1

#238

Earlier quoted context omitted.

meh expressions like that don't make sense to me. all these people everywhere saying things that don't make sense just because someone else said it before them. it's all just peer pressure from books and dead people. meanwhile I'm over here trying to understand and participate in conversations and no one cares about people who take words at face value. I hate this goddamned planet

Speak for yourself, I enjoy using idiomatic phrases because I like conveying nuance and expressing myself using a common phrases. :)

No post body was provided.

Re: Native Linux GPU Driver for Apple M1

#239

Some added context: Many may be reading this the first time and wondering, What gives with the NVIDIA drivers (Nouveau)? To put it simply, NVIDIA screwed third-party drivers by requiring a ever-changing encrypted and signed blob, hidden deep within the proprietary driver package, to be sent to the GPU every time it boots. Otherwise, you can't change the clock speed of your NVIDIA GPU from the boot clock speed, which…

nVidia only requires signed firmware starting from 2nd-gen Maxwell cards (released late 2014). There's a lot of existing nVidia hardware that could be fully supported.

Indeed, and lots of them are supported by nouveau:

https://nouveau.freedesktop.org/CodeNames.html https://nouveau.freedesktop.org/FeatureMatrix.html

Re: Native Linux GPU Driver for Apple M1

#240

Some added context: Many may be reading this the first time and wondering, What gives with the NVIDIA drivers (Nouveau)? To put it simply, NVIDIA screwed third-party drivers by requiring a ever-changing encrypted and signed blob, hidden deep within the proprietary driver package, to be sent to the GPU every time it boots. Otherwise, you can't change the clock speed of your NVIDIA GPU from the boot clock speed, which…

The signed blob (39 MB of RISC-V code) for newer cards is now publicly released and redistributable, so nouveau will be able to use it too.

https://blogs.gnome.org/uraeus/2022/05/11/why-is-the-open-so... https://lwn.net/Articles/894861/

Post reply on HN