void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

nvidia: update to 560.35.03

Open fvalasiad opened this issue 1 year ago • 29 comments

Testing the changes

  • I tested the changes in this PR: YES (played a few games :) )

fvalasiad avatar May 21 '24 20:05 fvalasiad

We will not ship "Beta" drivers, but this can stay open for when 555.xx becomes production. I'll help test, as well!

abenson avatar May 21 '24 20:05 abenson

I've marked this PR as draft so it doesn't accidentally get merged.

abenson avatar May 21 '24 20:05 abenson

@abenson I thought as much! Perhaps I should have marked it WIP. My intent was to have a unified effort at testing this patch, especially since the exciting news of explicit sync!

Been using it the entire day btw on wayland and so far so good!

fvalasiad avatar May 21 '24 21:05 fvalasiad

I'll be testing this under Wayland as well and report back, hopefully this will finally make Nvidia usable with Wayland

Bnyro avatar May 22 '24 09:05 Bnyro

I just tested this on one of my laptops and it breaks power management. There is a similar report in the release feedback thread.

abenson avatar May 25 '24 17:05 abenson

@abenson I am using it on a desktop so I did not notice a thing :D, it's a beta for a reason!

By the way irrelevant, I should probably open a second issue, but sleep on the same PC is broken after update to kde 6. The GUI buttons don't work at all, and manually invoking "zzz" from the terminal successfully suspends the PC, but after recovery kwin is basically going nuts.

I suspect it's a kwin on nvidia issue, might be wrong, have you had any similar experiences?

It doesn't work for either wayland or x11, online reports seem to point to adding "options nvidia NVreg_PreserveVideoMemoryAllocations=1" to modprobe, but this seems to make things even worse, probably because runit and not systemd.

fvalasiad avatar May 25 '24 18:05 fvalasiad

I don't use kde/kwin, sorry.

abenson avatar May 25 '24 18:05 abenson

Can you bump this to 555.52.04?

abenson avatar Jun 06 '24 23:06 abenson

Sure!

fvalasiad avatar Jun 07 '24 06:06 fvalasiad

Works for me!

pyranota avatar Jun 27 '24 18:06 pyranota

stable 555.58 released https://www.nvidia.com/download/driverResults.aspx/228214/en-us/

Luciogi avatar Jun 27 '24 19:06 Luciogi

This is now a stable version, but not marked as production(that should be 560.).

Abenson stated that we should wait for production, so I leave this as a draft yet still!

fvalasiad avatar Jun 27 '24 20:06 fvalasiad

As many others have reported and i myself have experienced too, the 555 driver completely breaks DVI output on multi-monitor configurations. This is an upstream bug in a proprietary project that there doesnt seem to be any workarounds for that i could find. Although i really enjoy the new wayland support, the fact that i cant use my second monitor is a complete showstopper for me. I think it would be best to just wait for the next production release 560, even if the wayland support is great and i cant wait to have it working properly lol

vitasomething avatar Aug 04 '24 11:08 vitasomething

Hmmm indeed, perhaps I should bump this up on 560 since its beta was released?

fvalasiad avatar Aug 04 '24 14:08 fvalasiad

Stable production release at long last!

fvalasiad avatar Aug 21 '24 15:08 fvalasiad

Its the "New Feature Branch", not "Production Branch".

abenson avatar Aug 21 '24 17:08 abenson

Damn you are right, production is still at 550.107.02

back to draft.

fvalasiad avatar Aug 21 '24 17:08 fvalasiad

Yeah, unfortunately the "new feature" branch will lag behind Production sometimes-- it doesn't necessarily get regular updates.

abenson avatar Aug 21 '24 17:08 abenson

I just tested this on one of my laptops and it breaks power management. There is a similar report in the release feedback thread.

Figured out this issue finally: it's to do with GSP firmware. Apparently on hybrid/optimus setups, loading the GSP firmware breaks D3 sleep. Can disable GSP firmware with nvidia.NVreg_EnableGpuFirmware=0.

abenson avatar Aug 22 '24 12:08 abenson

Maybe a bug report to nvidia is necessary?

fvalasiad avatar Aug 22 '24 15:08 fvalasiad

They're already tracking it according to the forums.

abenson avatar Aug 22 '24 19:08 abenson

Sweet!

