TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nvidia releases open-source GPU kernel modules

2410 pointsby ghishadowabout 3 years ago

79 comments

mjg59about 3 years ago
1) This is unambiguously Good News<p>2) This is not upstreamable in its current form (nvidia admit this in their press release)<p>3) In an ideal world, nouveau (the open source driver for nvidia hardware) would be able to target this kernel code. Right now though there&#x27;s no commitment for any sort of stable userland ABI, and that makes that difficult (moving to a new driver version may break interfaces that nouveau uses)<p>The press release does say that they have plans to figure out a more upstream friendly approach in the long term, which is great - and what has been released will undoubtedly help development of the existing nouveau codebase.
评论 #31347879 未加载
评论 #31347105 未加载
评论 #31347316 未加载
评论 #31358267 未加载
评论 #31346239 未加载
评论 #31348871 未加载
messeabout 3 years ago
Had to do a few doubletakes on this, but even with the recent hacks and progress on NVIDIA releasing Tegra source code, I didn&#x27;t expect this for another few years.<p>Holy shit.<p>It&#x27;s even licensed as MIT.<p>Even OpenBSD could conceivably port this with enough manpower. Adding enough just emulation for the userspace driver would be a lot easier than maintaining a complete linux emulator.<p>This is one of the biggest things to happen to hardware support for open source OSes in well over a decade.
评论 #31345507 未加载
评论 #31346156 未加载
评论 #31345501 未加载
评论 #31345493 未加载
评论 #31345551 未加载
评论 #31345429 未加载
hansiheabout 3 years ago
Note that this is just the kernel modules, not the actual graphics driver.<p>IIRC these sources were already released under a permissive license along with their driver distribution. This just seems to be them putting those sources on GitHub and being more open to contributions.
评论 #31347909 未加载
评论 #31346368 未加载
评论 #31347500 未加载
评论 #31346149 未加载
评论 #31346599 未加载
pixelmonkeyabout 3 years ago
&gt; In this open-source release, support for GeForce and Workstation GPUs is alpha quality. GeForce and Workstation users can use this driver on Turing and NVIDIA Ampere architecture GPUs to run Linux desktops and use features such as multiple displays, G-SYNC, and NVIDIA RTX ray tracing in Vulkan and NVIDIA OptiX. Users can opt in using the kernel module parameter NVreg_EnableUnsupportedGpus as highlighted in the documentation. More robust and fully featured GeForce and Workstation support will follow in subsequent releases and the NVIDIA Open Kernel Modules will eventually supplant the closed-source driver. Customers with Turing and Ampere GPUs can choose which modules to install. Pre-Turing customers will continue to run the closed source modules.<p>Translating &amp; simplifying the language here: sounds like GTX 10xx GPU users (Pascal architecture, e.g. 1070&#x2F;1080) will stick with closed source for now, but RTX 20xx GPU users (Turing architecture, e.g. 2080) and RTX 30xx GPU users (Ampere architecture, e.g. 3080) will have the option to opt-in to the open source kernel module. Stable open source support for GTX 10xx GPU users may come later.
评论 #31346024 未加载
评论 #31345843 未加载
评论 #31350869 未加载
marcodiegoabout 3 years ago
For those who didn&#x27;t use Nvidia on linux in the old times:<p>The driver was a proprietary binary. Since a kernel module requires interfacing with the kernel API, it could be considered a derivative work and a breach of the GPL license. So, Nvidia provided a small open source shim which interfaced between the kernel and the proprietary module.<p>You had to compile that shim yourself with the right arcane command line incantations and if you did anything wrong, missed the right packages or had an incompatible user space, including libs and compiler, you could end up without X11 and no way to easily run a browser or google about the problem you had. You had to do it EVERY FUCKING TIME YOU UPDATED THE KERNEL!<p>It was still possible to edit xorg.conf or, if you were older, xf86config by hand to fix it and use the VESA driver, but it was very inconvenient. It became more reliable over the time and even fully automated with DKMS, but I hated them for it.<p>I used and recommended ATI and INTEL for most of the people I could for a long time because of this.<p>I was from a time when It was possible to use 3D acceleration on linux with 3dfx with fully open source drivers (I think), giving you a cheap UNIX-like graphical workstation with OpenGL support. When Nvidia bought 3dfx and simply killed their drivers, my hate became specially strong.<p>EDIT: Remember you had to recompile the shim at every kernel update and replaced &quot;module&quot; with &quot;driver&quot;.
评论 #31345918 未加载
评论 #31345709 未加载
评论 #31345819 未加载
评论 #31347129 未加载
评论 #31346926 未加载
评论 #31345547 未加载
评论 #31346428 未加载
评论 #31349178 未加载
评论 #31346145 未加载
评论 #31348760 未加载
评论 #31346419 未加载
评论 #31347140 未加载
ASalazarMXabout 3 years ago
I did a double take because the title is almost clickbait for us desktop Linux users, and immediately wondered &quot;what&#x27;s the catch?&quot;. It&#x27;s a significant catch, but also a significant step in the right direction.
评论 #31345657 未加载
jacooperabout 3 years ago
It will probably end up like how AMD cards work.<p>The closed source driver still exists but there will hopefully be a completely open source stack (Nouveau++?) For nvidia.<p>This blog has more details about red hats plans for this driver.<p><a href="https:&#x2F;&#x2F;blogs.gnome.org&#x2F;uraeus&#x2F;2022&#x2F;05&#x2F;11&#x2F;why-is-the-open-source-driver-release-from-nvidia-so-important-for-linux&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.gnome.org&#x2F;uraeus&#x2F;2022&#x2F;05&#x2F;11&#x2F;why-is-the-open-so...</a>
评论 #31346720 未加载
评论 #31346945 未加载
geerlingguyabout 3 years ago
With this announcement, I&#x27;m now interested in trying out some Nvidia graphics cards on the Pi again. Nouveau had some issues, and the official drivers had no source available, so I couldn&#x27;t hack them to work.<p>With the source available... it could be possible! Of course, CUDA support may never happen there, at least not using open source code.
评论 #31346423 未加载
评论 #31345775 未加载
评论 #31346234 未加载
viksitabout 3 years ago
23 years ago in middle school I made my first ever linux user group post [1] trying to shift from an nvidia geforce to the onboard cyrix mediagx drivers because they had closed source drivers.<p>It’s been a long time coming lol.<p>[1] <a href="https:&#x2F;&#x2F;www.spinics.net&#x2F;lists&#x2F;xf-xpert&#x2F;msg04601.html" rel="nofollow">https:&#x2F;&#x2F;www.spinics.net&#x2F;lists&#x2F;xf-xpert&#x2F;msg04601.html</a>
评论 #31348049 未加载
评论 #31347128 未加载
sylwareabout 3 years ago
The kernel modules are the first stage I guess, since a massive amount of hardware programing knowledge is in user space like with AMD&#x2F;intel GPUs.<p>I wonder how much LAPSUS$ hack has to do with it.<p>I wonder if nvidia hardware programing interface is a mess like AMD one, just curious.
评论 #31346944 未加载
评论 #31364714 未加载
评论 #31345934 未加载
the_dukeabout 3 years ago
I wonder if this has been in the works for years, or if this is a reaction to the recent Lapsus hack.
评论 #31346806 未加载
评论 #31345741 未加载
评论 #31351004 未加载
评论 #31348454 未加载
marcodiegoabout 3 years ago
Hell is freezing?<p>Serious, does it means we won&#x27;t need Nouveau anymore? How many and which binary blobs it still needs? Are they encrypted or require signing?
评论 #31345484 未加载
评论 #31345430 未加载
评论 #31345308 未加载
评论 #31345298 未加载
评论 #31346414 未加载
pabs3about 3 years ago
<a href="https:&#x2F;&#x2F;blogs.gnome.org&#x2F;uraeus&#x2F;2022&#x2F;05&#x2F;11&#x2F;why-is-the-open-source-driver-release-from-nvidia-so-important-for-linux&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.gnome.org&#x2F;uraeus&#x2F;2022&#x2F;05&#x2F;11&#x2F;why-is-the-open-so...</a> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31345835" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31345835</a>
intsunnyabout 3 years ago
Phoronix link about what this actually means:<p><a href="https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=article&amp;item=nvidia-open-kernel&amp;num=1" rel="nofollow">https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=article&amp;item=nvidia-o...</a><p>Main takeaways:<p>- support for gaming workstation GPUs is alpha<p>- the user space stuff (OpenGL&#x2F;Vulkan) is still closed source. (A LOT of heavy lifting is done here.)
评论 #31346898 未加载
评论 #31347447 未加载
madushan1000about 3 years ago
With the kernel driver open source + redistributeble firmware I guess the graphics APIs can be provided by mesa.
评论 #31345818 未加载
xbmcuserabout 3 years ago
If I understand this correctly nvidia is moving its proprietary code from the drivers to the card itself. Looks like we are looking at a future where graphic cards will get firmware updates instead of driver updates. I am wondering with how large the newest graphics cards and ho the power requirements are so much larger than the other components. I see a future where we have PC cases and laptops with a pci slot exposed externally to attach external graphics cards which has it&#x27;s own power supply and cooling only. It is attached to the PC when you need the GPU power for gaming or work then just remove it for a silent PC. As we start hitting the physical limits for moores law I think such a future is big possibility.
black_puppydogabout 3 years ago
Would love to hear from folks who worked on this!<p>Was this an ongoing thing? Did it have to be pitched hard? What finally made the difference? I&#x27;m assuming here it&#x27;s not because of LAPSUS as some speculate. This seems like it must have been in the making for quite a while.
评论 #31345369 未加载
评论 #31351380 未加载
评论 #31348648 未加载
BeefySwainabout 3 years ago
&gt; Open kernel modules support all Ampere and Turing GPUs. Datacenter GPUs are supported for production, and support for GeForce and Workstation GPUs is alpha quality.<p>Sounds like this is not going to be what I game on for at least a little bit?
评论 #31348652 未加载
wallaBBBabout 3 years ago
- Stock market crashing - Crypto being an absolute dumpster fire - Nvidia doing something to support Linux<p>Catastrophe is upon us!
评论 #31350995 未加载
8organicbitsabout 3 years ago
I&#x27;m curious to see how they&#x27;ll manage updates, so far it&#x27;s one mega commit.<p>&gt; Showing 2,519 changed files with 1,060,036 additions and 0 deletions.
评论 #31345263 未加载
评论 #31345266 未加载
评论 #31345339 未加载
voldacarabout 3 years ago
So is it correct that they are only open-sourcing the kernel-mode portion of the driver and that the real meat of the driver like the shader compiler will remain in a closed-source binary?
kadobanabout 3 years ago
Wow! I literally never thought I&#x27;d see the day.<p>I&#x27;ve been on linux for at least a couple of decades now, and this has been a thorn in my side from the get-go. I can&#x27;t overstate how huge this is!<p>Great work Nvidia, seriously. It does look like it&#x27;s not perfect, but damn it&#x27;s a great step.
etaioinshrdluabout 3 years ago
I am guessing the Nvidia is more okay with doing this because they have moved more functionality to the userspace components?
评论 #31348349 未加载
parasenseabout 3 years ago
The bits that implement the userland graphics libraries are closed source, unlike Mesa. So this is still useless, but don&#x27;t get me wrong... I&#x27;ll take it, but I&#x27;m still going to bitch about it. My hope is now folks will be able to adapt these Nvidia cards into the Mesa ecosystem, like ~10 years from now or whatever.
samusabout 3 years ago
Since the open sourced drivers are explicitly stated in TA to also help the Nouveau driver improve, the latter does not matter that much. That&#x27;s what Mesa is here for.
Luker88about 3 years ago
watch out the fine print though:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;marcan42&#x2F;status&#x2F;1524615058688724992" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;marcan42&#x2F;status&#x2F;1524615058688724992</a><p>34MB firmware<p>Good, but I&#x27;ll try to stick with AMD. If only AMD&#x27;s opencl support was better...
评论 #31356739 未加载
teekertabout 3 years ago
Nvidia module does not taint kernel anymore!
评论 #31345250 未加载
评论 #31345187 未加载
评论 #31345202 未加载
Humphreyabout 3 years ago
I&#x27;m confused! Why would Nvidia want to keep any of this closed source. Surely they make money when people buy graphics cards, and having open source out-of-the-box graphics support in Linux would mean they would sell more graphics cards?
评论 #31348791 未加载
评论 #31350663 未加载
评论 #31351387 未加载
snshnabout 3 years ago
Nvidia... THANK YOU!
zekriocaabout 3 years ago
It seems the modules bridge the kernel with the driver [1], so it is this part that is GPL&#x2F;MIT, the driver itself is still a binary blob. AMD probably does the same? Correct me if I&#x27;m wrong.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;NVIDIA&#x2F;open-gpu-kernel-modules&#x2F;tree&#x2F;main&#x2F;kernel-open" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NVIDIA&#x2F;open-gpu-kernel-modules&#x2F;tree&#x2F;main&#x2F;...</a>
评论 #31346703 未加载
jwithingtonabout 3 years ago
Can I get an ELI5 on this? I don&#x27;t do enough in this space to understand the significance. Thanks in advance to whomever can help out!
comandillosabout 3 years ago
May this enables the possibility of compiling NVIDIA drivers for ARM-based PCs?
评论 #31346266 未加载
评论 #31346568 未加载
XorNotabout 3 years ago
Looking forward to a day when out of the box Nvidia and AMD GPUs <i>just work</i> on Linux at fullpower and features.
dekhnabout 3 years ago
I first used OpenGL on linux in 1995. Software-based commercial X server that was unusably slow. By 98 or so I had Mesa, and was running software-based open source OpenGL (still pretty slow, but almost usable). By 2001, I think, I had a FireGL card that was supported in linux doing hardware OpenGL, I think it was a partly open source kernel driver- first time I had competitive performance to lower-end SGIs in the lab). FireGL was then acquired by ATI which sold their cards as high-end and continued the driver. After that I reverted to software for driver reasons, then to the nvidia driver, which I&#x27;ve used on linux for over a decade now. I will give ATI and nvidia credit for having at least some fairly good level of support for linux over the past two decades.
yellowappleabout 3 years ago
The Devil&#x27;s putting on ice skates.
gchamonliveabout 3 years ago
Does this mean we get a bit closer to having native, kernel-level Optimus drivers for Linux?
_uiyhabout 3 years ago
This year just keeps getting more weird
endgameabout 3 years ago
This is what happens when you don&#x27;t just give up and &quot;be pragmatic&quot;. Kudos to NVidia for coming to the table, and I look forward to seeing more of this sort of thing.
hex69about 3 years ago
Isn&#x27;t this connected with fact that nvidia got threats from lapsus group to open-source their&#x27;s drivers unless hacker will publish some stolen confidential data? <a href="https:&#x2F;&#x2F;videocardz.com&#x2F;newz&#x2F;hackers-now-demand-nvidia-should-make-their-drivers-open-source-or-they-leak-more-data" rel="nofollow">https:&#x2F;&#x2F;videocardz.com&#x2F;newz&#x2F;hackers-now-demand-nvidia-should...</a>
blondie9xabout 3 years ago
Is this connected to the hack&#x2F;leak where the hackers requested this very move?<p>WE REQUEST THAT NVIDIA COMMITS TO COMPLETELY OPEN-SOURCE (AND DISTRIBUTE UNDER A FOSS LICENSE) THEIR GPU DRIVERS”<p><a href="https:&#x2F;&#x2F;www.theverge.com&#x2F;2022&#x2F;3&#x2F;1&#x2F;22957212&#x2F;nvidia-confirms-hack-proprietary-information-lapsus" rel="nofollow">https:&#x2F;&#x2F;www.theverge.com&#x2F;2022&#x2F;3&#x2F;1&#x2F;22957212&#x2F;nvidia-confirms-h...</a>
评论 #31348310 未加载
8organicbitsabout 3 years ago
This may be a boon for unlocking hardware features on GeForce. Stuff like below shows that some things are just disabled in hardware, but lots of reverse engineering would be needed to bypass it.<p><a href="https:&#x2F;&#x2F;www.ibtimes.com&#x2F;nvidia-geforce-graphics-card-virtualization-hacked-how-activate-vgpu-feature-3179008" rel="nofollow">https:&#x2F;&#x2F;www.ibtimes.com&#x2F;nvidia-geforce-graphics-card-virtual...</a>
评论 #31348370 未加载
samtheDamnedabout 3 years ago
And just like that my next gpu will probably be NVIDIA. AMD&#x27;s recent prices have made nvidia look like a better option and the only thing holding me back was amd&#x27;s amazing open source drivers and the options that came with. If nvidia&#x27;s drivers become comparable or are well on their way then they would be the obvious choice in today&#x27;s market.
JCWasmx86about 3 years ago
Finally some good news for free software \o&#x2F;
rawoke083600about 3 years ago
This is such good news... I hope we see &#x27;real world improvements soon&#x27; !<p>The amount of time, I was &#x27;sucked&#x27; with a black-screen after a reboot and the amount of time I wasted with Nvidia drivers ! I swear I would never buy NVIDIA again !
zepearlabout 3 years ago
Public post by nVidia: <a href="https:&#x2F;&#x2F;developer.nvidia.com&#x2F;blog&#x2F;nvidia-releases-open-source-gpu-kernel-modules&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.nvidia.com&#x2F;blog&#x2F;nvidia-releases-open-sourc...</a>
NexRebularabout 3 years ago
Well, then... hopefully FreeBSD and illumos will finally start getting support for CUDA.
评论 #31348200 未加载
iepathosabout 3 years ago
Thank you nvidia, we&#x27;ve been waiting for this and you finally came through for us!
smwabout 3 years ago
Anyone know if this makes it easy to hack in SR-IOV support for desktop class gpus?
anonymousDanabout 3 years ago
Can this be used with CUDA for GPGPU or is it somehow only relevant for graphics?
评论 #31347212 未加载
cosmiccatnapabout 3 years ago
I don&#x27;t normally curse on HN but I think I speak for all of us when I say<p>Fucking finally.
pmoriartyabout 3 years ago
Just out of curiosity, how easy would it to have been to decompile and reverse-engineer the original closed-source modules and then write an open sourced version of them? Would that have been legal?
评论 #31346577 未加载
Bancakesabout 3 years ago
Congrats!<p>Most importantly, will they open source Optimus? Even though the drivers work, getting everything to render on the GPU, and output to the laptop LCD, has always been an inconsistent pain.
hauptabout 3 years ago
Oh frabjous day! I have been waiting for this for literal decades.
blablabla123about 3 years ago
That makes ThinkPads with Linux look much different than before compared to MacBooks with macOS. (And save a lot of update&#x2F;re-configure&#x2F;re-install cycles...)
jpe90about 3 years ago
I didn’t see anything for Pascal GPUs, are they left out?
评论 #31345882 未加载
mc4ndr3about 3 years ago
Will Linus revisit his rejection of Nvidia integration?
dzogchenabout 3 years ago
Wow, this is big for Linux &amp; Nvidea isn&#x27;t it?
test6554about 3 years ago
Linus&#x27; middle finger lowers slightly.
jwithingtonabout 3 years ago
Can I get an ELI5 on this? At time of writing 2018 points but I have no clue what the significance is.
e12eabout 3 years ago
This is great. Anyone know how&#x2F;if this will&#x2F;does impact laptops with nvidia dGPU?
umanwizardabout 3 years ago
How does what is being open-sourced differ from the proprietary binary modules?
pikseladamabout 3 years ago
What does it mean? I don&#x27;t know anything about it? Why is it good news?
DantesKiteabout 3 years ago
I wonder what impact this will have on the SteamDeck if any.
评论 #31345156 未加载
评论 #31345160 未加载
gjvcabout 3 years ago
can someone point me to the reason why this open-sourcing only covers the newest generation(s) of hardware?
paweldudaabout 3 years ago
Never though this would happen in my lifetime.
zamadatixabout 3 years ago
I was worried they had actually decided not to do this after seeing all of the other recent developments and then a pause. Glad to see it was just part of the path to it.
skittlesonabout 3 years ago
I believe everyone is the comments are like, &quot;Omg! They finally took us seriously telling they are horrible at writing drivers for Linux&quot;. Good job Nvida
kiechuabout 3 years ago
<a href="https:&#x2F;&#x2F;youtu.be&#x2F;_36yNWw_07g" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;_36yNWw_07g</a> Linus expressing his deepest gratitude.
figassisabout 3 years ago
TIL HN has an excellent duplicate link feature. It&#x27;s my first time posting a link, and behold, teleported straight to the existing post.
cV6WBabout 3 years ago
Can someone ELI5 for this news?
pyuser583about 3 years ago
Yay!!!
floor_about 3 years ago
I wonder how much of this decision was due to the hack leaking everything they had.
Lapsaabout 3 years ago
woah.... that only took like forever. anyhow - good job
InitEnablerabout 3 years ago
Wow. Am I dreaming? That&#x27;s great.
weinzierlabout 3 years ago
I wonder if it is the result of the LAPSUS$ hack. This was their statement from early March:<p><i>&quot;After evaluating our position and Nvidia&#x27;s, we decided to add one more requirement.</i>&quot;<p><i>&quot;We request that Nvidia commits to completely Open Source (an distribute under a FOSS License) ther GPU drivers for Windows, macOS and Linux, from now on and forever.&quot;</i><p><i>&quot;If this request is not met, on Friday we will release the complete Silicon, Graphics and Computer Chipset Files for all recent Nvidia GPUs.&quot;</i>
评论 #31345296 未加载
评论 #31345329 未加载
评论 #31345233 未加载
评论 #31345262 未加载
评论 #31345286 未加载
评论 #31345175 未加载
评论 #31345649 未加载
评论 #31345568 未加载
评论 #31345265 未加载
SemanticStrenghabout 3 years ago
I thought they had open source CUDA kernels for a minute..
kodahabout 3 years ago
AYYYYYY<p>Shout out to nvidia for this.
评论 #31345978 未加载
tonnydouradoabout 3 years ago
Ten bucks Linus will curse at them in the near future.
评论 #31346229 未加载
评论 #31345614 未加载
frogger8about 3 years ago
As predicted 3 months ago ;)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30471005" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30471005</a>