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)

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

View full thread · View on Hacker News

Comment thread (11)

  1. 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.
      Replies (2)
      1. I feel like a law as suggested would just quickly lead to companies ensuring that no internal documentation exists.
        Replies (1)
        1. Well, good luck to those companies working on anything serious without any documentation.
          Replies (1)
          1. It's basically the default state. There's a certain webcam sensor manufacturer that has notoriously terrible public datasheets, that basically tell you nothing and all the drivers that exist are just reverse-engineered blobs of 'write this value to this address'. I've heard from people who have signed NDAs and such with them, working with larger projects where you would expect to maybe get the full datasheet. Nope, they're not working with anything better in terms of documentation, what you get is being able to talk with their engineers to maybe figure out how to do what you want.
            Replies (2)
            1. I’m curious, what makes their sensors good, if they require so much trouble?

              Continue this thread (1 replies) →

            2. I'm guessing that their internal datasheets are in just as bad a state as the public ones.
      2. > a law requiring open hardware

        This would be absolutely fantastic for ensuring that China (which would have no such law) would be able to maintain technological parity with the United States, especially in important fields like AI and weapons.

    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.