Unofficial Hacker News companion — get notified on comment replies, and more.

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs (opens external site)

919 points by rreyes1979 1 day ago | github.com | 454 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (51)

  1. >> And clearly not documented anywhere outside HQ.

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

    Replies (4)
    1. ">> 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?

      Replies (2)
      1. Jeez, I hope not. That sounds very authoritarian.
        Replies (5)
        1. And yet necessary to ensure adversarial interoperability
          Replies (1)
          1. Adversarial interoperability is adversarial. If you want it, go and decompile an Nvidia driver.
            Replies (1)
            1. It can be, but just as big corporations sponsor regulation to prevent it (i.e. making reverse-engineering DRM illegal), we can demand regulation to make it easier too.

              Continue this thread (1 replies) →

        2. 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.
          Replies (2)
          1. Replies (2)
            1. I’m well aware of regulatory capture. But not all regulations make for regulatory capture. Sometimes regulations are just good for everyone.
            2. I like that there's 2 examples outside of America, and then a list of every agency that exists within it.
          2. 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.
            Replies (3)
            1. Open source VHDL :)
            2. I feel like a law requiring open hardware, or even just requiring hardware to interoperate with any computer software system through the documentation published by the manufacturer, would very quickly solve this problem, at least for the bigger corpos. Of course, the law would also mandate that the means by which interoperability is acheived is no more difficult/complex than whatever the manufacturer does to communicate with the hardware.

              Continue this thread (2 replies) →

            3. We could require the drivers/firmware to be open source, in addition to any hardware documents that do exist. Surely things will be written down soon if they aren't though in order to prompt an LLM for codegen.
        3. >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.

          Replies (1)
          1. That's not at all what authoritarian means.
            Replies (1)
            1. Neither is "you must publish a certain dataset". Isn't that the point of this subthread?
        4. 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.

        5. You can do this with soft power.

          Decare that the government will only buy tech with publicly available data sheets.

          People are then free to do what they want, but going counter to openness would cost them a considerable market.

      2. I'd prefer closed hardware sometimes for commercial reasons than the alternative of there being fines for publishing datasheets because of government regulation.
    2. So not clean room at all then
      Replies (3)
      1. 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.

        Replies (1)
        1. The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.
          Replies (4)
          1. 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)
            Replies (1)
            1. "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.

              Continue this thread (2 replies) →

          2. 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?
          3. >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.

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

      2. I'm pretty sure this is a joke, not a serious comment: https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...
      3. It was a joke about Alice Huang.
    3. lol, this made me spit out my coffee!

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

      Replies (4)
      1. 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.
        Replies (1)
        1. It also sounds like "One", hence 2, 3, 4...
      2. This is a joke email address in a nod to Alice Huang[1] [1] https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...
        Replies (1)
        1. Yeah, I got the joke, which is why I spit out my coffee.
      3. Made my day. Thank you.
      4. Brilliant -- laughed out loud myself .. amazed out how many HN folks didn't get the joke
    4. This reminds me of the hilarious comments you used to see on Slashdot back in the day. Bravo! :D