this post was submitted on 16 Jan 2024
59 points (100.0% liked)

Linux

47224 readers
791 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
 

I'm a bit confused about what's going on but as far as I understand, due to NVIDIA allowing redistribution of their blobs, nouveau can now set the clock speed of GPUs. This is giving us a huge boost in performance in nouveau.

How exactly do I test this out? Arch wiki does not say anything about NVK, but I see it's mentioned on everything about this change. Do I need to do anything to get/use NVK other than uninstalling the proprietary driver? And, are we getting a performance boost only on Vulkan?

you are viewing a single comment's thread
view the rest of the comments
[–] aurtzy@discuss.tchncs.de 6 points 8 months ago* (last edited 8 months ago) (1 children)

I've been having my own fun trying out NVK on Guix System so I can't give you specific instructions (assuming you're not using Guix), but I can tell you what you need and maybe someone else can chip in on how/if you need to do anything else on your distro:

  • Linux kernel >= 6.7
  • GSP firmware enabled via the kernel parameter nouveau.config=NvGspRm=1
  • Mesa built with the -Dvulkan-drivers=nouveau-experimental flag.

A few notes:

  • Performance and stability of games has been fairly hit-or-miss for me. Of the 10 Vulkan games I've tried so far: 3 run perfectly, 3 are playable with noticeable issues, and 4 are borked.
  • NVK is Vulkan-only, but performance largely comes from the GSP firmware so you will still see a difference (huge for me) in games not using Vulkan.
  • You can override flatpaks to use the host's Mesa version (set FLATPAK_GL_DRIVERS=host); however, there's a bug that causes the Steam Flatpak to not work when doing this. The mesa-git-extension Flatpak exists which can also be used to replace Mesa runtimes, but it had issues building with NVK so it's currently disabled.

The only package I'm aware of at the moment (other than my hacked-together Guix package) is available in the AUR.

[–] leopold@lemmy.kde.social 4 points 8 months ago

While NVK is indeed Vulkan-only, it also isn't, thanks to Zink, which is a Gallium3D implementation for Vulkan. Gallium3D implements OpenGL, among other things. NVK + Zink has already been reported to be substantially faster than the old Nouveau Gallium3D driver.