I run issue with my system, it freezes randomly and I thought that it is issue of nvidia, I have RTX4070 and 550 drivers, for kernel parameters I put that
but it did not help. here is my journalctl -b -1http://0x0.st/XXO8.txt. In order to restart my system I use to hard reboot by pressing power on/off button.
Does this also happen with a free Nvidia driver stack? NVK isn’t quite there yet in terms of performance but it should at least work.
If you can’t reproduce it on a free stack, I’m afraid there is not much we can do for your here; you’d have to ask Nvidia for help and I doubt they’d help you.
I used to get this frequently every time I nixos-rebuild switch my system under Gnome Wayland (sometimes randomly too, but not frequent enough to be annoying). I’ve since switched back to X11 and this hasn’t happened again, yet.
Thank you for link, I think to roll back to 535, as before it worked without issues. Therefore the question on Wayland, I read that Wayland is not supported on 100% with 535 driver, are there any hooks to make it work?
Regarding roll back, is it the right way to do that on Nixos:
I don’t think that the -dkms distinction matters on NixOS. DKMS stands for dynamic kernel module support, which means that it automatically rebuilds the Nvidia driver whenever a different version of the kernel is installed. On NixOS, Nix already handles the rebuild.
I’m not aware of any way to make Wayland work better with Nvidia’s driver, so I’m not commenting on that part. I mostly use Plasma X11 on my Nvidia machine to avoid some glitches.
Ok, thank you for all these advices.
I will try it, else I know about some patches done on 545, but I remember that with 545 I could not even login at least with X11 server.
Where can I find all nvidia drivers disponible for nixos?
Unfortunately, my system just froze today, but this time after waking up from sleep. I’m gonna try enabling hardware.nvidia.powerManagement.finegrained as the docs suggest and see if this helps.
Thanks for the link. This is probably the root issue here so I’ll try rolling back the driver if this happens again (which it probably will ).
thank you all for help!
So with drivers 535 it works great, even my problem with power off is solved. unfortunately I can not use Wayland session tho. hope Nvidia will make something usable one day.
did someone try alternative drivers to Nvidia proprietary? is this worth it?
I can’t really speak from experience since I’ve only used the proprietary drivers, but you can try using Nouveau/NVK. Keep in mind that the performance might not be that great in comparison (at least at the moment). I see no harm in trying them out, though.