Kernel Version 6.10 is currently not very stable on my system. One of my hard drives is not responding and the shutdown process is taking way too long. Although the driver 555 works with it. Unfortunately I’m going to stick to 6.9 until 6.10 matures more.
services.xserver.videoDrivers = ["nvidia"];
worked fine before, had no issues with it. It came with proprietary driver and a way to control the driver.
I think I meant the block pre formatted text with highlighting using three ` signs
If it works then that’s alright. If you do have issues in the future, just keep this option in mind.
Oh, well everything is mostly markdown. You can also see this guide on formatting in discourse if you’d like to know more.
You only have to manually specify the version if it’s not available for your system or if you’d like to keep the drivers pinned to a specific version. From this list, we can see that the 555.58.02 drivers aren’t available for NixOS 24.05.
Generally, stable releases are always outdated compared to the unstable branch of NixOS, that’s why we have to do this ourselves, but once this change is rolled back into NixOS 24.05, it should automatically be applied after a system update.
Now that I’m writing this, though, I’m noticing an interesting thing. For NixOS 24.05, we can see here that the latest stable version is 550.54.14, which should be the default according to the hardware.nvidia.package option definition. However, your system is trying to build 550.78, which corresponds to the production version.
Could this be the cause of the initial error, perhaps?
Edit: Probably unrelated. I think this comment explains the problem pretty well.
With Kernel 6.9.12 being End Of Life, I’m gonna have to look into getting 6.10 to work.
My issue with that approach is that NVIDIA X Server Settings are no longer available when installed and my GPU sensors aren’t there anymore, mainly the fan sensor. I don’t want to use X11 but having having the settings app is really nice.
The problem was the same. No nvidia-settings and no GPU sensors.
I have no clue how to check the driver version actually… All I know is that on my current generation I’m using nvidia-open drivers. Problem is still same when rebuilding with
Windows that I have autostarting, start. DE is not present. Resolution isn’t right.
Doesn’t help in my case. Adding hardware.nvidia.open = true; still yields aforementioned problem when running KDE in Wayland. Only time that KDE ran in Wayland was with nvidia-open driver.
Can you share your full config? Wayland, nvidia-settings, 6.10 kernel support all should be working on 555.58.02 - I’m running that kernel/driver version too.
The fact that nvidia-settings is missing is very suspicious - the config is dead simple, the only way this doesn’t work is if you never evaluate the nvidia module or explicitly disable it. Since you clearly didn’t do the latter, there’s probably something seriously wrong with your config.
From this line, if services.xserver.videoDrivers does not contain "nvidia", then nvidiaEnabled evaluates to false, thus nvidia_x11 evaluates to null. That’s why nvidia_x11.settings is not installed in the line you referenced.
That said, does nvidia-open in videoDrivers even do anything? Grepping for that string in nixpkgs results in no relevant results. AIUI, the way to enable the open drivers is hardware.nvidia.open, and we’re just dreaming up a new videoDrivers string that doesn’t exist for some reason. Without hardware.nvidia.open you’re missing some important settings anyway, so broken graphics is kinda expected.