Live data from Hacker News

The first conformant M1 GPU driver

rosenzweig.io

411–420 of 699 posts

Re: The first conformant M1 GPU driver

#411
post #131

Earlier quoted context omitted.

Makes me wonder... is it possible to use this from macOS?

Depends on what you precisely mean by "this". The user space part can easily be used from macOS. That's how the author first developed it without a working kernel driver. From https://asahilinux.org/2022/11/tales-of-the-m1-gpu/ > But wait, how can she work on the user space driver without a kernel driver to go with it? Easy, she did it on macOS! Alyssa reverse engineered the macOS GPU driver UAPI enough to allocate m…

I don't think the newer MESA drivers can interact with the OSX UAPI. That was just a stopgap until the Linux Kernel driver was far enough along.

Re: The first conformant M1 GPU driver

#412

Earlier quoted context omitted.

Still no iPhone with USB-C :(

This year definitely because of the EU mandate. It will probably still be nerfed like the low end iPad that has USB C. But still transfers at USB 2 speeds

I honestly don’t get why people are so furious about this. I asked my two siblings, two friends from my uni days and two friends from work and none of them have used the Lightning (soon to be USB-C) port for anything but charging and music.

None of them even remember connecting it to a computer past the iPhone 5S.

Re: The first conformant M1 GPU driver

#413

Earlier quoted context omitted.

Employment is a poor proposition. Typically employees make poor money in comparison to what kind of profit they generate, that especially applies to IT. Anyone with a talent, should rather seek to incorporate and sell their services at fair price. Unfortunately in some countries, big corporations managed to lobby governments to put a stop to that.

> Typically employees make poor money in comparison to what kind of profit they generate I think it’s the opposite - developers are overvalued.

I understand where that sentiment comes from, especially looking at the slew of mid-sized companies that have never turned a profit despite paying multiple hundred K TCs, but if you look at the profits of the giants, it paints a different picture. The labor of thousands of very highly compensated engineers is still a drop in the bucket of the revenue generated by their labor. Alphabet seemingly employs somewhere between 20-40 thousand engineers, and it is their labor that produced all (?) of their revenue generating products. Spreading last year's revenue (~$282B) across their engineering staff would yield a revenue in the ballpark of $9M per engineer.

We all know that their engineers are paid well, but that's still potentially more than an order of magnitude off of the value they generate. Of course, there are many other expenses to running their business, but to claim that broadly developers are overvalued when one of the most prolific employers of developers is generating 10x+ the revenue of what they spend on them, is likely no more than only occasionally correct.

Re: The first conformant M1 GPU driver

#414
post #105

Earlier quoted context omitted.

> Also, couldn't find anything coming near the value of a baseline Macbook Air M1 as far as build quality, battery life, stability etc. is concerned. I have a Surface Laptop 4 with an AMD processor and 16GB of RAM. I'm extremely happy with it, though I'll concede that the build quality is a click lower than a M1 MacBook Air (two of the rubber feet have fallen off of mine, being my main ding against it) and nobody can…

> Oh, and the facial recognition unlock is the best. This is scary as fuck. Combined with all the telemetry and tracking M$ is now doing without care from within its operating system. Windows and Android are subsidized data collection applications which run on subsidized hardware. Simple as.

Across every consumer-facing device where it has ever been deployed—which is probably in the billions at this point thanks to iPhone alone—consumer-grade biometric face unlock technology has a body count of precisely zero.

If I turn out to be the world's first facial recognition casualty, that would be SUCH a hilariously unlikely way to go that I almost couldn't even be mad about it.

Re: The first conformant M1 GPU driver

#415
post #156

Earlier quoted context omitted.

I just don't see how it's incumbent on Apple to implement a standard only because it exists. It takes significant resources and impacts release schedules to, say, support an on-going vulkan implementation... I think there would need to be a business argument for it. Avoiding "shame" probably doesn't cut it. It just strikes me as strange when people expect Apple to spend money and focus on their own personal prioritie…

> It takes significant resources and impacts release schedules to, say, support an on-going vulkan implementation... Let's see... on one hand we have two devs who made it happen (for OpenGL; with Vulkan coming in the future), with essentially no funding, purely in their spare time and without any documentation, just by reverse engineering the hardware. On the other hand we have a trillion dollar corporation, with 100…

No one said they don’t have the resources. They just asked why it’s incumbent on Apple to spend them, which your response.. doesn’t address at all? If we’re going to post with that much sarcasm let’s try to have equal amount of substance to go with it?

Re: The first conformant M1 GPU driver

#416

> Unlike ours, the manufacturer’s M1 drivers are unfortunately not conformant for any standard graphics API, whether Vulkan or OpenGL or OpenGL ES. Yes, it is conformant to a graphics API. It's called Metal¹. You might enjoy pretending that "the manufacturer" hasn't given a damn to provide a fully working and highly performant graphics API designed under the same roof alongside the people who designed the hardware, b…

Metal is not a standard graphics API. It's a platform-specific Apple thing. I use it and it's pretty nice, but it's not a cross-platform standard.

Re: The first conformant M1 GPU driver

#417

Earlier quoted context omitted.

That could have been overcome. The general crustiness of flash could not have been (from Apple's POV). Apple used to ship a dev app called "Spin Control" that would log stack traces whenever an app failed to drain its event queue in a timely manner (i.e. beachball). One time I accidentally left this open for an entire week, went about a bunch of assorted business, and when I came back every single stack trace had to…

Yeah Flash was slow, but the common alternatives for in-browser animation/games were (and still are) far slower. H.264/5 maybe did video better than Flash, even then idk, Flash YouTube was always way faster on my old iMac than HTML5 YT. Google Hangouts/Meet will lag a high-end Intel MBP thanks to the unaccelerated VP8/9 video, but AIM Flash-based video calls ran fine on an iMac G4. On top of that, there was never a r…

Perhaps it was fast due to lack of tight security policies etc. These days, everything has to be containerized or be in a sandbox. That adds layers of overhead. Probably also why Google killed NaCl (Native Clients for Google Chrome). It was loosely in the same space as Flash and ActiveX - anyone remember that?

Re: The first conformant M1 GPU driver

#418
post #12

"Of course, Asahi Lina and I are two individuals with minimal funding. It’s a little awkward that we beat the big corporation…" Love the euphemism. This puts Apple to shame, plain and simple. They obviously don't care about standards, or compliance, because they like people to be walled in their own little private garden (still waiting for the facetime standard, or any kind of cross-platform technology created in the…

[deleted]

Re: The first conformant M1 GPU driver

#419
post #337

Earlier quoted context omitted.

Then as they clawed their way back from the precipice, they started "adding value" again. I don't know if I can agree. On the software side, MacOS supports all those things. On the hardware side, it's still (edit: almost) nothing but industry-standard ports.

Right, I quite often charge my Asus laptop with my MagSafe charger.

I think you are joking, but if you want to, you can buy an adapter for like €10 that will go from magsafe to USB-C, and then indeed charge your non-Apple laptop with it.

Re: The first conformant M1 GPU driver

#420
It's great to read about Rosenzweig's achievements with the graphic driver for the M series. How did they hack the proprietary compiler to output their instruction? What compiler are they referring to?

The OpenGL compliance gives hope that a simple recompile will make some graphics applications available at high performance under Linux on Apple Silicon, this is good news. It's a niche of a niche though. Devs would be porting their apps to MacOS as a priority to Linux on the M1/2/3 if at all.

Post reply on HN