this post was submitted on 18 Mar 2024
263 points (86.6% liked)

linuxmemes

19698 readers
620 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
263
Merry Christmas! (feddit.de)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/linuxmemes
 
you are viewing a single comment's thread
view the rest of the comments
[–] brenno 22 points 3 months ago (2 children)

Assuming you're talking about Nouveau, it's pretty hit or miss depending on what card you have. My previous laptop had an MX330 and it couldn't do hardware acceleration stuff and 120Hz via HDMI, not to mention screen sharing on Wayland was wonky.

Oh, and it's worth to mention that "their" open source driver had nothing to do with Nvidia themselves; they absolute do not care, as opposed to AMD.

[–] [email protected] 4 points 3 months ago (1 children)

I think he means nvk. It's a whole new world. I thought I just heard it's ready. So worth checking out I guess.

[–] brenno 4 points 3 months ago

Judging by the docs at mesa3d, I don't even have a card that supports it

NVK currently supports Turing (RTX 20XX and GTX 16XX) and later GPUs. Eventually, we plan to support as far back as Kepler (GeForce 600 and 700 series) GPUs but anything pre-Turing is currently disabled by default.

[–] [email protected] 0 points 3 months ago* (last edited 3 months ago) (3 children)

I'm not talking about Nouveau. I'm talking about the Open Source drivers from Nvidia. They released them a while ago and they've gotten pretty good lately.

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago)

I heard back than that the open source driver is pretty much just a layer of abstraction and that most actual code runs in the firmware which is proprietary

[–] brenno 3 points 3 months ago (1 children)

The driver you're likely referring to is NVK, which is also not developed by Nvidia, check out the annoucement post by Collabora, it says:

As said above, NVK is a new open-source Vulkan driver for NVIDIA hardware in Mesa. It's been written almost entirely from scratch using the new official headers from NVIDIA. We occasionally reference the existing nouveau OpenGL driver [...]

And also

a few months ago, NVIDIA released an open-source version of their kernel driver. While this isn't quite documentation, it does give us something to reference to see how NVIDIA drives their hardware. The code drop from NVIDIA isn't a good fit for upstream Linux, but it does give us the opportunity to rework the upstream driver situation and do it right.

So they're developing a driver based off headers made available by Nvidia and some of the reverse engineered code from regular Nouveau. In fact, it seems to be a branch of Nouveau as it stands:

Trying out NVK is no different than any other Mesa driver. Just pull the branch nvk/main branch from the nouveau/mesa project, build it, and give it a try

So the "OSS drivers from Nvidia" aren't what makes it work, it's the whole community effort to build NVK from scratch.

Regardless, it only supports the most recent cards using Turing architecture. From mesa3d docs:

NVK currently supports Turing (RTX 20XX and GTX 16XX) and later GPUs. Eventually, we plan to support as far back as Kepler (GeForce 600 and 700 series) GPUs but anything pre-Turing is currently disabled by default.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago) (1 children)

And still I'm not taking about nvk nor am I taking about nouveau. I'm taking about the open source drivers from nvidia. https://github.com/NVIDIA/open-gpu-kernel-modules https://developer.nvidia.com/blog/nvidia-releases-open-source-gpu-kernel-modules/

[–] brenno 3 points 3 months ago* (last edited 3 months ago)

The kernel driver isn't all you need, you still have to pair it to their closed-source drivers or Nouveau/NVK, which are the device drivers

[–] [email protected] 2 points 3 months ago (1 children)

They released them a while ago and they've gotten pretty good lately.

Based on what?

[–] [email protected] 0 points 3 months ago

Based on what I heard from people who use it. I don't have a nvidia card so can't tell.