However, i tried installing this, both from here and directly from nvidia, but everything seems to be running on CPU since then. Moving my cursor visually slows down glxgears and e.g. videos etc to an unbearable speed. Anyone else experiencing this or maybe i did something wrong? Reverting back to 550 for now :-(

linde12 avatar Oct 17 '24 20:10 linde12

Sweet!

However, i tried installing this, both from here and directly from nvidia, but everything seems to be running on CPU since then. Moving my cursor visually slows down glxgears and e.g. videos etc to an unbearable speed. Anyone else experiencing this or maybe i did something wrong? Reverting back to 550 for now :-(

It works fine for me and no one else has reported anything similar, installing this package is all you need to do so I don't see how you could mess this up.

Does nvidia-smi report anything?

fvalasiad avatar Oct 17 '24 20:10 fvalasiad

Sweet! However, i tried installing this, both from here and directly from nvidia, but everything seems to be running on CPU since then. Moving my cursor visually slows down glxgears and e.g. videos etc to an unbearable speed. Anyone else experiencing this or maybe i did something wrong? Reverting back to 550 for now :-(

It works fine for me and no one else has reported anything similar, installing this package is all you need to do so I don't see how you could mess this up.

Does nvidia-smi report anything?

It seems to work fine, but as soon as i move my cursor i get stutters and FPS drops. I manage to quickly capture this with mangohud as well:

image

The peaks are when i move my mouse (and it stutters everything real bad). I have the same issue on desktop. Videos etc play fine but if i move my cursor everything stutters.

Here is the output of nvidia-smi:

Sat Oct 19 12:13:04 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080        Off |   00000000:01:00.0  On |                  N/A |
| 57%   45C    P3            102W /  370W |    4204MiB /  10240MiB |     15%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1054      G   hyprland                                      398MiB |
|    0   N/A  N/A      1118      G   Xwayland                                       52MiB |
|    0   N/A  N/A      1296      G   kitty                                          22MiB |
|    0   N/A  N/A      1436      G   firefox                                       191MiB |
|    0   N/A  N/A      3340      G   kitty                                          22MiB |
|    0   N/A  N/A      4063      G   ...local/share/Steam/ubuntu12_32/steam          4MiB |
|    0   N/A  N/A      4447      G   ./steamwebhelper                               29MiB |
|    0   N/A  N/A      5149    C+G   ...fensive/game/bin/linuxsteamrt64/cs2       3246MiB |
+-----------------------------------------------------------------------------------------+

EDIT: For reference i installed nvidia-560 and the nvidia-libs-32bit-560 pacakge as well

linde12 avatar Oct 19 '24 10:10 linde12

I just installed obs & wayland desktop portal to try and record the and funnily when running OBS everything is butter smooth regardless. When i quit OBS it's back to lagging when i move my cursor. I will also try running awesome on xorg and see if it could be hyprland related (?)

linde12 avatar Oct 19 '24 10:10 linde12

Dunno but all those processes listed in nvidia-smi run on your GPU and not on internal graphics.

Your issue lies elsewhere, you experience this with this release but not the stable one in the repos? Well it's not "production" yet for a reason I'd suppose.

fvalasiad avatar Oct 19 '24 10:10 fvalasiad

Most likely related to my above issue: https://github.com/hyprwm/Hyprland/issues/7340 Seems that /usr/lib/libnvidia-egl-wayland.so.1.1.13 might be the cause? Again odd that it works when turning on OBS, but i know very little about all of this. Reverting back to 550 again :-(

linde12 avatar Oct 19 '24 10:10 linde12

render { explicit_sync = 0 }

I don't really use hyprland, does this disable explicit sync in the wm? So basically the fix is disabling the very purpose ppl praise 555+ for =D.

That version is hardcoded in the template though

Wayland/GBM

vinstall libnvidia-egl-wayland.so.1.1.13 755 usr/lib
ln -sf libnvidia-egl-wayland.so.1.1.13 \
	${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1
vinstall libnvidia-egl-gbm.so.1.1.1 755 usr/lib
ln -sf libnvidia-egl-gbm.so.1.1.1 \
	${DESTDIR}/usr/lib/libnvidia-egl-gbm.so.1

fvalasiad avatar Oct 19 '24 10:10 fvalasiad

render { explicit_sync = 0 }

I don't really use hyprland, does this disable explicit sync in the wm? So basically the fix is disabling the very purpose ppl praise 555+ for =D.

That version is hardcoded in the template though

Wayland/GBM

vinstall libnvidia-egl-wayland.so.1.1.13 755 usr/lib
ln -sf libnvidia-egl-wayland.so.1.1.13 \
	${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1
vinstall libnvidia-egl-gbm.so.1.1.1 755 usr/lib
ln -sf libnvidia-egl-gbm.so.1.1.1 \
	${DESTDIR}/usr/lib/libnvidia-egl-gbm.so.1

Haha again I'm in deep water here but I did try that to no success😅 I'll just stick with 550 for now. 560 worked just fine on xorg WMs (have not tried other Wayland compositors) so I think this change is probably all good 👍 Thank you for your help🙏

linde12 avatar Oct 19 '24 11:10 linde12

I will try and bump this up to 565 tonight for those curious!

fvalasiad avatar Oct 26 '24 15:10 fvalasiad