• ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    5 hours ago

    i thought nvidia had already released source and documentation.

    isn’t that what’s fueling the development of the new nvk and nouveau driver?

    • Sickday@kbin.earth
      link
      fedilink
      arrow-up
      7
      ·
      2 hours ago

      sort of. nvidia open-sourced the kernel modules, so userspace libs like cuda, opengl, vulkan, etc. are all still closed. also nvidia’s open sourced kernel modules only work on Turing+ chips. nvidia probably open sourced the kernel modules because all the juicy logic was moved to the GPU System Processor (closed sourced CPU built into the Turing+ cards).

      The current nvk is mostly a small layer that can talk to the newer GSP. Older cards like Maxwell-era dont have a GSP so the nvk driver doesn’t really apply to them. They still use the closed nvidia.ko blob. nvk itself is a userspace mesa driver though and it runs on nouveau and doesn’t use even use nvidia’s open modules.

      this nvdriver is a clearly reverse engineered “clean room” rust impl of nvidia’s closed kernel module (nvidia.ko). its able to run stuff like libcuda, nvidia-smi, probably even llama.cpp and PyTorch. it’s also doing shit like removing product limits for crytpo miners and vgpu allow-lists. to me, it looks like they’re trying to do this specifically for cuda stuff though. Will it work with nvk? not sure I haven’t spent enough time looking at it to know.

      also anyone more knowledgeable feel free to correct me. this is just cursory glance info so I could be off on my assessment of the repo