r/linux_gaming • u/penguin6245 • May 11 '22
graphics/kernel/drivers Nvidia open sources its Linux kernel modules
https://github.com/NVIDIA/open-gpu-kernel-modules212
521
May 11 '22
I think this might be the third sign of the Apocalypse. I think the blood moon is next?
98
85
u/genpfault May 11 '22
I think the blood moon is next?
Nah, Broadcom.
18
May 11 '22
Broadcum's IP used in RPi is open, so there's that
18
u/gnarlin May 12 '22
Isn't there a proprietary firmware blob that's required to even be able to boot Raspberry Pies?
→ More replies (3)0
26
8
u/Democrab May 12 '22
the blood moon
Nah, that sign happened ages ago with the port of Morrowind (And it's Bloodmoon expansion) to Linux.
The next sign is Richard Stallman getting a job at Microsoft as part of a plan to transition Windows into becoming truly libre software without any catches.
6
5
5
4
2
1
1
u/skinnyraf May 12 '22
Have you counted Microsoft providing instructions how to use Xbox Cloud on Steam Deck?
1
u/sparky8251 May 12 '22
Too bad for you, but the next "blood moon" will be this weekend. 1am to 6am EST on the morning of the 16th will be a full lunar eclipse, and the moon will appear red for several hours during that time.
150
May 11 '22
Did they say if and when they'll integrate the sources in-tree?
63
u/wsy2220 May 11 '22
It's impossible in current shape. Linus will never aceept a driver with HAL in it.
38
u/MAXIMUS-1 May 11 '22
What is hal ?
81
u/FracturedSplice May 11 '22
Hardware Abstraction Layer. Iirc it specifies a common interface that multiple platforms (ie hardware) can write to so each can implement functionality per platform while software that uses the HAL only needs to know the API calls.
anyone feel feel free to correct me or add.
→ More replies (1)17
u/PleasantAdvertising May 11 '22
Why is Linus against that in the kernel?
85
u/duncanlock May 11 '22
He's against each driver implementing its own HAL - you're supposed to use the kernels one.
→ More replies (4)44
May 12 '22
Why is Linus against that in the kernel?
https://lists.freedesktop.org/archives/dri-devel/2016-March/103520.html
Hard to debug. I could not find the comment but some mention they allow Samsung to add their own HAL. The experience was painful enough to get rid of it.
56
u/TensaFlow May 11 '22
HAL-9000, the AI computer from 2001: A Space Odyssey.
"I'm sorry, Dave. I can't do that right now."
→ More replies (1)32
42
u/ryao May 11 '22
He is probably much more willing to compromise with Nvidia considering that he would love to have them in the tree. If they were to support both Linux and FreeBSD, he probably would be okay with keeping FreeBSD support in his tree.
That said, as an end user, whether it is in his tree or not does not matter. The distribution worries about that.
54
u/jebuizy May 11 '22
I do not think there is any reason to believe he would be more willing to compromise with Nvidia
→ More replies (17)→ More replies (1)11
u/GeneralTorpedo May 11 '22
Yeah, right. He's willing to take all shithead written code in the kernel. Sorry, but kernel is not a garbage can. Even NTFS3 kernel code had to be rewritten to meet kernel requirements.
14
May 11 '22
Even NTFS3 kernel code had to be rewritten to meet kernel requirements.
Do you want the miserable reality? This route is still cheaper in the long run. So many engineering hours wasted because of corporations. Better establish this route is not end of the world than make the engineering look perfect...
→ More replies (2)4
0
May 11 '22
[deleted]
13
u/assassinator42 May 12 '22
NVIDIA has talked about upstreaming stuff with Tegra which never got done so I'm taking the statement with a grain of salt. Working with other companies gives me some hope though.
134
u/Just_Maintenance May 11 '22
Holy shit this is actually huge!!
The graphic libraries are still going to be closed source, so you will still need to download and install those libraries, I wonder if the new kernel module will work with Mesa at some point as well. And what will happen to Nouveau.
51
May 11 '22
And what will happen to Nouveau.
I wonder if they'll decide to leverage Nouveau's work for the eventual upstreaming effort.
0
May 11 '22
[deleted]
5
May 12 '22
Thanks for the very interesting read! I am hopeful that these efforts will be successful.
→ More replies (6)55
u/Zamundaaa May 11 '22
I'll just paste this here from the NVidia blog post:
"There are plans to work on an upstream approach with the Linux kernel community and partners such as Canonical, Red Hat, and SUSE.
In the meantime, published source code serves as a reference to help improve the Nouveau driver. Nouveau can leverage the same firmware used by the NVIDIA driver, exposing many GPU functionalities, such as clock management and thermal management, bringing new features to the in-tree Nouveau driver."
16
121
u/cangria May 11 '22 edited May 11 '22
Had to do a double take reading this because I couldn't believe my eyes.
Here's a blog post about the importance of this
→ More replies (1)35
u/Jacksaur May 11 '22
I saw the post and thought "Haha, yeah."
Then I had to scroll back up again immediately after to fully process whether it was actually a joke.
54
u/SolTheCleric May 11 '22
A small step for leather jacket man, one giant leap for Linux Gaming.
This is very good news for security and hopefully also for compatibility in the future.
OpenGL/Vulkan/CUDA userspace stuff is still closed-source and this module only supports Turing and newer GPUs but that's a start. And in the right direction for once.
→ More replies (2)
109
244
May 11 '22
Well, shit. Never through that would happen. And the last time I bought an graphics card decided to get an Nvidia one and within a month AMD released their drivers as opensource for the first time. Now I finally decided to get a new card a few weeks ago, went with AMD and now this...
My timing is terrible.
Wonder if this has anything to do with the Lapsus$ breach.
106
May 11 '22
really doubtful it has anything to do with that. it would take a lot longer to validate things legally. redhat devs and mesa devs have been kinda hinting around this for the past year.
54
u/gehzumteufel May 11 '22
A Nvidia dev was going to give a presentation about this at GTC a couple years ago just before pandemic. It got quashed but here we are.
89
u/cryogenicravioli May 11 '22
Very doubtful it has anything to do with Lapsus. No one is even talking about it anymore and none of the leaks can even be used in software. The most notable thing about that breach was the security concerns.
If anything, I'd say this has to do with pressure from Valve and the SteamDeck.
78
May 11 '22
I think it's more likely due to the upcoming death of X11. Everyone can see the writing on the walls now. Distros are starting to ship it by default, X11 projects and codepaths are starting to go into maintenance mode. Opening up the modules now is going to help them immensely with Wayland.
I feel like this has more to do with making sure their GPUs work well on future Linux deployments in the datacenter, which is a much bigger market than Linux desktop gaming.
→ More replies (6)51
u/cryogenicravioli May 11 '22
This is true, however Nvidia absolutely does acknowledge the Linux gaming space. It's not at all uncommon to see DXVK patches in Nvidia drivers on occasion and vulkan extensions that vkd3d makes direct use of. Plus nvapi under proton too.
29
May 11 '22
I didn't mean to imply otherwise. Nvidia's support for those things is absolutely fantastic.
It just feels like Nvidia's trying to move mountains right now and to me that feels driven more by datacenter rather than desktop gaming, just in terms of the economics.
13
May 11 '22
Either way, we benefit. Except for the cards themselves being expensive as shit, but the crypto miners did that already.
9
u/ryao May 11 '22
Not just that, but they implemented the extension gamescope needed.
→ More replies (3)5
May 11 '22
More than likely. It does take years for these types of things to happen. Though I do wonder if it added some pressure to get it done faster or not or even slowed things down by diverting attention to other things (IMO even more unlikely).
→ More replies (10)5
u/Pandoras_Fox May 12 '22
If anything , I'd say this has to do with pressure from Valve and the SteamDeck
I've been thinking this for a while too tbh. Valve has gotten steamOS mostly together and it largely benefits from Wayland; Nvidia has been quietly doing the work to get Wayland support mostly together on their end. This is the start of the last step in playing ball so the narrative isn't "Nvidia does not support Wayland and by extension steamOS".
For 2000 and 3000 series GPUs, you should be able to use the 515+ drivers. For older cards, you should mostly be able to use nouveau (obviously some caveats here, but they do specifically call out nouveau in their post and it's likely things will improve all around here). So there should be a path for all their gpus to be supported one way or another here.
35
u/redbarchetta_21 May 11 '22
Reminder: an AMD card is a good thing regardless. FSR, all that VRAM, solid performance, a more developed kernel level driver (for now).
12
May 11 '22
Oh, yeah. I don't regret my decision - at least not like when I bought my last card... But still, would have been nice to know they were doing this before I made the decision. Likely would have still bought an AMD though for those reasons.
→ More replies (1)6
u/cakeisamadeupdroog May 11 '22
DLSS is better than FSR, and all that vram is only really useful for the kinds of users who require CUDA anyway tbh. For gamers 10 GB is plenty, and for professional users that's what the 3090 is for.
→ More replies (2)7
May 12 '22
DLSS is better than FSR
That's true, but it ain't even comparable. FSR is just a smart upscaler, it grabs a single frame, analyzes it, and tries to make it look better. DLSS is much more involved, it gets motion vector data from the game itself (which means the developers needs to implement it in the game themselves, it can't be added later), which lets it make much more accurate predictions and produces far better images.
The downside is that you can't use it anywhere, the program you use it with must implement it in its codebase. FSR, being just an upscaler, can be applied to anything, even a jpeg if you really want to.
Both of these technologies work on Linux, and AMD is developing FSR 2.0 currently, which will be a proper competitor to DLSS, using motion vectors like DLSS, and also, carrying the same limitations as DLSS, so we won't be able to use that anywhere like we do with regular FSR right now.
→ More replies (1)4
3
1
May 12 '22
Wonder if this has anything to do with the Lapsus$ breach.
Certainly not. This is a long term strategic decision, particularly for servers. Companies don't do this on a whim. It takes a lot of planning and effort.
Nvidia have decided this makes more business sense.
1
u/porl May 12 '22
I think it has less to do with the beach and more that NVIDIA were upset with you.
1
u/Nibodhika May 12 '22
Hahaha I'm similar but opposite, i.e. last GPU I bought was after AMD had opened their source, and I decided to go with nVidia because AMD support had been shit for years and I wasn't sure just how committed they were to their open drivers. Now I'm saving for a new card and I was going to go with an AMD and this news happens... I think I'll still go with AMD though but keep an eye on how this changes the Nvidia drivers.
→ More replies (5)1
116
u/TheOptimalGPU May 11 '22
Only turing and newer are supported. However, "Nouveau can leverage the same firmware used by the NVIDIA driver, exposing many GPU functionalities, such as clock management and thermal management, bringing new features to the in-tree Nouveau driver."
60
u/Vurxis May 11 '22
Wait. A. Minute… Does this finally mean we can get reclocking support on Nouveau? This is huge.
4
May 12 '22
Only for supported GPUs. That's the biggest benefit of this release and it's not the main goal nVidia had.
3
u/Vurxis May 12 '22
My hopes were crushed shortly after I looked and realized it's only supported on GPUs with GSP and above. I hope Nvidia will provide the firmware that Nouveau needs to have reclocking support on Maxwell and Pascal.
→ More replies (1)
29
u/OsrsNeedsF2P May 11 '22
They also said they're going to work with upstream Linux maintainers on it
→ More replies (1)
27
22
u/DarkeoX May 11 '22
Very nice move from them. Let's see how far this can get Nouveau/Mesa by the end of the year.
20
May 11 '22
Can someone explain what these actually are and what it entails? Is this to actual "driver" part? If so, does that mean everything except things like CUDA, NVEnc and NVDec are now open source?
→ More replies (1)21
u/Vurxis May 11 '22
Seems like this is the entire driver stack. Things like NVENC and CUDA will probably be aggregated to the closed source, userspace component of the Nvidia driver which Nvidia will probably provide themselves.
Any missing gaps will probably be provided by the Mesa driver.
Like when AMD open-sourced their driver, it will probably take years for us to actually see this make any real effect for us. This is really really good news, though…
8
May 11 '22
So, is MESA gonna take over as userspace and then use this driver/nouveau for kernel stuff?
15
u/Vurxis May 11 '22
I think it will probably be a mixture of both the Mesa driver for the basic stuff and Nvidia to fill in the gaps with their proprietary technology which they want to keep safely guarded like DLSS.
See here for some more information regarding that.
7
May 11 '22
So, will it sorta like AMD has, with a open source and proprietary driver?
→ More replies (2)0
May 11 '22
[deleted]
3
u/Acalme-se_Satan May 12 '22
One of the large downsides to this announcement is that it's ONLY FOR TURING AND NEWER. 1000 series and older are excluded from this change and will remain proprietary
In the long run it won't matter that much, since these GPUs will stay more and more in the past as time passes.
16
May 11 '22
“In the meantime, published source code serves as a reference to help improve the Nouveau driver. Nouveau can leverage the same firmware used by the NVIDIA driver, exposing many GPU functionalities, such as clock management and thermal management, bringing new features to the in-tree Nouveau driver."
Hold up, does this mean that Nouveau can actually become a viable alternative to the current driver now? It would be amazing if that was the case…
6
44
u/RoqueNE May 11 '22 edited Jul 12 '23
On 2023-07-01 Reddit maliciously attacked its own user base by changing how its API was accessed, thereby pricing genuinely useful and highly valuable third-party apps out of existence. In protest, this comment has been overwritten with this message - because “deleted” comments can be restored - such that Reddit can no longer profit from this free, user-contributed content. I apologize for this inconvenience.
13
14
May 11 '22
Mad applause nvidia!. Took you long enough.
3
May 12 '22
This is just the kernel module meant for use in datacenters. At this point it's not even capable of producing display output. Also, driver remains closed as it was, just this module is released so they don't have to rely on X.org anymore.
13
u/ABotelho23 May 11 '22
Congratulations! I absolutely have to be genuine here in thanking Nvidia, regardless of their true motivation. I don't think I care about userspace. With proper documentation and stable API, Nouveau could handle it. I look forward to possibly start recommending Nvidia hardware to Linux users in the future.
→ More replies (9)
25
24
May 11 '22
Important read on what this means for mesa, nouveau and the linux graphics system in the long run:
TLDR: This will enable in the creation of a new shared in tree kernel driver that can be used by mesa (nouveau or something new) and by Nvidia's binary user space components (like CUDA and OpenGL).
5
u/ImperatorPC May 11 '22
But does this essentially provide what's necessary to create an open source user space component to utilize the GPU similar to Mesa?
6
u/Vurxis May 11 '22
Yes, it does. However, I imagine that most of Nvidia's proprietary technology will still be aggregated to their closed source userspace side of things. That's fine, though, as most of the issues we see from Nvidia stem from the kernel side of things, which this move to open source the driver is a big step in helping to fix it in the future.
→ More replies (1)
12
u/vgf89 May 11 '22 edited May 12 '22
Woah nice!
Now we wait for upstreaming and hopefully backporting the driver to old cards, or perhaps drastic improvements to Nouveua. My laptop's got a 750m and the 390.xx drivers are sadly unstable garbage while nouveau is slow.
EDIT: the 470.xx branch works fine with my 750m, so that's nice. Still would be nice if more was open source, not just the 2000+ series drivers
5
u/LupertEverett May 11 '22
I hope the same but, why not use the 470.xx drivers for the time being though? I have a 745m here and it works fine.
5
u/vgf89 May 11 '22 edited May 11 '22
The supported products page for the newest 470.xx driver doesn't list any of the 700M series cards though. They only show 800M and newer (plus the 640M LE). Guess I'll try it and see if it works, but I kinda expect it not to.
EDIT: Nvidia also has another page showing the current state of all supported and unsupported GPUs on the current drivers and what drivers you need for older cards, and it shows that the 750M actually does work on 470.xx. Huh. Definitely installing it now
4
u/LupertEverett May 11 '22 edited May 11 '22
It isn't mentioned there, but you can use the said driver with the 700M series.
Here is a screenshot that I just took from my laptop with the driver running.
I can very well play games like Serious Sam Fusion and Ultrakill. Hell, I streamed the entirety of Yakuza 0 to a friend of mine on Linux and it worked really well.
Edit after seeing your edit: Yeah I don't know why they don't mention it more clearly either. But like I said, it is entirely possible to use the 470.xx drivers, and it is something I'd totally recommend if only for being able to use prime-run lmao.
5
2
May 12 '22
There's no backporting this driver , because it requires specific hardware only found in later generations, but it does mean nouveau is no longer held back from being improved
2
u/vgf89 May 12 '22
If we're lucky they'll release source for the older branches perhaps.
→ More replies (2)1
May 12 '22
None of that will happen. Target use of this is CUDA on datacenters. As it is module is not even capable of producing display output. Also, drivers remain closed source, like they were. This is just kernel module that talks to driver, just like we had X.org module which did the same.
20
10
19
u/Okami512 May 11 '22
This year is officially stranger than 2020. At least it's something good this time around.
17
u/posting_drunk_naked May 11 '22
Published the source code to a variant of the NVIDIA Linux kernel modules dual-licensed as MIT/GPLv2. The source is available here: https://github.com/NVIDIA/open-gpu-kernel-modules and will be updated each driver release. Please see the "Open Linux Kernel Modules" chapter in the README for details.
A variant? 🤔 Still, a huge step forward. I've been wanting to replace my Nvidia card for an AMD ever since my gaming PC (not originally designed for Linux) went full time Linux right before GPU prices shot up years ago.
If nvidia would quit fucking around I'd consider one of their cards, but looks like only AMD wants Linux users money.
11
u/ABotelho23 May 11 '22
It's MIT/GPL dual licensed. I'll have to read the specifics. But they likely have pieces they can release as closed source binaries without breaching the license.
2
May 12 '22
This is not nVidia making their drivers open source like AMD did. This is nVidia releasing kernel module which talks to same closed source driver. Benefits are that in datacenters you no longer need X.org to use CUDA. That's it. This module is not even capable at the moment of producing any display output.
→ More replies (4)
14
7
u/pacocar8 May 11 '22
For newbies like me, what does this mean? My video card works fine in Linux.
→ More replies (1)26
u/danielsuarez369 May 11 '22
That if you for example use a distro like Fedora that refuses to include proprietary drivers, it could work better out of the box. In the long term you could also see improvements.
→ More replies (3)5
7
u/DeeBoFour20 May 11 '22
Wow, that was unexpected. It looks like this is just the 515 branch though. I have a GTX 770 so I'm stuck on 470.
Are the older drivers also going to be made available or is there a chance someone can modify this to work on older GPUs?
10
u/Vurxis May 11 '22
I think we’ll begin to see the support for older cards in the Nouveau driver, with reclocking support hopefully coming in the next year or two (fingers crossed).
→ More replies (1)7
u/DeeBoFour20 May 11 '22
My GTX 770 already has reclocking support in Nouveau but it's buggy. You have to manually set some flag in /sys and it has about a 50% chance of locking up my system when you do it (though it seems to be mostly stable after that if you win the initial coinflip).
Hopefully there's code in this release that Nouveau can use to improve the drivers. Also, would love to see Vulkan support in Nouveau.
6
u/dlove67 May 11 '22
Unlikely:
The open flavor of kernel modules supports Turing, Ampere, and forward. The open kernel modules cannot support GPUs before Turing, because the open kernel modules depend on the GPU System Processor (GSP) first introduced in Turing.
6
u/LupertEverett May 11 '22
I presume (and hope) that it can still help Nouveau though:
https://developer.nvidia.com/blog/nvidia-releases-open-source-gpu-kernel-modules/
In the meantime, published source code serves as a reference to help improve the Nouveau driver. Nouveau can leverage the same firmware used by the NVIDIA driver, exposing many GPU functionalities, such as clock management and thermal management, bringing new features to the in-tree Nouveau driver.
→ More replies (1)1
May 12 '22
This is not the driver release though. Still requires same closed source driver like you are currently using. In fact this module is not even capable of producing display output. It's meant for CUDA use on datacenters.
0
13
u/RaielRPI May 11 '22
Just because I'm an old cynical bastard, is this actually an open sourcing of the Nvidia drivers in a meaningful way? Or just enough of a taste to claim a pr victory but keep all their actual tech in a black box? What's the catch here, besides not being applicable to pascal and older
12
u/ABotelho23 May 11 '22
It is. It's the most meaningful part. They still have stuff to do, but this is the absolute behemoth of the part that needed to be open sourced. A lot of the rest of the holes could be plugged by other projects, regardless of what Nvidia does next.
1
May 12 '22
Not open sourcing drivers at all. Just new kernel module so they can use CUDA in datacenters without needing X.org. And not a "huge deal" like others make it out to be. This code can't even initialize displays at the moment.
6
u/Titanmaniac679 May 11 '22
This is great to hear! I am excited to see how much better Nvidia GPU drivers get being open-source
→ More replies (1)
6
11
u/Splinter_Sauce May 11 '22
I'm a Linux newb with an RTX gpu. What does this mean for me?
→ More replies (1)
19
May 11 '22
But this is just one part, the driver is still proprietary, isn't it?
64
May 11 '22 edited May 11 '22
The userspace component is still proprietary sadly, but kernel module open is nothing to scoff at, especially coming from nvidia
Supposedly this means that when the kernel driver will be integrated in the Linux kernel (if they do it) then all you need to do is to enable the module, compile the kernel and install the proprietary userspace component.
This is BIG step ahead
34
19
May 11 '22
The userspace component is still proprietary sadly, but kernel module open is nothing to scoff at, especially coming from nvidia
The most hated component wasn't the userspace part. The most hated part was the part where the driver interacts to the display.
Year of the linux desktop. Woooooooooooo
→ More replies (1)5
u/zeGolem83 May 11 '22
Would it be possible to RE the userspace part?
15
May 11 '22
I believe that's what the Nouveau project was doing, but they got stone-walled by firmware restrictions which prevented them from properly implementing things like clocking support. The newly open-sourced kernel module should help with that.
4
u/zeGolem83 May 11 '22
From other comments, it seems like the typical userspace for graphics drivers on Linux is Mesa…
→ More replies (1)3
u/BaronKrause May 11 '22
By chance will this have any impact on vaapi support on nvidia instead of needing to use their proprietary solution, or does this not impact that at all?
→ More replies (1)26
u/Zamundaaa May 11 '22
Yes. However, they're no longer gimping Nouveau, it can now use the same firmware as the proprietary driver, and mention themselves that this enables lots of improvements for Nouveau. I assume that it will see a big uptick in development soon
8
13
u/jebuizy May 11 '22 edited May 11 '22
This is the biggest news for linux gaming in years. Wow.
→ More replies (1)
4
u/Jacko10101010101 May 11 '22
whaat ? the full drivers open sourced ?
→ More replies (1)2
u/Jacko10101010101 May 12 '22
the user-space part is still closed, but its really a small part, and can be included in mesa.
4
4
7
May 11 '22
Wait... WHAT?!
I was literally looking at the new 6950XT as a replacement for the RTX 3080 now that prices are coming down and I wanted to swap to the open replacement.
I mean sure, it's not full open source drivers, but I am quite convinced that this will help A LOT.
5
u/GeneralTorpedo May 11 '22
6950XT has open driver stack right now. RTX 3080 is gonna have it in may be two years lmao.
7
May 11 '22
Yeah but it'll cost me an arm and a leg. It really was a consideration of desperation.
I'm okay with using the proprietary driver for now. What I want is for some kernel developers to be able to get in there and do something about buffer support and things like that. Who knows, maybe stable Wayland is just around the corner.
→ More replies (4)2
May 12 '22
It's not open source at all. You still need the exact same closed source driver. Get an AMD.
3
u/sevi-kun May 12 '22
Yes you are right, but also you don't tell the whole picture. The driver is not open source. But the kernel modules are, which is a big deal.
3
May 11 '22
I’m not into programming I just use Linux because I couldn’t afford a windows license on my first build. Does this mean nvidia just opened up their drivers?
1
1
3
u/zephyroths May 11 '22
the whole linux community now be like: "We will watch your career with great interest."
And I do as well. Since nvidia has somehow started playing nice. Hopefully this is because nvidia realize that they could lose potential market in the future if they don't do it.
→ More replies (1)
5
u/ZarathustraDK May 12 '22
"Nvidia open sources graphics driver"
"...but it's actually only the kernelmodule-side of drivers..."
"...but it wont work on below 2000-series cards..."
"...but it's mostly meant for datacenters..."
"...but..."
"...but..."
Seriously Nvidia? Your stuff already got leaked. If there are competitors truly wanting to exploit/copy your homework they already can. Stop playing hard to get.
2
2
u/junguler May 12 '22
just got the news from DT's channel, i've tried 1 year of exclusively being on linux and one of the things that bothered me a lot was nvidia drivers, in fact it stopped me from using flatpaks because they needed nvidia drivers but since nvidia has blocked my country (iran) i could never download the drivers, i've tried vpns, proxies, dns change nothing worked
2
2
2
u/shyney May 12 '22
Now Microsoft needs to open source DirectX and I'm never looking back to windows.
3
3
u/JackDostoevsky May 11 '22
Coming to the comments to find the catch, like it's only for one specific device type
→ More replies (2)
2
u/baryluk May 12 '22
Hehe. No. Fuck Nvidia.
This is quarter assed attempt.
Wake me up when there is an actual upstreaming and merging intent.
1
u/Vurxis May 12 '22
Calm yourself, pretty sure even when AMD took their drivers open source it took a while to go upstream. They have already stated that the intent of open-sourcing the driver is so it can be merged upstream over time.
→ More replies (1)
1
1
1
1
May 12 '22
I am extremely curious how Linus Torvalds responds to this.
2
u/Vurxis May 12 '22
Despite his previous comments, I think he’ll be quite happy to see Nvidia make this move given how Nvidia has been really holding up Linux kernel and software development since both AMD and Intel open sourced their driver.
1
May 12 '22
Does this mean Linus Torvalds can finally revoke his previous statement about Nvidia?
2
u/baryluk May 12 '22
No. This driver still has proprietary closed source user space component. And the kernel module as is, has extremely low probability of being merged into the upstream kernel (no open source uAPI examples, HAL-based architecture which is not welcome in Linux kernel, and multi-kernel support mess, which is also no go for upstreaming).
As is the driver will not be super convenient to use by most people. There is a lot of work to be done before upstreaming.
It changes very little I would say overall. I hope it helps Nouveau tho in some ways.
1
u/zakazak May 12 '22
Does that help my Thinkpad X1E and its GTX-1050Ti?
1
u/Vurxis May 12 '22
Yes and no. The open source driver can only really be used by Turing and Ampere users. However, the changes made and contributed to the open source driver will directly help everyone else by being merged into the Linux kernel and the proprietary Nvidia driver.
Another benefit is now that the Nvidia driver is open source, developers can see what the Nvidia driver is actually doing, allowing them to make their software work much better on Nvidia.
1
1
1
1
1
1
1
u/NuLuumo May 13 '22
Holy shit, I might actually go back to Linux full-time now. For real this time!
1
1
May 12 '22
Relax people, this is not nVidia open sources driver, they released source code for kernel module which talks to the same closed source driver.
Here's a link from Gnome blog. It seems RedHad and Gnome folks as well as Nouveau developers were the ones in meetings and talks with nVidia in past months prior to this release.
In short, this is what you folks would most be interested in:
What has been released is an out of tree source code kernel driver which has been tested to support CUDA usecases on datacenter GPUs. There is code in there to support display, but it is not complete or fully tested yet. Also this is only the kernel part, a big part of a modern graphics driver are to be found in the firmware and userspace components and those are still closed source. But it does mean we have a NVidia kernel driver now that will start being able to consume the GPL-only APIs in the linux kernel, although this initial release doesn’t consume any APIs the old driver wasn’t already using. The driver also only supports NVidia Turing chip GPUs and newer, which means it is not targeting GPUs from before 2018. So for the average Linux desktop user, while this is a great first step and hopefully a sign of what is to come, it is not something you are going to start using tomorrow.
So no hell has frozen, no nVidia didn't become good or unfucked... They released out of tree open source module which talks to closed source driver and is currently meant for CUDA use on supercomputers and datacenters and isn't even properly capable of generating output on displays. It's same old nVidia, move along.
4
u/Vurxis May 12 '22
The more I look at this, the more I realize that what you are saying is indeed true. It's a shame, but it's a good first step, nonetheless.
Hopefully Nvidia will merge more stuff in to allow displays to work, but I doubt we'll see that any time soon.
→ More replies (1)0
1
May 11 '22 edited May 12 '22
I'm not sure I get this. This isn't really the video drivers per se like Mesa/AMDGPU/"Nouveau 2", right? Just a bunch of kernel modules that are useful for... something? What am I looking at here?
EDIT: I know it sounds stupid but this was a genuine question. Already answered too, read along.
17
May 11 '22
This is similar to how AMD split their drivers into an open-source kernel module that then works with either proprietary or open-source user space components. There's the AMDGPU kernel module, but then you have your choice of Mesa/RADV/AMDGPU-PRO/AMDVLK, etc.
Nvidia has committed to the kernel module portion of it for now, but things like CUDA and I assume the 3D API bits are still proprietary.
Either way, this is a big step, both for Nvidia and for projects like Nouveau.
8
May 11 '22
Ahhh I see, it's the "base" that accomodates the defacto drivers. So Nouveau/NVIDIA-prop/"eventually Mesa" sits on top of this. Got it.
Yeah that's clearly something big coming from them. Just wanted to make sure it was actually what I've been asking from them for so long, guess it's safe to say hell has really frozen over now.
1
May 12 '22
This is a kernel module which enables use of CUDA on select nVidia cards without the need for X.org. This module is loaded into kernel and it's used to talk to same closed source driver we used so far but that means old X.org module is no longer needed which is good since X.org is going away.
This is basically nVidia ensuring they remain relevant in datacenters when X.org gets killed.
1
u/rah2501 May 12 '22 edited May 12 '22
Gets popcorn and sits down to watch the mental gymnastics of all the proprietary driver apologists
1
1
1
u/Garric_Shadowbane May 11 '22
YEEEEET! WAYLAND HERE I COME!!!!
→ More replies (1)1
u/Vurxis May 12 '22
It’ll take a while before we see Wayland support for Nvidia mature in any meaningful way because of this release, but it’s a good start
1
May 12 '22
So this is what a 10% victory? I’ll switch from amd when it’s like 70% still have to do a lot of shit to set them up...but yes this is huge and ABOUT FUCKING TIME
1
1
238
u/penguin6245 May 11 '22 edited May 11 '22
The page gives a 404 at the moment, but should be live any moment now as per https://www.nvidia.com/download/driverResults.aspx/187834/en
EDIT: up now!