18 comments

  • diydsp 29 minutes 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?

    • cogman10 17 minutes 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 16 minutes ago
        But at least in theory this claims to support pre-GSP cards (maxwell, pascal)
        • cogman10 8 minutes 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.

    • kimixa 13 minutes 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 minutes 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.

      • strobe 8 minutes 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.
      • cogman10 12 minutes ago
        They vacuumed before firing up claude code.
      • rickdeckard 2 minutes 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...

  • mootothemax 38 minutes 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 24 minutes 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.
    • embedding-shape 31 minutes 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 9 minutes 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.

  • mattr03 52 minutes ago
    Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?
    • papua_is_being_ 47 minutes 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 29 minutes 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

        • jpambrun 21 minutes 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.

      • Yoric 24 minutes 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 44 minutes ago
        Subpoena the model providers in discovery to see if the Nvidia source was in the lake.
        • teekert 42 minutes 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 38 minutes 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.

            • larsonian 34 minutes 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 29 minutes 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?
              • tomxor 27 minutes 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 23 minutes ago
              In French, "it's a double-edged knife".
          • myrmidon 21 minutes ago
            There's also "live by the sword, die by the sword" in english if you want it to be more biblical.
          • rubyfan 28 minutes ago
            Ethics notwithstanding, I think courts have called training on copyrighted works fair use.
          • skrap 27 minutes ago
            Another English version of the same would be to say "It's a double-edged sword". Language is neat.
      • zelphirkalt 38 minutes 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 30 minutes 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 27 minutes ago
            Indeed. I often have quite complex projects pre-LLM with one commit I made after I got everything to work.
        • kikoreis 16 minutes ago
          LLMs don't author code (in the same way compilers aren't copyright holders of the binaries they generate).
        • singpolyma3 29 minutes 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.

        • simianparrot 19 minutes 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 43 minutes 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".

        • ape4 35 minutes ago
          [dead]
        • papua_is_being_ 36 minutes 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 24 minutes 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.
    • imtringued 14 minutes 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 48 minutes 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 41 minutes 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

    • mungoman2 48 minutes ago
      This is technically grey but politically it is very clear that washing via LLM is acceptable. The whole AI economy is built on this and it can’t be allowed to fail.
      • gspr 47 minutes 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.

        • Joker_vD 44 minutes ago
          Wait, do LLMs have the source code of NVIDIA drivers in their learning data set? If not, how is "clean room" inapplicable here?
        • embedding-shape 43 minutes 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 45 minutes 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 24 minutes ago
            It's been interesting to me how many people who were pretty hackery before suddenly really believe in "IP theft" now
          • zelphirkalt 34 minutes 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 20 minutes 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
          • gspr 42 minutes 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".

    • InsidiousWombat 4 minutes 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
    • egeozcan 24 minutes 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.

    • gspr 49 minutes 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.

  • faldore 35 minutes ago
    Eric Hartford (QuixiAI) here, author of nvdriver. Happy to answer any questions.
    • SillyUsername 22 minutes 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 11 minutes ago
        I've added all the hacks I'm aware of - If I've missed any, give me links, happy to add it!
        • SillyUsername 3 minutes ago
          I'd assumed the V100 HBM2 memory clock could be backported, that the earlier Tesla series would have the same capability.
    • david-gpu 28 minutes ago
      From a former GPU wrangler: Congrats on your first release!
      • faldore 10 minutes ago
        thank you Mr. David!
    • embedding-shape 25 minutes 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 17 minutes ago
        It's much more practical to monitor one thread for new questions than to monitor all of them.
  • tuananh 2 minutes ago
    anyone tries it yet? is the number claimed in the readme correct?
  • MitPitt 50 minutes 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.
  • samiv 26 minutes ago
    Why not put your effort into noveau?
    • utopiah 18 minutes 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.
  • nonestdeus 40 minutes ago
    Looks cool, but I'll wait for some tech youtubers to test it first.
  • m00dy 46 minutes ago
    .
    • rb666 44 minutes ago
      The first release was today, how can it already be underrated?
  • xorcist 34 minutes ago
    An extremely verbose project description yet no mention of other nVidia drivers such as Nova. How are the goals and/or implemention different?
  • EmmEff 11 minutes ago
    Port to macOS and get native NVIDIA support (for select cards...) back? ;)
    • faldore 5 minutes ago
      nvidia driver for macos?
  • silentkat 11 minutes ago
    Ah, "clean room". The new "No copyright infringement intended".
  • forgotpwd16 16 minutes ago
    Great if actually works. (Because tbh I don't trust much AI-written READMEs.)
  • Starlevel004 27 minutes 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 3 minutes 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 9 minutes 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 3 minutes 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
  • verti 23 minutes 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?

    • faldore 2 minutes ago
      what do you want? me to hire a graphic artist? for an open source project nobody is paying me anything for?
    • forgotpwd16 14 minutes 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.

  • thatsabadlook 27 minutes 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?

    • faldore 0 minutes ago
      its open source! please send me issues I am happy to fix them.
    • timschmidt 16 minutes 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.
  • throw1234567891 47 minutes ago
    MIG? No. Still needs a license.
  • paaloeye 19 minutes 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.