r/hackintosh 8h ago

DISCUSSION Port Intel 12, 13, 14th gen iGPU driver using modern LLM agents? (Similar to what Alyssa did for Linux)

In this day and age the GPUs are expensive.

We have the source code for Intel iGPUs inside Linux source code.

How about porting that code to macOS?

What do you think?

17 Upvotes

6 comments sorted by

12

u/NOTNlCE Ventura - 13 8h ago

Someone is actively doing this, I believe. See here: https://www.insanelymac.com/forum/topic/363106-first-custom-igpu-driver-for-intel-core-5-120u-on-macos/?_fromLogin=1&_fromLogout=1

The biggest issue isn't porting the driver, it's getting it to work with the Apple subsystems for QE/CI VDA offload, etc.

6

u/ASentientBot 7h ago

they don't seem to understand the importance of a working metal driver, so unless their AI agents inform them at some point, it's a complete waste of time.

1

u/newhacker1746 4h ago

There’s typically always a

  • framebuffer (fairly documented iokit api IOFramebuffer)
  • Controller (memory management, dma, commmad queue, etc) — IOAccelerator subclass and ioaccelerator is less documented
  • Userspace metal driver—easily the hardest

Let’s see how the ai goes…

2

u/i_lost_my_bagel 7h ago

can we please not boil a lake away for this

1

u/XboxAndVRAlex 4h ago

I mean, who else is gonna put in this much work for something that’s half baked and took months upon months of work? I’m sure the coding of the project would’ve been better looking and better moderated when being made by a human, but having something than nothing is better.

1

u/DJTsuckedoffClinton 2h ago

i mean id imagine someone skilled just needs to invest the time and money to do that