Having worked briefly on GPU drivers (amd ex-ati) I'm curious how this can be done. There were myriad details inside that code that related directly to particular controls deep in the basics (micro cache enables, chicken bits, N-1 toggles, memory access radices, etc). Many of them were set once, not dynamically. And clearly not documented anywhere outside HQ. And almost none had a visible effect...until a long chain of operations caused a fantastic crash, or trivial one. Experienced people spent months with the manual, fancy tooling, and the hdl and the designers downstairs to get it shippable and then time was spent after shipping.
I would say you can scan 100s of games to see how they operate the hw...but many games have individual engs assigned to work w game devs to hash out configs down long trees of operations... this feels like learning Chinese with almost no feedback. There are so many parts/corners of the internals that get manipulated.
I could see moving from "one clone of every apps' code" to "common parts distilled," but what are the chances it could be reliable with code it hasn't been trained on that uses a novel feature?
>> And clearly not documented anywhere outside HQ.
One user with the email [email protected] leaked the internal docs
There was already a big leak of proprietary NVIDIA driver source a few years ago. Overall there’s probably lots of information out there.
Considering https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md specifically mentions decompiling the proprietary driver I assume that was used as a reference for stuff like that.
And makes me wonder what the author thinks "clean room" means.
For modern drivers, I believe all those fiddly bits have essentially been moved into the firmware. Nvidia is packing them all into the GSP. That remains an impenetrable binary blob.