Luis Chamberlain sent out the modules changes today for the Linux 6.6 merge window. Most notable with the modules update is a change that better builds up the defenses against NVIDIA’s proprietary kernel driver from using GPL-only symbols. Or in other words, bits that only true open-source drivers should be utilizing and not proprietary kernel drivers like NVIDIA’s default Linux driver in respecting the original kernel code author’s intent.

Back in 2020 when the original defense was added, NVIDIA recommended avoiding the Linux 5.9 for the time being. They ended up having a supported driver several weeks later. It will be interesting to see this time how long Linux 6.6+ thwarts their kernel driver.

  • Oh wow the comments on Phoronix for this one are bonkers.

    From what I understand (because it wasn’t clear to me from either of the TLDRs posted here) Nvidia’s proprietary graphics driver has been calling parts of the kernel that they shouldn’t be, because their driver is closed source.

    These seem to be parts of the kernel that another company may own patents to, but has only licensed it to the kernel for free use with GPL open source code only, i.e. closed source/proprietary code is not allowed to use it.

    Nvidia seems to have open sourced a tiny communication shim to try and bypass this restriction, so their closed source driver talks to the shim, and the shim talks to the restricted code in the kernel, that Nvidia does not have a license to use. This is a DMCA violation, hence why the Kernel devs are putting in preventions to block the shim, as far as I can see.

    I don’t understand the small minority of commenters there defending a la soulless corp Nvidia, who is blatantly in the wrong here. Some commenters have gone as far as to call the Linux kernel maintainers “zealots”, would not be surprised if they are alts for Nvidia devs…

    Edit: typo

  • And that’s why I’m happy to see that the lock on modifying the Nvidia BIOS for their old graphics cards has finally been decrypted. That means that Nouveau will have a much easier route to make their open-source drivers work properly on the 10xx and 20xx cards, so we don’t have to rely on the tainted crumbs that Nvidia offered here. (Then again, I eventually moved to a 6600 specifically to no longer have to deal with this kind of shenanigans)

  • Riddle me this, why is there such a thing as proprietary drivers for anything? Especially consumer facing products like this?

    Don’t you want anyone and anything using your product in any situation? Help me understand NVIDIA’s bit with this?

  • Ertebolle ( Ertebolle@kbin.social ) 
    link
    fedilink
    arrow-up
    30
    ·
    3 years ago

    a) Good for them

    b) How long before NVIDIA throws up their hands at the whole thing and does their own Linux distro + pushes all their cloud AI customers to use it? (it doesn’t seem like they’re ever going to be shamed / coerced into actually open-sourcing their driver)

    • Laser ( Laser@feddit.de ) 
      link
      fedilink
      arrow-up
      22
      ·
      3 years ago

      There’s an interesting discussion about the whole topic on the Phoronix forums about this. Some people claim that removing them and Nvidia’s current behavior is a DMCA violation:

      1. The kernel includes IP only licensed under GPLv2.
      2. While a module linked against the kernel isn’t necessarily a derived work which in turn would need to be licensed GPLv2 as well, there are specific interfaces that are meant for internal use and by their very nature would make your work derived if using them. These are the interfaces marked EXPORT_GPL_ONLY.
      3. Using these interfaces with a module not licensed GPLv2, you taint the kernel and violate the licensing.
      4. Removing the check, you aren’t necessarily yet violating GPLv2, but you’re removing a technical protection measure which is a violation of the DMCA.

      It also raises the question why you’d remove checks that only prevent a possible GPLv2 violation if you’re not violating GPLv2 anyways as Nvidia claims.

      • poweruser ( poweruser@lemmy.sdf.org ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 years ago

        you aren’t necessarily yet violating GPLv2, but you’re removing a technical protection measure which is a violation of the DMCA.

        Isn’t overcoming a technical limit a violation itself? That’s what made DeCSS illegal. They didn’t have to prove anyone was actually copying DVDs with it, just that DeCSS could allow you to copy a DVD

        • yum13241 ( yum13241@lemm.ee ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          Yes, even if it’s a dialog box with only a “No” button, despite how easy it would be to get it to return a different value.

          DISCLAIMER: IANAL, this is not legal advice.

  • argv_minus_one ( argv_minus_one@beehaw.org ) BannedBanned
    link
    fedilink
    arrow-up
    24
    ·
    3 years ago

    Lousy criminals. NVIDIA, I mean. If I wrote code like that, I’d be dragged in front of a judge and made to answer for breaking the DMCA. But if you’re a big, rich company, the government won’t touch you.

  • AutoTL;DR ( autotldr@lemmings.world ) BB
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

    This is the best summary I could come up with:


    The Linux 6.6 modules infrastructure is changing to better protect against the illicit behavior of NVIDIA’s proprietary kernel driver.

    Most notable with the modules update is a change that better builds up the defenses against NVIDIA’s proprietary kernel driver from using GPL-only symbols.

    Given that symbol_get was only ever intended for tightly cooperating modules using very internal symbols it is logical to restrict it to being used on EXPORY_SYMBOL_GPL and prevent nvidia from costly DMCA circumvention of access controls lawsuits.

    Luis Chamberlain further added in today’s pull request: "Christoph Hellwig’s symbol_get() fix to Nvidia’s efforts to circumvent the protection he put in place in year 2020 to prevent proprietary modules from using GPL only symbols, and also ensuring proprietary modules which export symbols grandfather their taint.

    The circumvention tactic used by Nvidia was to use symbol_get() to purposely swift through proprietary module symbols and completley bypass our traditional EXPORT_SYMBOL*() annotations and community agreed upon restrictions."

    Back in 2020 when the original defense was added, NVIDIA recommended avoiding the Linux 5.9 for the time being.


    The original article contains 476 words, the summary contains 174 words. Saved 63%. I’m a bot and I’m open source!

  • Rayspekt ( Rayspekt@kbin.social ) 
    link
    fedilink
    arrow-up
    9
    ·
    3 years ago

    Can someone ELI5 what this is about? Why does Nvidia wants to access parts if the Linux kernel and why are linux kernel maintainers against it? Wouldn’t it be good if Nvidia uses more open-source stuff?

    • SSUPII ( SSUPII@sopuli.xyz ) 
      link
      fedilink
      arrow-up
      17
      ·
      3 years ago

      Open source software is given with specific licenses. The Linux kernel is made of many smaller open-source components that each can have their own license. Some of the licenses used disallow the partial or full usage of the licensed software or components in proprietary settings, or in general given usage for specific cases only (in this case, the Nvidia driver using components they are not licensed to use.).

  • librechad ( librechad@lemm.ee ) BannedBanned
    link
    fedilink
    arrow-up
    7
    ·
    3 years ago

    Just installed the nvidia-driver for my 2080 SUPER and my system isn’t starting now. I’m using Debian 12.1 and after installing the driver, it crashes after entering in my password for my encrypted drive.

    I will load up a Live USB and see if I can fix the issue. Any help would be appreciated!

  • bankimu ( bankimu@lemm.ee ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

    It’s sad to see the 100500th confrontation between the people who have never contributed to the kernel, yet they want to deprive others of using their existing GPU with Linux and instead force them to buy a new GPU. This screams of of being elitist and haughty but I just don’t care any longer. Too tired of hatred, aggression, animosity and verbal attacks. This has really propelled Linux, oh, wait, it’s only shown what kind of people represent Open Source.