327 comments

  • diydsp 6 hours ago

    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?

    • tsukikage 5 hours ago

      > scan 100s of games

      I see zero indication in the docs that the authors care about games, or indeed video output at all. The target use cases are headless: LLM inference and crypto mining.

      • harikb 39 minutes ago

        One of the two authors work for OpenRouter. So you are probably right

      • ChuckMcM 29 minutes ago

        This, they don't care at all about games, they want to run AI models on them. What I'm curious about is if that is possible not knowing what the parts of the driver that enable video processing "do". Lots of questions about that.

        Not to mentioned if you have a vibe coded engine for your running your LLM is that uncertainty on top of uncertainty in terms of the work product? Anyone have a good paper on the transitive properties of vibe coded AI's accuracy vs "less" vibe coded AI?

    • derefr 24 minutes ago

      > 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.

      A bit of a tangent, but: do you have any idea why these things get handled in the GPU driver in the first place, rather than the GPU having firmware that does its own bring-up into a useful state before it ever starts letting the CPU talk to it?

    • Betelbuddy 6 hours ago

      >> And clearly not documented anywhere outside HQ.

      One user with the email AHuang234@protonmail.com leaked the internal docs

      • RebeccaTheDev an hour ago

        This reminds me of the hilarious comments you used to see on Slashdot back in the day. Bravo! :D

      • ndesaulniers an hour ago

        lol, this made me spit out my coffee!

        (why would someone use proton mail, then proceed to use such an identifiable handle?)

        • waynecochran 4 minutes ago

          Brilliant -- laughed out loud myself .. amazed out how many HN folks didn't get the joke

        • danlitt an hour ago

          It's clearly an identity, but surely not the identity of the leaker. I assume it's a reference to Alice Huang, but who knows, Huang is an incredibly common name.

          • airstrike an hour ago

            It also sounds like "One", hence 2, 3, 4...

        • abirch an hour ago

          This is a joke email address in a nod to Alice Huang[1] [1] https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...

          • ndesaulniers 35 minutes ago

            Yeah, I got the joke, which is why I spit out my coffee.

        • MASNeo 36 minutes ago

          Made my day. Thank you.

      • zoobab 5 hours ago

        ">> And clearly not documented anywhere outside HQ. One user with the email AHuang234@protonmail.com leaked the internal docs"

        One day there will be fines for unpublished/incomplete datasheets?

        • stronglikedan 4 hours ago

          Jeez, I hope not. That sounds very authoritarian.

          • kennywinker 2 hours ago

            This is exactly the use case for gov regulation. Bad regulations protect monopolies and oligopolies, but forced openness, interoperability, and transparency are a simple easy win. Compliance isn't hard, just release your internal documentation.

            • rcxdude an hour ago

              Part of the problem is that often isn't any internal documentation: it's literally a case of talking to whoever designed it and tracing through that actualy implementation.

            • smitty1e 2 hours ago
            • poontanglatits an hour ago

              Yes, only the government can be trusted.

              • phoghed an hour ago

                You’re going to be equally downvoted by people who think you’re being serious and people who think you’re being facetious lol

                • ixtli an hour ago

                  idk i think its obvious sarcasm which is gonna be downvoted because US people are really fucked over by a lack of consumer protection so the idea that government is necessarily useless and inefficient isn't a punchline anymore lol. "run it like a business" won and were living in that shit soup.

          • sophacles 2 hours ago

            The definition of authoritarian is not "there exists a rule".

            Authoritarian is used to describe systems that limit individual freedom in favor of a strong limited set of authority.

            A rule that says a corporation, that is a legal entity that limits liability for actions and ownership, must release enough information for its products to allow people to do as they please with them, seems to maximize individual freedom at a small cost to the corporate authority.

            Frankly it seems a good tradeoff to me - if you want to sell something while limiting your liability for what you sell, I'm fine with making that part of the requirements for limited liability.

            Although i do think that people willing to take on full liability for their products and actions can still withold the information.

          • swiftcoder 4 hours ago

            And yet necessary to ensure adversarial interoperability

            • cowlevel 44 minutes ago

              Adversarial interoperability is adversarial. If you want it, go and decompile an Nvidia driver.

          • idiotsecant 2 hours ago

            >That sounds very authoritarian.

            so are enforced traffic laws. Unfortunately without them the morning drive would have more in common with gladiatorial combat than commuting.

            • thephyber an hour ago

              That's not at all what authoritarian means.

              • danlitt an hour ago

                Neither is "you must publish a certain dataset". Isn't that the point of this subthread?

      • badgersnake 4 hours ago

        So not clean room at all then

        • circuit10 3 hours ago

          I'm pretty sure this is a joke, not a serious comment: https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...

        • lp92 2 hours ago

          It was a joke about Alice Huang.

        • KPGv2 4 hours ago

          Unless it uses nvidia code or trade secrets, it's still clean room

          A document being leaked (widely) by a third party renders all of its trade secrets contents no longer trade secrets, by definition (yes, even if the doc was obtained through espionage).

          The only person nvidia could go after for this is the person who leaked the doc, not anyone who uses the doc. This is why protecting trade secrets is so important: the only remedy is suing the discloser if they had no authorization to disclose. This is specifically the reason ndas exist: to provide for recourse if trade secrets are disclosed publicly. At no point do you obtain the right to sue someone who wasn't bound by trade secrets law.

          So this is still a clean room implementation.

          • badgersnake 4 hours ago

            The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.

            • xoa 2 hours ago

              >The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.

              Seems like it effectively doesn't matter in this case? Nvidia would struggle to prove any significant damages from a copyright perspective given it's not something they sell. But that's a detail really, even the simple statutory max of $150k/copy (in this case just one copy), which would be ruinous for the classic case of someone downloading tons of songs or something, might as well be rounding error for a open source set of Nvidia drivers. I doubt they'd even bother. And the entire point of clean room reverse engineering is to start with copyrighted material and then break the chain ending up with material copyrighted by the RE team instead of the source copyright holder. Even if the original source is an act of infringement of one kind or another it doesn't change that process. A factual spec sheet is still completely unprotected.

              The real question is software patents. While patents can be challenged and invalidated, nothing bypasses them either.

            • bluGill 4 hours ago

              True, but there are limits to copyright protection. You can read the document and write your own version easy enough. Most of what is contains is functional facts which are not subject to copyright (only patents)

              • lukan 2 hours ago

                "You can read the document and write your own version easy enough."

                I don't think it is "easy" writing a own version of a GPU hardware documentation.

                • bluGill 2 hours ago

                  For someone skilled in that area it is. Tedious and time consuming, but easy enough when you have the information.

                  • lukan an hour ago

                    If you are skilled, have the information and are willing to do tedious and time consuming work, what would qualify as "hard work"?

                • tadfisher 2 hours ago

                  I don't know if you've noticed this technology that keeps being talked about on HN. I think it was invented to help with language translation but folks are using it to write code, documentation, and even entire Geocities pages. What a time to be alive, eh?

                  • lukan 2 hours ago

                    Oh gosh, I think I noticed and use them heavily. Which is why I would not rely on them to just transhallucinate a technical document. If that comes with a automated test suite, where it can go run wild on the hardware and has unlimited time and tokens - maybe.

            • phoghed an hour ago

              Here’s the plan to minimize any legal issues:

              1. Upload it to a pirate book site

              2. Nvidia downloads it and seeds it to you

              3. Train an AI model with it

              4. The AI model writes a new document for you

            • fulafel 3 hours ago

              so you could be held liable for depriving nvidia of the income they could have charged for this artful document, if you make copies of it?

    • cogman10 6 hours ago

      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.

      • cillian64 6 hours ago

        But at least in theory this claims to support pre-GSP cards (maxwell, pascal)

        • cogman10 6 hours ago

          I've not worked as a video card firmware writer so I can't be certain. Those pre GSP cards did still have firmware, it just did a lot less. It'd not surprise me to learn that it's still handling a lot of the fiddly bits OP mentioned.

          Traditionally before the GSP, a lot of tweaks and game bug fixes were packed into the driver itself. Those have now been moved into the GSP.

          • Pannoniae 5 hours ago

            The GSP (or any card firmware in fact) does not have game-specific hacks. Those live in the UMD itself, the architecture depends on the graphics API but things like shader replacement based on app hash+shader hash, specific settings by default (on nvidia you can view some of the keys with that utility I forgot the name of) and so on

    • zaptheimpaler 5 hours ago

      There was already a big leak of proprietary NVIDIA driver source a few years ago. Overall there’s probably lots of information out there.

      • mrtesthah 5 hours ago

        Leaks would preclude a “clean room” implementation — perhaps the authors are hoping that no one calls their bluff?

        • tzs 44 minutes ago

          It depends.

          As far as copyright goes, it shouldn't really matter if a leak was involved.

          The potential problem is trade secrets. A trade secret doesn't lose its trade secret status just because it got leaked. It can eventually lose it if is spreads too widely. If you do the clean room stuff before that you could be liable under trade secret law.

          LLMs are probably going to make it much harder for companies to take down leaks before they spread too far. As a major LLM told me, "LLMs act as a massive information-laundering and acceleration engine that shrinks a company's containment window from weeks to hours".

          In the specific case of trade secrets involving how to operate hardware the trade secret claims start out kind of weak because under US trade secret law something that can be readily figured out by legal means is not a trade secret. If people could figure it out by buying your product on the open market and then using bus sniffing and decompiling to figure out how to operate the hardware then you probably do not have a trade secret.

        • zug_zug 5 hours ago

          Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?

          • danlitt an hour ago

            Yes, obviously (that is, it is obvious that the proprietary material was used). What conclusion do you want to draw from that? It is not immediately copyright infringement.

          • mrtesthah 2 hours ago

            Probably, yes. All software generated by an LLM that was trained on proprietary or incompatibly-copyrighted works is tainted.

            • cdud3 an hour ago

              By that logic it would be enough when you looked once at GPL code to tain your brain forever and all your future output needs to be GPL. That's not how it works.

              • compiler-guy an hour ago

                Peeking once at gpled code isn't enough to create licensing issues, but it's absolutely enough to preclude "clean room" implementations.

                There is a big difference in requirements between the two.

              • mrtesthah an hour ago

                LLMs don't have brains that read copyrighted works. They literally are the copyrighted works themselves.

                • red75prime 43 minutes ago

                  Prove it. Preferably in court.

                  • bee_rider 27 minutes ago

                    I’d assume that the law treats human-created works differently from machine-transformations of existing works because it generally treats humans as different from machines. I guess the proof will come from some case where a company finds out that their works can’t be protected by a proprietary license.

                    But if we’re right, doing nothing is the best option. A bunch of unprotectable code might be generated! Some of it might even be useful, enriching the public square.

                  • mrtesthah 38 minutes ago

                    Sure, help me crowdfund a legal case and I'd be glad to.

            • bee_rider 2 hours ago

              In the same sense that it is GPL licensed. And BSD licensed. Maybe someone needs to write a giant file that does the BSD-style acknowledgement for every project.

              Realistically, though, large/politically connected companies have gone all-in on this AI stuff so it will be found, somehow, to not be infringing.

              We will declare matrix multiplications sentient and capable of producing their own creative works before we let those investments get written off, I think.

              • cowlevel 41 minutes ago

                A derivative of a GPL work is not automatically GPL-licensed. However, you have to GPL-license it yourself when distributing it, or else you committed copyright violation.

                A derivative of a BSD-licensed work doesn't even have to be BSD-licensed. It has to include a copy of the BSD copyright notice somewhere within it, that's all.

                • bee_rider 34 minutes ago

                  These are importantly caveats to keep in mind, but how much do they change things materially? I guess it creates an edge case where people who don’t plan on distributing their LLM generated programs don’t have to worry about licensing issues, right? But I doubt they were worried…

          • lelanthran 5 hours ago

            > Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?

            Nvidia does not want that sort of precedence: then it means that every AI-produced software is "contaminated" with GPL, proprietary licenses, etc.

            • cowlevel 40 minutes ago

              They'll find a way to make it apply to their stuff but not their enemies.

          • BigTTYGothGF 4 hours ago

            Surely it's been that way since the beginning, proprietary stuff would have been vacuumed up in the training data.

            • Forgeties79 an hour ago

              It’s wild to me that some people are only just now going “oh wait hold on are my agents using unlawfully gathered information?”

        • ndriscoll 5 hours ago

          They don't as long as one person e.g. documents what various registers do from the leak and another writes the code.

        • worthless-trash 5 hours ago

          If AI can get away with training on differently licensed code, why is this any different ?

          • teiferer 4 hours ago

            I find the irony in this particular product absoutely hilarious.

        • dagmx 5 hours ago

          A lot of these “clones” use the word clean room incorrectly as a hopes of avoiding any takedowns or being locked out by the LlM providers

          • sharifhsn 5 hours ago

            Also LLM-generated READMEs will automatically insert the word "clean room" to a rewrite even if you explicitly tell it to rewrite based on the source. I tried to rewrite FFmpeg and literally included it as a Git submodule in the repo and Claude still insisted on it being "clean room".

            • cozzyd 5 hours ago

              I mean, you did sweep the floor recently, right?

        • throawayonthe 4 hours ago

          real clean room RE can involve one team inspecting decompilations etc and writing independent documentation, which another team then uses to re-implement it having never seen the starting material. people try to replicate this with agents but like lol

          • therein an hour ago

            Yeah, pretty comical.

    • maybewhenthesun 4 hours ago

      Maybe nvidia's cards are slightly more logically setup? The nouveau driver works reasonably well for a lot of older cards as well so it's not like it is completely unknown.

      And let's be honest. AMD has a reputation for their driver being quite bad/incomplete . Your description sounds like even AMD themselves did not really have a good overview of what the engineering department had cooked up either, which kinda matches that reputation.

      • pmontra 2 hours ago

        I've got an old laptop with K1100M. This is too old for this nvdriver. Nouveau works well for 2D and probably basic 3D. Anything that requires true 3D fails, eg every HN link to WebGPU games and sites. That's annoying but I can do without it as of course my job is not about 3D graphics. The only major thing that Nouveau cannot do is brightness control. I simulate it with gamma correction, but that works only on X11, not in Wayland.

      • dralley an hour ago

        > AMD has a reputation for their driver being quite bad/incomplete

        The reputation is a decade out of date

    • latentsea 3 hours ago

      > chicken bits

      Ok, what are chicken bits?

      • alain94040 3 hours ago

        When you design new silicon, you add features to the old generation, but just in case you messed up a weird corner case, you add a config bit that disables the new hardware optimization. In other words, if you chicken-out and get scared of the new feature, your firmware/code can just set one bit in an obscure register then the new feature is disabled, and you are guaranteed the same behavior as the old chip.

      • papercrane 3 hours ago

        They're bits you set to disable a feature, usually because it's faulty or buggy. Literally 'chickening out'.

    • torginus 4 hours ago

      this is kinda ancient history, but I remember old GeForce cards used to implement the OpenGL state machine, with every command submitted to the GPU matching an OpenGL call, parameters and all.

    • choppaface 38 minutes ago

      Not a clean answer but: back in the day Naveen Rao and Nervana Systems beat nVidia at BLAS https://news.ycombinator.com/item?id=20490050

      LLMs today probably greatly accelerate the tedious parts of "reverse-engineering"

    • kimixa 6 hours ago

      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.

      • jeroenhd 6 hours ago

        The original story behind the "clean room" decompilation that made affordable PCs possible involved having one person decompile/decode instructions, describe what it does, and having another re-implement the code.

        An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.

        This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.

        • orthoxerox 5 hours ago

          The original "clean room" didn't involve any decompiling, IIRC, only describing directly observable behavior in excruciating detail.

          • ndiddy 2 hours ago

            The source code to the IBM BIOS was printed in the PC technical reference manual. The "dirty" team read the manual and the source and produced detailed specifications, then a programmer implemented a new BIOS based on the specifications.

          • sandos 4 hours ago

            My friendly AI fooled me if so, it told me that is 100% ok to observer and re-implement, its the decompile which is problematic.

            • kimixa 4 hours ago

              I think that just shows you should not rely on that "friendly AI" for legal questions :p

        • willis936 5 hours ago

          And then this repo goes in a training set that another chatbot reproduces. Why is copyright only a concern for tech companies and not the literally everyone else on the planet that they’ve ripped off? I’d love for nvidia to litigate this and set a legal precedent that lights the entire AI theft business model on fire. How brave are the creators of the brave new world?

          • teiferer 4 hours ago

            I'd even see this as the point of this repo. If the owners go through with it.

        • breakwaterlabs 5 hours ago

          Even the first option is sus, since the recent navier-stokes-and-friends scenarios strongly suggest that the models directly learn from prompting in a way that breaks the clean-room premises.

          • ndriscoll 4 hours ago

            How does it strongly suggest that? Mathematicians were on the brink of solving NS, GRH, VP≠VNP, the complexity of matrix multiplication, showing factoring is subexponential, and myriad other problems all within a couple months of each other? And the AI companies took their work and scooped them all? People still believe this?

      • strobe 6 hours ago

        probably 'clean room agents laundering': one agent reverse engineered and wrote a spec then other agent worked on implementation based on spec. Which is how it may work in theory but unlikely anyone really can believe that is no leak of original in that spec.

      • faldore 6 hours ago

        Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

        If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.

        • 6581 5 hours ago

          > Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

          That's the opposite of what clean room means, not just a "different view".

        • disperso 5 hours ago

          I'm no expert, but I think most people would call that "reverse engineered", not "clean room". And BTW, I think no need to get defensive. Up this thread I have not seem criticisms of the code, just questioning if it's actually clean-room, because that matters for whether someone is gonna have a better chance of taking down the repository, how likely is gonna end up in distributions, and the like.

        • elehack 5 hours ago

          That is definitionally not clean-room, by any historically-understood meaning of the term. There might be multiple definitions of the subtleties of "clean-room", but its stable core is "not one person decompiling + reimplementing".

        • load-bearing 5 hours ago

          FWIW, reversing is considered acceptable by ReactOS contribution terms, so you're probably fine-ish.

          It's interesting because it's the largest relevant effort that I'm aware of.

          https://reactos.org/intellectual-property-guideline/

          https://reactos.org/project-news/reactos-and-tinykrnl-projec...

          • jrmg 5 hours ago

            Can you point to the wording that accepts this?

            It surprised me, so I checked. I understood the opposite. From your first link:

            …contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.

            The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:

            Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.

            And from your second link:

            …due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.

          • torginus 4 hours ago

            This is a bit of an aside, but have ReactOS devs ever tried to build an NT based OS without the Win32 compat layer?

      • cogman10 6 hours ago

        They vacuumed before firing up claude code.

      • supjeff 6 hours ago

        im here to register my dismay at the use of "clean room" too. vague nonsense

      • torginus 5 hours ago

        Nobody actually knows. Clean room is a bit of a BS term. You can take a piece of hardware/software, poke, prod and disassemble it, and write a detailed spec.

        You are 'dirty' at this point, but then somebody else can come along and produce a 'clean' implementation of the spec.

        This sounds like an LLM skill at this point tbh, so you just copy the .md file into the repo, and then 'do the thing, make no mistakes'

      • RunSet 2 hours ago

        > makes me wonder what the author thinks "clean room" means.

        "My parents refused to buy me any more Clod tokens unless I cleaned my room."

      • leobuskin 5 hours ago

        I see "REA" - I know that the person doing RE is not a professional, I'm sorry, REA - is a bundle of semi-random tools glued with slop'd guidelines. This reconstruction needed to be gated with byte-identical verification done with the original toolchain (it's easy to fingerprint it and its flags). And only when you have it verified in the original language (C/C++? whatever nvidia used), did multi-pass review with names reconstruction, covered with tests and so on -> you could port it to Rust. Right now is a ticking bomb (just bc it speaks with hw low-level), let's be honest.

      • rickdeckard 6 hours ago

        > "And makes me wonder what the author thinks "clean room" means."

        Either the whole definition of clean-room changed or he just cleaned his room before release... /s

        This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...

        It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".

        I doubt this can be used to circumvent any IP-claim...

        • cozzyd 5 hours ago

          Author forgot to get a billion dollar valuation before shrugging off IP law

        • chasd00 2 hours ago

          people dilute phrases that have high impact for clout. Remember when "air gapped" actually meant something different than "I configured a switch and router like you normally would"?

    • cowlevel an hour ago

      Most likely they just prompted an LLM "port Nvidia driver to rust. make it clean-room"

    • fl0id 3 hours ago

      I assume it is like those other projects that told the llm to do "clean room".

    • fooblaster 4 hours ago

      a lot, but not all of the docs are public: https://nvidia.github.io/open-gpu-doc/

      That and the existing kernel driver is already open source.

      Same docs they use internally. I remember.

    • nathas 3 hours ago

      > learning Chinese with almost no feedback

      Perhaps you should take a read of https://en.wikipedia.org/wiki/Chinese_room which is the thought experiment about AI and true understanding vs regurgitation.

      You can understand the symbols even if you don't understand the meaning.

      "Clean room" is doing a lot of lifting here without any evidence.

      • teaearlgraycold 3 hours ago

        This is kind of wishy-washy, but I feel like we can say large language models have reverse engineered systems described by natural language, simply by being trained on natural language. To me, I think this can be reasonably declared to be a type of understanding. When I originally heard about the Chinese room thought experiment I felt like it was being presented as though it’s not possible to understand something through symbolic representation. I think this is mistaken and assumes everything has to think the way that a human does. Sure, humans can’t learn Chinese in that fashion. But we only have a handful of slots in our working memory. Not millions or billions like a computer.

    • raverbashing 2 hours ago

      > chicken bits

      Oh TIL

      > A bit on a chip that can be used to disable one of the features of the chip if it proves faulty or negatively impacts performance

    • 0c3ca83 4 hours ago

      That's all in the firmware. This is a copy paste from the open source Nvidia driver.

  • mootothemax 6 hours ago

    All of my Christmases have come at once!

    A while back I built up a 4u supermicro system with 8x GV100 32GB cards in it, plus a bunch of power, RAM and disk.

    It is the single noisiest server I've ever encountered. Even by server standards, it sounds monsterous, and I feel sorry for my neighbours sitting inside other buildings when it's first starting up.

    Noise aside, it's been an absolute blast to test and experiment with, but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear. I will report back... eventually.

    • tinco 6 hours ago

      Air cooling modern hardware is crazy. For a photogrammetry startup I built a half rack of quad-GPU + AMD ThreadRippers. I bought a bunch of 15k RPM 80mm fans on mouser that didn't even come with connectors, at 100% blast they were basically air cannons. The servers had to be on-premise because of data privacy reasons so I built a mini-datacenter in the garage under the office that had double doors. Obviously you weren't allowed to close them when someone was inside because of fire safety reasons, but the noise difference of adding the second door was surprising. It went from too loud for the people in the garage to work on their drone maintenance comfortably to not much louder than a noisy machine sitting in the corner.

      • Onavo 34 minutes ago

        Why didn't you go with liquid cooling and heat pump the energy out to a proper condenser/cooling tower setup? You can jury rig one pretty easily they are all fairly simple to build with parts of McMaster-Carr (the cooling tower, not the condenser, that one is best to get off the shelf).

        https://www.mcmaster.com/products/cooling-systems/

        https://www.titanrig.com/alphacool-eiswand-360-cpu-water-coo...

      • InsidiousWombat 6 hours ago

        high frequency noise is far easier to dampen

      • sandworm101 6 hours ago

        Noise and cooling are still arts more than science. I recently built a home AI server in a rack. I did the normal cooling stuff (insane fans) and it was loud. I just accepted that. Then I wanted to add some GPUs but didn't have space. So as an experiment while waiting for a bigger rack enclosure I tried one of those open "mining" frames for 50$. Surrounded by open air, the GPUs were happy enough without any extra fans. And it was quiet, more quiet than my desktop gaming rig. Counterintuitively, the ramshackle frame was quieter and cooler than a "professional" rack mount. It is silently sitting in the corner of my apartment right now. Only when I ask Qwen-27b to do something substantial do the fans even twitch!

        • harikb an hour ago

          In the winter, the free heating for your home is a plus :) - you are actually saving money

          • kadoban 2 minutes ago

            I _think_ depending on what your heating method is, it can be so efficient that you still don't save money, exactly. Eg heat pumps are _very_ good.

            It's just a bit less wasteful in the winter than it is in the summer, because some of the waste isn't waste.

    • embedding-shape 6 hours ago

      > but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear

      All the issues/limitations you've encountered with the GV100 been software/firmware limits placed there by NVIDIA? Could you give some examples what you hope would be solved by this alternative firmware?

      • mootothemax 6 hours ago

        >> Could you give some examples what you hope would be solved by this alternative firmware?

        Sure! The big ones are covered by this:

        > nvdriver also unlocks HBM2 memory clocks to 1107 MHz (V100S factory spec, +26.2% memory bandwidth, 1,041.7 GB/s per card / 8.33 TB/s across 8× V100) alongside dynamic P0 boost (1290 MHz all-bin stable default / 1425 MHz golden-bin OC, 1380 MHz XBAR, and a 1 Hz on-die thermal guard)

        All of which I've noticed and been expressly annoyed by, but didn't know enough of anything to really sit down and attack.

        The HBM2 memory is speed makes a surprisingly big difference if - and it's a big if - this makes them align with the two regular V100 16GBs that I tested against, cos those two cards are stupid fast in comparison, especially for anything cross-PCI.

        I also have a few nvlink bridges between the GV100s that have been sorely underutilised, and without knowing anything, I'd be interested to see whether that's part of this driver set, or whether it's now much easier to take advantage of.

  • zokier 5 hours ago

    We already had one 1st party nvidia kernel driver here: https://github.com/NVIDIA/open-gpu-kernel-modules

    Whats the difference? I thought the remaining proprietary bits were the userland part, not the kernel driver?

    • Aissen 2 hours ago

      This does not work with V100 (Volta family), because they don't have a (full?) GSP. This family is specifically the target of the driver, as you can see in the README.

    • torginus 4 hours ago

      Good question.

    • abbbi 4 hours ago

      rust instead of C?

  • faldore 6 hours ago

    Eric Hartford (QuixiAI) here, author of nvdriver. Happy to answer any questions.

    • andrewla 5 hours ago

      How do you define "clean-room"? It appears that you started by decompiling the existing driver, which is almost the exact opposite of clean-room. The exact opposite would be having access to the original source code, but this is pretty close.

      I would describe this approach as reverse engineered rather than clean room. Maybe just semantics here, but why add the clean room labelling if not to imply that it uses no NVidia IP?

      • bhhaskin 2 hours ago

        Would be fairly trivial with LLMs no?

        Hey Claude, decompile this driver and write a detailed spec of how it works. Don't include any code.

        Hey codex, write a driver based off this spec.

        • csnover an hour ago

          No. Clean room engineering means that the team implementing the thing are, to quote Wikipedia, “demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor”. You can make no such guarantee with an LLM that has been trained on unknown sources.

        • andrewla 2 hours ago

          What exactly would be fairly trivial? To make it hard to prove that the implementation was not clean-room safe?

          In that case, sure, I guess, but the question is what are we trying to do here. If the goal is just to evade a takedown notice because of IP infringement, this makes it harder to obtain evidence that there was IP infringement.

          If the goal is to actually not engage in any IP infringement, then you have to not decompile.

    • tudorizer 2 hours ago

      I don't see any mention of GB10, so will trial it out on the Sparks we run at https://enverge.ai. Unsure what kind of improvements to expect though.

      [disclaimer: I'm one of the co-founders]

    • SillyUsername 6 hours ago

      Do you intend to add the hardware hacks for others in the series like Pascal (e.g. the HBM2 one)?

      Also thanks, you're doing God's work making sure there's a future for old data centre GPUs in a world where modern GPUs are artificially constrained by price, availability and abandoned support.

      • faldore 6 hours ago

        I've added all the hacks I'm aware of - If I've missed any, give me links, happy to add it!

        • SillyUsername 6 hours ago

          I'd assumed the V100 HBM2 memory clock could be backported, that the earlier Tesla series would have the same capability.

    • jrmeyer2 6 hours ago

      How do real time graphic api support factor into this 'driver', like DX and Vulkan?

    • lesspassiveobse 5 hours ago

      Does the P2PDMA mean I can pull weights off of an nvme array straight into VRAM without crossing RAM/CPU? Does this unlock SR-IOV/vGPU on cards that don't expose it normally or just remove licence checks?

    • antihero 2 hours ago

      How did you do this?

    • ksimukka 5 hours ago

      tough crowd?

      amazing work, thank you for sharing!

      • embedding-shape 3 hours ago

        If you're used to Twitter/reddit where 90% of the "feedback" someone receives is "Wow, cool work, thank you author!" and similar empty platitudes, I know I much more prefer HNs way of providing actual feedback instead of just "happy vibes", since I want to actually improve.

    • embedding-shape 6 hours ago

      This submission is an hour old, there are tons of questions around in the thread already, why not answer the existing questions instead of creating a new sub-thread?

      I see this in lots of posts. The submission is N hours old, then someone related to the company pops up, ignores all existing posts but creates their own comment asking for feedback, more people ask the same questions, some gets answered, more gets ignored. Why not just answer existing questions instead?

      I'm more confused about this than anything else, doesn't really hurt anyone, but gets worse when questions gets asked multiple times in different places because of this.

      • myrmidon 6 hours ago

        It's much more practical to monitor one thread for new questions than to monitor all of them.

        • sph 4 hours ago

          They just have to monitor one more level of the tree. It's not that hard.

    • g-b-r 6 hours ago

      As several others already said, how can you call it clean-room when it was made by reverse-engineering Nvidia drivers?

      • faldore 5 hours ago

        Reverse engineering and clean-room development aren't mutually exclusive. Reverse engineering, including decompilation, can be part of a clean-room process. The relevant question is whether there's sufficient separation between the analysis of the original implementation and the development of the replacement, not whether reverse engineering occurred at all.

        • ValueTheory 4 hours ago

          So did you have one team reverse engineer the drivers, write a specification and have a completely separate team build software based on that specification?

          Who were in the two different teams? How did you ensure separation?

          • jacquesm 4 hours ago

            These are very valid questions.

            • g-b-r 3 hours ago

              For Claude, I guess

          • iAMkenough an hour ago

            Two different sandboxed AI agents who went to the same university (training data), instructed not to talk directly to each other

            • cowlevel 35 minutes ago

              Except they do talk to each other one-way and no one's checking what they're saying

              • iAMkenough 33 minutes ago

                Might be sufficient for the judge and jury

                • cowlevel 3 minutes ago

                  Unlikely. Real clean room uses such strong techniques because it's the only reasonable way to prove you didn't. The plaintiff can examine the documentation you gave to the clean side for any trace of copyrighted material. If you gave them an AI transcript, think they'd find any?

    • david-gpu 6 hours ago

      From a former GPU wrangler: Congrats on your first release!

      • faldore 6 hours ago

        thank you Mr. David!

  • ttul 6 hours ago

    Frontier LLMs are extremely good at hill-climbing tasks like this, where the outcome is fully measurable (e.g. full parity with an existing kernel module’s behavior and interface).

    For the last week, I’ve had a swarm of agents working on a new Rust back-end for T3 Code. It reached full parity quite rapidly and the last ten days have been spent finishing off the edge cases that are encountered rarely in real use. The Rust version loads 22x faster, uses 11x less RAM, and blows away the Typescript original (already no slouch) on nearly every metric.

    But, toppling Nvidia’s ivory tower? That’s impressive AND useful!

    • notenchange 6 hours ago

      That’s interesting. Can you link to the project?

      • ttul 3 hours ago
      • ttul 3 hours ago

        P.S. the performance gains are pretty extraordinary. From performance.md just 22 minutes ago:

        From the latest CI run, on a GitHub-hosted runner. A ratio above 1× favors Ferrum.

        - Installed size: 2.7× in Ferrum's favor (75.4 MiB against 203 MiB). - Start to first RPC: 33.8× in Ferrum's favor (59.8 ms (57.9–66.2) against 2019 ms (1967–2030)). - Memory at idle (RSS): 12.2× in Ferrum's favor (41.8 MiB (41.1–42.1) against 512 MiB (511–513)). - CPU while idle (per 10 s): 2.0× in Ferrum's favor (10.0 ms (10.0–20.0) against 20.0 ms (20.0–30.0)). - CPU while idle, large database with clients (per 10 s): 1.0× in the reference's favor (20.0 ms (20.0–20.0) against 20.0 ms (20.0–20.0)). - Memory at idle, large database: 3.5× in Ferrum's favor (151 MiB (142–159) against 520 MiB (517–522)). - Peak memory, 3 clients opening long threads: 3.2× in Ferrum's favor (386 MiB against 1233 MiB). - GET / p99 while 3 clients open long threads: 55.9× in Ferrum's favor (1.50 ms against 83.7 ms). - Peak memory, Codex turns: 11.0× in Ferrum's favor (59.3 MiB (58.7–59.6) against 650 MiB (645–661)). - Peak memory, Claude turns: 11.3× in Ferrum's favor (57.9 MiB (57.5–58.4) against 656 MiB (648–675)). - Codex turns per second: 1.3× in the reference's favor (5.57 /s (5.43–5.70) against 7.27 /s (7.18–7.40)). - Claude turns per second: 1.3× in the reference's favor (4.62 /s (4.59–4.72) against 5.92 /s (5.89–5.93)). - CPU per Codex turn: 1.0× in Ferrum's favor (216 ms (211–225) against 221 ms (218–228)). - CPU per Claude turn: 1.0× in Ferrum's favor (289 ms (285–293) against 290 ms (290–291)). - RPC latency (p50 and p95 of 6 RPCs): from 1.3× to 13.9× (above 1× favors Ferrum).

        https://github.com/ttulttul/Ferrum/blob/main/docs/performanc...

        But perhaps the coolest thing is the WAY that agents built this thing. I basically just kept using T3 Code on my Mac while agents periodically swapped out the T3 Code server back-end for Ferrum. At first, it would do a 30-second swap test because they mostly failed. But over time, the swap-out duration lengthened and lengthened. Now, it's possible to just run it all the time.

        And, I bolted Ferrum onto Cloudflare Workers for an internal software factory project, allowing you to run T3 Code sessions inside of the same sandbox environment that our software factory agents live inside. And it's all super performant. A very cool and satisfying project.

  • coldblues 5 hours ago

    Lots of peeps in this thread talking about the legality of clean-room.

    I'm a proponent for abolishing intellectual property altogether.

    https://cdn.mises.org/Against%20Intellectual%20Property_2.pd...

    • larodi 2 hours ago

      makes the two of us, given it IS already abolished,... WAS really several years ago when large scale training started and it was proved to have been done on licensed material. you see - everyone not understanding IP was slashed, diced and effectively killed, is living in some weird dissonance compared to what world we live in 2026. IP and copyright are super transient and very often complete loss of effort.

      it is effectively impossible to bar anyone to cook your soup if they can guess how its done. is some early 20 century wet dream which makes super little sense in information society where there is no viable way to sign authorship, at least not yet. and particularly in the light of impeding doom of classic crypto.

    • preisschild an hour ago

      I'm not. I like free software and copyleft licenses. Not enforcing copyright makes all the requirements of GPL voluntary.

      • cowlevel 36 minutes ago

        No IP means no protection from decompiling and you can pirate all the movies you want and film in the cinema if they won't put it on streaming, FWIW.

        Also means if you write a book you won't see a single cent.

        Also means every burger restaurant will call itself McDonald's with the golden arches.

    • AIShill101 4 hours ago

      Same I don't gaf that nvidia the giant trillion dollars company had its "IP stolen".

  • pak9rabid 3 hours ago

    Ah man, I would absolutely love something like this that could power older nvidia GPUs as well (say the Curie architecture found in older models like the 7700 Go) so that I could have a driver available that could compile against modern Linux kernels. I know there's Nouveau, but that won't run the GPU at it's full potential unfortunately.

    As it is now I'm stuck running an ancient version of Kubuntu because I need the older kernel ABI that can interface with the legacy nvidia driver.

    • raybb an hour ago

      Speaking of older tech, I wonder if something like this could be done for the T2 Mac's wifi/Bluetooth chipset? I understand it's just one blob for a chip no other computers use but that it's quite complicated go reverse engineer because it's like a full os in that little thing.

  • mattr03 6 hours ago

    Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?

    • papua_is_being_ 6 hours ago

      I'm assuming the authors never ever saw the source. Are you suggesting the LLM model was trained on leaked nvdriver code, proprietary snippets? Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?

      • DannyBee 6 hours ago

        Lawyer here - they don't have to prove conclusive unambiguous anything. The standard is access and substantial similarity.

        Most time would be spent arguing about access and whether the LLM effectively had access.

        Civil law standard in general is preponderance of the evidence - Ie evidence tips slightly in your favor. Unambiguous proof type standards are very rare

        • ttul 6 hours ago

          There is also the legal reality that a multi-trillion-dollar corporation can sue you for longer than you can remain alive, never mind solvent.

          • cromka an hour ago

            I don't think this particular one would last that long, they would be arguing that LLM can output a copyright-infringing code which is a direct stance against pretty much the entirety of their customers.

          • briansm 4 hours ago

            (bear in mind its stock market value is shakier than an earthquake just now, it tanked and recovered almost 50% recently and is on the hook for trillions in dodgy data-center build-outs just now)

            • swiftcoder 4 hours ago

              > bear in mind its stock market value is shakier than an earthquake just now

              It only costs a few million in legal fees to keep you in court till the bank repossesses your house. A rounding error, even to an embattled corporation of this size

        • LastTrain 5 hours ago

          Maybe you should mention this is unsettled law and what that means with respect to whatever guidance you would give?

          • DannyBee 5 hours ago

            The standard for infringement is not unsettled law. It's very well settled law. I was pretty clear most of the argument would be over access, and I believe that is correct.

            Most of the time substantial similarity is a blocker to even getting started - despite lots of word-blood being spilled, llms generally do not output like 50 pages of your favorite book. Once you get over that hump and find substantial similarlity somewhere (IE it outputs 10 pages of code someone else wrote), most of the actual argument is over access.

            • jppittma 2 hours ago

              Well, they say Mozart could listen to a symphony, go home, and write it out by hand. Is that infringement? These ais have no problem running a decompiler and reading assembly. It’d be hard to argue it doesn’t have access to the Nvidia gpu driver.

              OTOH, it’s a rust rewrite, so I don’t know if that counts as substantially similar.

              • Jolter 16 minutes ago

                The Mozart example is a very straightforward copyright infringement. I’m not sure where you’re trying to take the argument.

        • jpambrun 6 hours ago

          Peasant here - For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.

          Secondly, with reverse engineering being trivially accessible the, genie is out of the bottle and no amount of court order or DMCA takedown will bring it back it.

          • DannyBee 5 hours ago

            You seem very confused. I didnt argue anything was or wasnt infringement. I argued nobody will have to prove conclusive unambiguous anything. This is not an argument. This is very well settled law that has so far been applied in the age of AI

            you seem to believe this would make everything infringe on something. I dont. As I said most of the argument would be around whether or not LLMs have access to protected works or not, just because they were nearby when they were trained or used as feedback or whatever. whether that argument succeeds remains to be seen. I do not believe it will change the standard for infringement overall.

            As for the second for what it’s worth, you’re talking to someone who uses thousands of dollars worth of tokens for coding per week, including reverse engineering. i’ve also run many high-level reverse engineering projects for companies.

            just because it’s easy to do something doesn’t mean we don’t make it illegal or expensive to do it. we do that all the time. probably the majority of civil laws fall into the case of making easy things illegal or expensive. it is wildly naive to believe that just because something became easy means that the law will do to do nothing about it.

            people porting video games to Windows using reverse engineering is very different than starting and running a viable business around it that won't cause you to be on the run legally forever

            while it’s accurate to say the law will roughly not achieve anything against the former, and doesn't really try for the most part (except to establish a basic social barrier to entry), it tends to be very good against the latter.

            Finally, it's useful to keep in mind so far every major AI company has lost or settled every single case where someone could prove substantial similarity to a protectable work. Losing every case and paying billions is fairly hard to square with your view that we have reached the Assassin's Creed stage of "nothing is true everything is permitted". Maybe you don't like the amounts won or settled for, thinking them too small or whatever, but that is not quite the same.

            • jpambrun 4 hours ago

              I don't feel very confused.. I guess you limit LLM access to runtime while I am considering training time. It's very likely private IP were used to train models by accident. Accepting this argument is the risk I was mentioning.

              Obviously if antropic and openai are liable for end user actions, or unfortunate IP inclusion on training data, they won't be able to compete with Chinese and open weight models. I can't imagine the current administration letting this happen.

              • phendrenad2 2 hours ago

                You're not confused, lawyer up there just doesn't understand AI. In my opinion.

          • crote 5 hours ago

            You are missing the point of clean-room reimplementation.

            A clean-room reimplementation is never required. You can definitely get away with far less strict separation - but there is no strictly defined line line of what is okay and what isn't, which opens you up to billion-dollar lawsuits.

            A clean-room reimplementation is the nuclear approach. You are ruling out every possibility of a lawsuit because copyright violation is by definition impossible. It is a huge pain for everyone involved, but it is worth it when you can 100% rule out a decade-long lawsuit with a company like Oracle.

            In reality "your honor, the genie is out of the bottle" is not exactly a watertight legal argument, and until someone gets sued to oblivion we won't know for sure which side of the LLM argument will win. The fact that this doubt exists at all makes any "LLM-written cleanroom implementation" claim worse than useless.

          • 0xpgm 6 hours ago

            There are some projects that reject LLM-generated code because of the legal gray area surrounding it.

            • snarfy 5 hours ago

              All of the hyperscalers are rewriting their stacks with LLM-generated code. If there is a gray area they are all deep in it.

              • Jolter 11 minutes ago

                Well, they have big money for lawyers. Do you?

          • marmarama 6 hours ago

            > For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.

            Does it? None of this has really been tested in court yet. There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.

            Wishful thinking and scale does not guarantee the courts.

            • crote 5 hours ago

              My bet is on large companies treating it like mutually-assured destruction: when everyone is both doing the stealing and being stolen from, then nobody can call foul without also self-implicating. To have a real test in court we'd need a Microsoft v. Google, which is never going to happen.

              Of course, that's not going to stop Big Tech from using it to crush smaller parties...

              • lelanthran 4 hours ago

                > Of course, that's not going to stop Big Tech from using it to crush smaller parties...

                They may not; it only takes a single loss to set precedence, which none of the big tech companies want right now.

                Not sure how they are going to handle this going forward; all their software is now effectively clonable for almost nothing. They are going to need to rely on network effects, if that, and that's fickle as hell.

                At this point there is no need for a Microsoft Windows license[1].

                -------------------------

                [1] Last night I wanted to play Project Diablo on Wine. It didn't start up (no crash, just a refusal to load a DLL). Claude helpfully investigated, resulting in it making a change to the Wine version I had installed (from Ubuntu), compiling an entire new system dll, and then copying it over the Ubuntu provided one. It did this because it found, just from the binary, a NULL-pointer exception in a DLL.

                All I did was prompt "Project Diablo is installed in $FOO; make it work".

            • orangecat 3 hours ago

              There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.

              Nonzero I suppose, but smaller than any x you care to name. Courts are not going to destroy the AI industry over copyright for the same reason they weren't going to declare that airplanes were violating the property rights of everyone whose homes they flew over.

        • zaptheimpaler 5 hours ago

          My dumb civilian logic is these companies stole the entire worlds knowledge including pirating huge datasets and taking copyrighted code and it somehow counts as “fair use”. So they don’t have any right to accuse anyone else of stealing, they are the ultimate thieves.

      • Yoric 6 hours ago

        I feel that it's very likely that the LLM model was trained at least on existing open-source drivers, no? If so, wouldn't this already mean that it's not 'clean-room' (although not in the sense you're using)?

      • piker 6 hours ago

        Subpoena the model providers in discovery to see if the Nvidia source was in the lake.

        • teekert 6 hours ago

          Even if it was... Nvidia took Anna's Archive to train their models, so ethically they gave up their rights when taking this action? This knife cuts on both sides (not sure if this Dutch saying is also an English saying ;))

          • jnovek 6 hours ago

            It is an English saying! The English variation is “the knife cuts both ways”.

            I don’t know why but I’m always tickled when the same idiom exists in other languages.

            • lelanthran 4 hours ago

              > It is an English saying! The English variation is “the knife cuts both ways”.

              That's funny; I remember it as "That sword cuts both ways".[1]

              ------------------------------

              [1] Many knives typically cut only one way - the blade has only one sharp edge.

            • larsonian 6 hours ago

              The Russian equivalent is "this is a two-ended stick", which I've always found a bit funny, because doesn't every stick have two ends?

              • embedding-shape 6 hours ago

                This becomes funnier and funnier; "every stick has two ends" is an English proverb :) Never heard that Russian variant though, maybe it's half loaned half translated?

                • ahartmetz 5 hours ago

                  In German, there's a saying "Everything has an end but the sausage has two". (It just means "Everything will eventually come to an end".)

              • tomxor 6 hours ago

                > doesn't every stick have two ends?

                Yes but you don't want to get the wrong end of the stick.. the sponge end to be specific.

            • Yoric 6 hours ago

              In French, "it's a double-edged knife".

          • myrmidon 6 hours ago

            There's also "live by the sword, die by the sword" in english if you want it to be more biblical.

          • rubyfan 6 hours ago

            Ethics notwithstanding, I think courts have called training on copyrighted works fair use.

            • sedictious an hour ago

              Keep in mind that the legal precedent of today's tech may not hold for tomorrow's tech. This is all pretty new and the dust hasn't settled.

              IANAL so please lawyers, correct me. What most of the cases were about was whether training itself infringes on copyright, but it doesn't mean you can reproduce copyrighted material. This is the exact reason why models have guardrails on top refusing reproduction of copyrighted works and it's also part of the EU AI act.

              So far, they have not legally enforce copyright on the training but the output of the model may still infringe copyright. If you use my books to create a spell-checker model, then this is considered fair use (even though I think it shouldn't when taking this scale). If you use my books to create a book-writing model that reproduces whole paragraphs of my work, then your output still infringes on copyright. Then since you have access to the material and your output is identical, you have a copyright infringement case.

              You can also read about the Suno case which was judging exactly this. Copyright work were memorised inside the model in a way that's not deemed transformative. You are allowed to store "statistics" and "trends" but not copy the work itself.

              But again, with everything legal a precedent might exist but it's rarely a one size fits all. You can guess whenever there is a precedence but details (and your defense/opposition) also matter

            • breakwaterlabs 5 hours ago

              I think they found the opposite, didnt Anthropic just get handed a monstrous judgement for using copyrighted works?

              • ketzu 5 hours ago

                My understanding was: training on copyrighted material is fair use. Acquiring the copyrighted material via Anna's archive etc is still not allowed.

                (I think downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)

                • sedictious an hour ago

                  training was deemed fair use in that case but your output can not infringe on copyrighted material. In Anthropic the main case was on illegal access, it does not cover reproducing significant amount of the training material

          • skrap 6 hours ago

            Another English version of the same would be to say "It's a double-edged sword". Language is neat.

      • LinXitoW 2 hours ago

        Nvidia would be insane to create a precedent that any proprietary code in the training data would mean ALL code created from it violates licenses. That would single handedly destroy the main driver of (reasonable) AI adoption, coding.

        • hugmynutus 27 minutes ago

          There is only one solution to this, somebody clean room re-implement Oracle DB

      • larodi 5 hours ago

        all of this is clean room for as long as nobody proves LLMs were not trained on everything they could reverse-engineer in advance. because it actually seems a very good idea, and particularly if we are taking measures to first shuffle it a little, and clean the traces of it in post-training.

        until then, though, most software will already have been reversed and rewritten. ordinary joe and jane's wouldn't mind that much, trust me on this, if they even understand what all the hassle is about.

      • zelphirkalt 6 hours ago

        If an LLM wrote code, it is also one of the authors. Did it see parts of Nvidia's driver code? Does the statement that authors didn't see the source still hold then?

        It is pretty much is guaranteed to be the case, that one of the authors is an LLM, when the repo presents itself as a working driver for Nvidia graphics cards, yet has laughable 40 commits. Any hobby static blog implementation will have more commits than that, and we are talking about one of the, if not the most complex driver out there. This smells severely vibe-coded from the get go. Which in turn means the LLM is basically the main author/contributor.

        • onionisafruit 6 hours ago

          I’m not saying it wasn’t vibe coded, but a low commit count for a newly published project can also be a sign of squashing all the ugly trial and error commits shortly before publication.

          • singpolyma3 6 hours ago

            Indeed. I often have quite complex projects pre-LLM with one commit I made after I got everything to work.

          • cozzyd 5 hours ago

            Or not bothering committing until a full "first draft" is done

        • singpolyma3 6 hours ago

          > If an LLM wrote code, it is also one of the authors

          Legally, many jurisdictions have already rejected this premise.

          Which seems correct to me. An LLM has no agency, it cannot be an author.

          • lioeters 5 hours ago

            No author, no copyright.

            However, in this particular case of a "clean room" driver - the human controlling the LLM is then responsible for any potential and relevant copyright violations in the training data. Or perhaps language models are the perfect copyright-laundering process, it consumes any and all data and generates copyright-free public domain code, text, images, sounds.

        • kikoreis 6 hours ago

          LLMs don't author code (in the same way compilers aren't copyright holders of the binaries they generate).

        • simianparrot 6 hours ago

          LLM's have no agency without human input. It's an algorithm, not a legal entity. It would be like listing Word as co-author of your research paper, it helped you fix grammatical errors so why not, right?

      • gspr 6 hours ago

        > Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen

        So it's a "room" implementation, then. The adjective clean is meant to convey something, not "oh well, who knows anyway". So it's an implementation in a room that may or may not be clean.

        > but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?

        "Well, it's maybe murder, but they'll never find the body".

        • papua_is_being_ 6 hours ago

          > "Well, it's maybe murder, but they'll never find the body".

          Nvidia's own proprietary driver links to the GPL 2.0 kernel. So Jensen's team buried the first murder in a binary blob.

    • spystath 6 hours ago

      If an LLM touches your code is impossible to know if it's cleanroom or not, so better default to "no". In practice I don't think it matters.

      • JacobAsmuth an hour ago

        What is the credence you'd put on Anthropic having had access to Nvidia's driver source code, and that if they did, they used it for pre-training?

        For me personally it's about 0.0000001% (the approximate density of the hypothetical dataset in the pre-training, assuming a 100T token pretrain with 2M LoC driver)

    • imtringued 6 hours ago

      Presumably because the LLM didn't have access to the binaries in the development process but if that was the case, it would be more interesting if they published their CUDA driver conformance suite.

      Or at least let you run your own driver against it.

    • embedding-shape 6 hours ago

      First, I think they meant "Clean-room design", not "Clean-room engineering", the latter I don't see why you couldn't do with LLMs, while obviously the first is really hard (impossible?). The repository itself just says "clean-room ... Rust Linux kernel driver for NVIDIA GPUs" and doesn't actually clarify which one of those it's referring to, I'm guessing the first? But yeah, as you say, wouldn't make sense given the tooling involved.

    • Pannoniae 6 hours ago

      IMO a better question is, "does it need to be clean-room?" (I think the answer is no)

      So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.

      EDIT: I was dead wrong and I will take the L.

      Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room

      • hackernudes 3 hours ago

        If you use the agents to decompile the driver, then document it, then have another agent (session?) implement it based on the documentation, does that count as clean room?

        • phendrenad2 an hour ago

          Isn't this how many Linux wifi and graphics drivers were written? And then didn't BSD take those drivers, and do the dame process to derive BSD versions? (Just using humans instead of AI)

          This is why, while the two sides of this debate seem evenly matched, it's clear if we do a little historical research that one side is much much more likely to win.

        • szmarczak an hour ago

          No. Rewording the program from assembly into human readable text does not constitute clean room.

          • phendrenad2 an hour ago

            Then what constitutes clean room in your definition? I think you'll find that you've excluded every possible method.

            • fwip an hour ago

              Different person here, but you can construct a spec by simply observing behavior of the system. You can even automate this, with fuzzing and related techniques.

    • mungoman2 6 hours ago

      This is technically grey but politically it is very clear that washing via LLM is acceptable.

      • gspr 6 hours ago

        > This is technically grey but politically it is very clear that washing via LLM is acceptable.

        This isn't about the technical, legal, ethical or political aspects of LLM-washing. It's about f'ing words! Clean room means something! OP chose to add those two words even though they don't fit at all.

        • alkonaut 4 hours ago

          If you knowingly point your LLM at material that would preclude clean room (e.g. ask it to disassemble proprietary code, or use "leaked" docs etc) then it's certainly not clean room.

          But if I say ask an LLM to produce an application that mimics that of another app, only by observing its behavior from the outside as a black box, then I'd argue it's very much clean room. Even if I have no idea of what the LLM itself was trained on (It could have been trained on the source of the proprietary app, through a leak!).

          • myko 2 hours ago

            As long as you start a new session after coming up with the dirty spec it should be considered clean room is my understanding.

        • Joker_vD 6 hours ago

          Wait, do LLMs have the source code of NVIDIA drivers in their learning data set? If not, how is "clean room" inapplicable here?

          • xiphias2 6 hours ago

            It's enough for them to have the NVIDIA binaries in the data set at this point

        • embedding-shape 6 hours ago

          > It's about f'ing words! Clean room means something!

          It's ambiguous though! "Clean room" doesn't tell you enough since "clean room engineering" is a whole other thing than "clean room design". You could do the former with LLMs, but seems unlikely to me you could claim "clean room design" when you don't know the training data of the LLM.

        • geraldwhen 6 hours ago

          Not any more. All software is produced via AI that roughly encodes the IP theft of everyone alive.

          It’s the dream of 90s hacker culture, realized in a strange way in the end.

          • singpolyma3 6 hours ago

            It's been interesting to me how many people who were pretty hackery before suddenly really believe in "IP theft" now

            • cozzyd 5 hours ago

              Stealing IP to make something proprietary should be morally questionable actoss the hacker spectrum.

            • ragnese 5 hours ago

              As one of those anti-copyright (really: just way less powerful copyright) people, myself, I agree- if those people are not expanding with any context or nuance. For me, I'm pissed that these guys are getting away with the "IP theft" just because they're rich and powerful, while the rest of us plebes would still be punished today if we did any fraction of what Zuck had Meta employees doing with copyright materials.

              Given the choice between "everyone has to follow copyright law" and "most people have to follow copyright law; but connected, wealthy, people/companies don't", I much rather have the former than the latter. That's in spite of the fact that fewer people restricted by copyright is, in some way, technically closer to what I want (i.e., zero people restricted).

            • preisschild an hour ago

              Because those are proprietary black boxes made by for profit companies?

          • zelphirkalt 6 hours ago

            If that was true, then we would have global announcements of IP and copyright no longer being applicable to software at all, and that whoever gets hold of any source code can do whatever they want with it, without legal repercussions.

            Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."

            • adrianN 6 hours ago

              It is my understanding that copyright applying to LLM generated code is currently a bit unclear and it is conceivable that all autonomously generated code is public domain

              • zelphirkalt 5 hours ago

                This current situation is very convenient for some players, of course. As long as the copyright is in this Schroedinger state, the individual can get sued into oblivion and must still conform to copyright laws, or risk their freedom and existence, while big tech can delay as much as needed, or just write a cost-of-business check and not get into trouble.

          • gspr 6 hours ago

            > It’s the dream of 90s hacker culture, realized in a strange way in the end.

            I couldn't think of anything further from the 90s hacker culture. To me, this all feels a lot closer to the "dream" of "oh hey, I found it for cheap on Aliexpress".

        • cfiggers 6 hours ago

          The one and only unambiguous thing "clean room" means in this context is that the authors are trying to position themselves in line with the legal precedent that would protect them from being sued over this project. That's it.

    • egeozcan 6 hours ago

      I claimed clean-room for a red alert 2 YR engine project I have:

      https://github.com/egeozcan/glasnost#how-glasnost-is-made-cl...

      I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...

      If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.

    • Rapzid an hour ago

      Add "Make it look legal." to your prompt.

    • InsidiousWombat 6 hours ago

      well the LLM industry and govt that supported it decided that not only stealing content to train your LLM is "fair use" but that the code output can't be really called copying (or even copyrighted in the first place) so that's just a fallout of that

    • phendrenad2 an hour ago

      Because "clean room unless the courts decide that all code written since 2024 is now potentially infringing on someone's code that was in the training data, single-handedly crashing the world economy" doesn't have quite the same ring to it, you know?

    • gspr 6 hours ago

      Words don't have meaning anymore.

      Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.

      • preisschild an hour ago

        Yep. This isnt even restricted to nvidia/proprietary software. Its also applicable to copyleft licensed software

  • MitPitt 6 hours ago

    Proprietary drivers were a problem for running consumer-tier Nvidia GPUs (like RTX series) in datacenters. Open-source drivers will make renting compute cheaper, hopefully.

    • oarsinsync 6 hours ago

      Or will result in consumer-tier GPUs becoming even more expensive.

    • the8472 6 hours ago

      Our head of IT told me that insurance also is a problem because the consumer GPUs aren't rated for DC use the DC's own insurance wouldn't cover fire risks. And getting custom insurance was way out of their wheelhouse.

    • preisschild 44 minutes ago

      You can also just support vendors who provide & maintain free software drivers (like amd)

  • markhermeling 4 hours ago

    Neat. Lots of 'unsafe' hardware access in this. Always makes me wonder if Rust should look into something like Representation Clauses like in Ada.

    https://learn.adacore.com/courses/advanced-ada/parts/data_ty...

    It would allow for compiler level protection from writing wrong data into a register.

    Anybody know if that is planned for Rust.

    • viraptor an hour ago

      Any hardware access is always going to be unsafe, because the compiler cannot know what the hardware does. For all it knows, it could change the memory of the running app. There's no implementation that cares about ownership where that goes away.

  • SupLockDef 2 hours ago

    Honest question here - could it be possible to damage your irreplaceable video card with a buggy driver?

    I have the feeling it's not simply something you can install and test for fun.

    • yonatan8070 2 hours ago

      I had the exact same thought, I have a Tesla P40, which is listed as untested on real hardware.

      Should I try running it and throwing some inference task on it?

      • doublerabbit an hour ago

        What else are you going to do with it if you don't?

        • yonatan8070 an hour ago

          Run some personal agent, that was my original plan anyway

          For now I'm just having fun setting up Proxmox, VFIO, and tuning llama.cpp parameters

    • utopiah 2 hours ago

      If it can control fans then I wouldn't trust it.

  • kravmaga999 an hour ago

    Hello, that's insane, I just scratched the surface, but looks great, thanks!

  • LastTrain 5 hours ago

    Can an AI driven, or even AI assisted project be considered clean really room?

    • xpct 4 hours ago

      I don't know if it can, but everyone seems to pretend it is so.

    • preisschild 43 minutes ago

      With big tech companies bribing governments it seems the world has decided that copyright doesn't matter anymore

  • yread an hour ago

    Can it do MIG or fractional GPUs?

  • samiv 6 hours ago

    Why not put your effort into noveau?

    • cowlevel 33 minutes ago

      nouveau is strictly clean-room, not "we told an LLM to make it clean-room then gave it a full copy of the proprietary drivers". You aren't allowed to contribute to nouveau if you've seen the proprietary driver.

    • utopiah 6 hours ago

      https://nouveau.freedesktop.org and my bet is that because if LLM is invoved it's precisely to avoid the overhead of collaborating on existing projects and instead get light shed on someone or a group to promote themselves or part of the tooling they produce that leverages LLMs.

  • tuananh 6 hours ago

    anyone tries it yet? is the number claimed in the readme correct?

  • measurablefunc 2 hours ago

    Very impressive.

  • nonestdeus 6 hours ago

    Looks cool, but I'll wait for some tech youtubers to test it first.

  • xorcist 6 hours ago

    An extremely verbose project description yet no mention of other nVidia drivers such as Nova. How are the goals and/or implemention different?

  • hurricanepootis an hour ago

    What's the point of this project besides to show off their AI tooling?

    An open source Rust Nvidia driver already exists https://rust-for-linux.com/nova-gpu-driver. Not only that, there is also a newer open source userland Mesa implementation for it https://docs.mesa3d.org/drivers/nvk.html

    Seems like a really great use of their time :\

    • dralley an hour ago

      TBF the Rust Nvidia driver mostly just serves as a loader for Nvidia's actual driver, a binary blob that acts more like extended firmware.

      It's more complicated than that of course but much more limited than, say AMD's open kernel driver.

  • rickdeckard 6 hours ago

    "clean-room" usually defines two distinct isolated teams, one to document the implementation of a product, and another one to implement it based on that documentation.

    A very odd idea if both roles are taken by an AI agent:

    1. Decompile driver, translate machine code into human language.

    2. Translate human language back into code.

    3. Test against original driver, restart at #1 if error

    It's more like a sport.

    Like asking Agent #1 to only use animal sounds to instruct Agent #2 and then compare how well the result matches the source...

  • dantillberg 3 hours ago

    This has me wondering: how thin is nvidia's moat?

    Regardless of "clean room" claim, not everyone in the world respects US courts, and even fewer respect nvidia itself now. Nvidia doesn't fab their own chips -- they're basically a software shop that licenses production of their chip designs and controls them post-production via complicated black box drivers.

    How easy or hard would it be for folks less inhibited by IP laws to chip a few trillion from nvidia's market cap?

    • utopiah 2 hours ago

      I don't think a rando, even with a billion in cash, can call TSMC, block few of its production lines, and get few million cards built just like that, even if they get CUDA compatible drivers.

      So... moat is that they've been doing it for decades now?

  • silentkat 6 hours ago

    Ah, "clean room". The new "No copyright infringement intended".

  • mozarella 43 minutes ago

    lol @ the people debating the copyright implications of this, when the would-be-plaintiff is among the parties chiefly responsible for the gang-scraping of the collective cultural output of humanity. Its yolo-times, folks. Intellectual Property is dead.

  • EmmEff 6 hours ago

    Port to macOS and get native NVIDIA support (for select cards...) back? ;)

  • bwfan123 4 hours ago

    I see a modern movement in software akin to reading chicken entrails. First, folks are attempting to set weights on neural nets using LLMs, and then you have this reverse-engineering and translation. Whereas setting weights on neural nets is somewhat justified as no one knows how LLMs work, decoding and translation is a fools errand since there is a theory of how the chip works and what you end up with is something brittle. Instead, I would build sw using AI but with a theory which has the potential to be longer lasting.

  • mmaunder 2 hours ago

    We’re going to have to work very hard to counter AI incumbents who want to prevent you from using the very technology they enable to compete with them.

  • fennecfoxy 4 hours ago

    Huh. Well with people decomping games and loads of other things using AI...just kinda realised...what stops people from decompiling official GPU drivers and porting them to wherever they need to go? I bet Linus would giggle at the irony.

  • Thaxll 4 hours ago

    Maintaining a driver for GPUs is a full-time job for a full size team, is it going to be a dead project in the next couple of months? What's the goal of that project?

  • petterroea 4 hours ago

    I have heard friends in the industry people doubt it is really a clean-room RE effort based on code comments and contents.

    I suspect when people say "clean-room", they often mean they told the LLM to perform clean-room RE and often don't have any clue what it means, have not verified that it actually happened (did you read the transcripts?), and have not set up their harness in such a way that diverting from clean-room RE was not possible.

    I have had some RE projects in order to test the waters and would regularly see frontier models perform actions that are incompatible with clean room RE while writing code. See the Wine Clean Room Guidelines [1]. I don't believe most projects that claim to be clean-room implementations are such, and I believe even less projects can prove it.

    I am not saying this is the case for every LLM RE project, but there sure are many LLM RE projects out there from people who have no idea what they are doing but are now able to carry out RE efforts. To many, "clean-room" is just a buzzword that they have heard around reverse engineering. This uncomfortable truth may get some projects in legal trouble.

    [1]: https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...

  • alex1138 an hour ago

    I'm just going to say it, the fact Jensen was caught in a cheating scandal is not surprising given the lack of care towards non-Windows people with Nvidia cards

    I do see people posting the angle occasionally that early on AMD was garbage and Nvidia was the only one with a good Linux card. That's possible. But Nvidia has been a pain on Linux for years and no surprise the quality isn't there given the CEO

  • Starlevel004 6 hours ago

    Obvious vibeslop but I don't even care. If it lets me use my old-ass Pascal card at proper speeds without all the buginess of the 580 driver I'll take it.

    • jeroenhd 6 hours ago

      That's my thought exactly, though this project being based around a bit-for-bit recompilation, my guess is that the new driver will be equally buggy as the old one.

      Plus, the blob that runs on the card itself cannot be reimplemented like this. Any issues stemming from deviations/unexpected results on the card itself will remain buggy.

    • cillian64 6 hours ago

      That’s my reaction. I’m going to wait for someone else to test Pascal first, but it doesn’t have to be amazing to be better than the current drivers for those cards.

      • faldore 6 hours ago

        srsly its open source - I dont have all the GPUs, help me. test it on your GPUs and if there are issues at least submit a github issue if not a pr. help me make it great for everyone

  • forgotpwd16 6 hours ago

    Great if actually works. (Because tbh I don't trust much AI-written READMEs.)

  • thatsabadlook 6 hours ago

    This is going to be one of those projects where the downsides become immediately obvious to anyone who tries to actually depend on this isn't it? Solo author LLM repo, scant details on support, etc

    It's something we all want. But it sounds too good to be true doesn't it?

    • timschmidt 6 hours ago

      Throw any bugs you run into at your own LLM? Having the source, an agent, and hardware to test on makes for an effective loop.

    • faldore 6 hours ago

      its open source! please send me issues I am happy to fix them.

  • paaloeye 6 hours ago

    I'm so tired of those so-called clean room Rust projects on the front page. Can't even be bothered to open it tbh.

    • donutdonot 5 hours ago

      Why? The Artcraft stuff is heaven sent and even much faster than opening original Word etc. I love it!

      • paaloeye 5 hours ago

        Why is it heaven sent? Have you tried working in like for a week? Cleanroomness of it is up for debate.

  • verti 6 hours ago

    blows my mind how people can make a README.md that looks like absolute slop (with generated banner as well) made of huge walls of almost incomprehensible walls of text and make it public.

    "read me" suggests it's all important information i should know, but how is: >zero GOT relocations, zero SIMD/x87, zero memcpy/memset/memmove, zero unwind sections, every stack frame <= 1,024 bytes important to me that i HAVE to read this?

    • forgotpwd16 6 hours ago

      >how people can make a README.md that looks like absolute slop

      Because it isn't people that make it, and very probably it indeed is slop.

    • faldore 6 hours ago

      what do you want? me to hire a graphic artist? for an open source project nobody is paying me anything for?

      • the__alchemist 6 hours ago

        An acceptable option is write a brief description of the project that's intended to be read by a person, and not present LLM-written descriptors and prose to users, forcing them to determine if it's genuine and/or worth their time. As a human, LLM-generated readmes like this are insulting.

        Regarding the banner: Either omit it, or use a model to create a tasteful one.

      • worble 4 hours ago

        You could just have no image? Back in my day README's were text only, and if you were really motivated you added some ascii art, regardless it's orthogonal to the thing people are actually there for: the text.

      • verti 5 hours ago

        the banner is the smallest "issue", it brings no value other than showing you've spent 5min generating an image which falls apart when you zoom. the project description being unreadable is my main point.

  • throw1234567891 6 hours ago

    MIG? No. Still needs a license.

  • m00dy 6 hours ago

    .

    • rb666 6 hours ago

      The first release was today, how can it already be underrated?