nvidia: update to 560.35.03
Testing the changes
- I tested the changes in this PR: YES (played a few games :) )
We will not ship "Beta" drivers, but this can stay open for when 555.xx becomes production. I'll help test, as well!
I've marked this PR as draft so it doesn't accidentally get merged.
@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!
I'll be testing this under Wayland as well and report back, hopefully this will finally make Nvidia usable with Wayland
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 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.
I don't use kde/kwin, sorry.
Can you bump this to 555.52.04?
Sure!
Works for me!
stable 555.58 released https://www.nvidia.com/download/driverResults.aspx/228214/en-us/
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!
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
Hmmm indeed, perhaps I should bump this up on 560 since its beta was released?
Stable production release at long last!
Its the "New Feature Branch", not "Production Branch".
Damn you are right, production is still at 550.107.02
back to draft.
Yeah, unfortunately the "new feature" branch will lag behind Production sometimes-- it doesn't necessarily get regular updates.
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.
Maybe a bug report to nvidia is necessary?
They're already tracking it according to the forums.
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 :-(
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?
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:
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
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 (?)
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.
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 :-(
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
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🙏
I will try and bump this up to 565 tonight for those curious!