this post was submitted on 30 Aug 2023
372 points (99.2% liked)

Linux

48090 readers
748 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] lemann@lemmy.one 174 points 1 year ago* (last edited 1 year ago) (38 children)

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

[–] 520@kbin.social 48 points 1 year ago (4 children)

Then isn't the correct solution to sue Nvidia?

It's a legal issue with a legal solution.

[–] Nucelar@kbin.social 63 points 1 year ago (1 children)

You dont sue someone with deeper pockets than you.

load more comments (1 replies)
[–] Zardoz@lemmy.world 53 points 1 year ago

Yeah probably, but Nvidia can afford lawyers and delays for years. Much longer than any oss group could afford

[–] cobra89@beehaw.org 13 points 1 year ago

So you want the company that licensed the patents to the Linux kernel for open source use to have to sue Nvidia for wrongly using their code? You want the company to have to spend a bunch of money suing Nvidia and possibly lose which would open the flood gates to more closed source code leeching off the Linux kernel?

Yeah that's going to make them want to keep licensing their IP to the Linux Foundation (which they're probably doing for free).

Or the maintainers can just submit a fairly simple patch to ensure that the kernel and the patents are being respected. Do you really think the first approach is the way to go?

load more comments (1 replies)
[–] Tetsuo@jlai.lu 35 points 1 year ago (11 children)

Just a perspective on why people would support NVIDIA here:

  • They don't believe in copyright law so they don't mind whoever infringe on them. Especially since here it would make the proprietary driver work better.

  • They do care about copyright law but think having a working driver outweighs respecting them.

Not my opinion here just saying that for some people usability trumps any other aspects.

[–] bear@slrpnk.net 16 points 1 year ago

They don't believe in copyright law so they don't mind whoever infringe on them. Especially since here it would make the proprietary driver work better.

I don't believe in copyright law, but I especially don't believe in partially enforced copyright law. Nvidia doesn't get to use copyright to protect their proprietary code while infringing on the copyright of FOSS.

load more comments (10 replies)
[–] mackwinston@feddit.uk 13 points 1 year ago* (last edited 1 year ago) (1 children)

https://www.youtube.com/watch?v=iYWzMvlj2RQ

"I'm also very happy to point out that nVidia has been the worst [...] so nVidia, "fuck you!""

load more comments (1 replies)
[–] isVeryLoud@lemmy.ca 13 points 1 year ago (2 children)

Phoronix comments are always wild

load more comments (2 replies)
[–] RickyRigatoni@lemmy.ml 8 points 1 year ago

I don’t understand the small minority of commenters there defending a la soulless corp Nvidia, who is blatantly in the wrong here.

They think they're gonna get a free 4090 in the mail any day now.

[–] lckdscl@whiskers.bim.boats 7 points 1 year ago

Agree with your analysis, just pointing out that Phoronix forums have always been like this, or at least the tendency is to insult each other. Their culture is more toxic than any other Linux forums I've seen, maybe besides /g/.

load more comments (32 replies)
[–] Ertebolle@kbin.social 33 points 1 year ago (4 children)

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)

[–] ArbitraryValue@sh.itjust.works 25 points 1 year ago* (last edited 1 year ago) (4 children)

Would having their own distro even help? It seems like working around this would require forking from Linux at a lower level, and even that would only circumvent technical (rather than copyright) barriers.

load more comments (4 replies)
[–] Laser@feddit.de 22 points 1 year ago* (last edited 1 year ago) (1 children)

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.

load more comments (1 replies)
load more comments (2 replies)
[–] intelati@programming.dev 32 points 1 year ago (2 children)

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?

[–] eltimablo@kbin.social 38 points 1 year ago (1 children)

Driver code might expose some underlying secret sauce they're using in the hardware. That's the justification they always used to give, at any rate. At this point, though, it's probably some code they've inherited from an acquisition that has a bunch of legal encumbrance stopping it from being open sources.

[–] pastermil@sh.itjust.works 8 points 1 year ago* (last edited 1 year ago) (1 children)

If they have to rely on obscuring stuff on their user side to keep their secret sauce, I'd say they're bad at it.

This is coming from someone who deals with APIs for living.

load more comments (1 replies)
[–] Blackmist@feddit.uk 12 points 1 year ago (5 children)

I assume nVidia have licensed other code that they don't have the rights to distribute the source code for.

I get what the GPL fans want here, but it's just going to lead to a gimped driver, no driver, or an even larger shim between the open and closed source bits. The Linux market is too small for nVidia to care.

[–] ArbitraryValue@sh.itjust.works 26 points 1 year ago (3 children)

The Linux market is too small for nVidia to care.

The Linux gaming market is too small for Nvidia to care, but the GPU computing market isn't.

load more comments (3 replies)
[–] priapus@sh.itjust.works 13 points 1 year ago

The Linux market is massive for Nvidia. Nobody is using Windows for ML and everybody is using Nvidia for ML.

[–] BURN@lemmy.world 10 points 1 year ago

That’s all I see happening too. The Nvidia Linux drivers will just get worse and not solve anything.

It’s already a huge pain in the ass to use the proprietary drivers, the open source ones barely work as is.

load more comments (2 replies)
[–] rmstyle@feddit.de 20 points 1 year ago (3 children)

That's just such a great image!

[–] hlqxz@lemmy.ml 7 points 1 year ago

Made me lol

load more comments (2 replies)
[–] autotldr@lemmings.world 14 points 1 year 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!

[–] csolisr@communities.azkware.net 14 points 1 year ago

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)

[–] ArbitraryValue@sh.itjust.works 9 points 1 year ago* (last edited 1 year ago) (2 children)

I get why the Linux folks are doing this, but I don't expect that it will make them popular with anyone who actually uses Nvidia drivers on Linux (which is a lot of people). I'm sure that my employer will choose up-to-date Nvidia drivers over up-to-date versions of the kernel, at least in the short term. In the long term it probably won't be an issue since Nvidia will figure something out, but if it did become an issue then ultimately Nvidia driver support is non-negotiable for the company where I work.

(No one cares what a small tech company does, but the big guys need Nvidia too so it should be possible to piggyback on whatever they do.)

[–] withabeard@lemmy.world 21 points 1 year ago (23 children)

don’t expect that it will make them popular with anyone who actually uses Nvidia drivers on Linux

The group to be annoyed at are Nvidia. Plain and simple.

load more comments (23 replies)
load more comments (1 replies)
[–] argv_minus_one@beehaw.org 8 points 1 year ago* (last edited 1 year 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.

[–] Rayspekt@kbin.social 7 points 1 year ago (1 children)

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@sopuli.xyz 11 points 1 year ago* (last edited 1 year 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.).

load more comments
view more: next ›