Hi ultra noob here, I followed the manual instructions to upgrade from 23.05 to 24.05 ( I did not upgrade to 23.11 ):
sudo nix-channel --add https://channels.nixos.org/nixos-24.05 nixos
sudo nixos-rebuild switch --upgrade
I had some errors which I fixed in /etc/nixos/configuration.nix
for example change ffmpeg_5 to ffmpeg_full, etc.
Minor things like log in and such.
The rebuild finished successfully, just in case I restarted the PC.
Upon restart I am plagued by graphical bugs, many surfaces aren’t drawn or the labels are missing.
Then I tried :
sudo nix-env -u
To see if something missed the update and I got the following warnings :
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpathHook instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpathHook instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpathHook instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: eww now can build for X11 and wayland simultaneously, so `eww-wayland` is deprecated, use the normal `eww` package instead.
trace: warning: lxd has been renamed to lxd-lts
trace: warning: lxd-unwrapped has been renamed to lxd-unwrapped-lts
trace: warning: nixfmt was renamed to nixfmt-classic. The nixfmt attribute may be used for the new RFC 166-style formatter in the future, which is currently available as nixfmt-rfc-style
trace: warning: nvtop has been renamed to nvtopPackages.full
trace: warning: nvtop-amd has been renamed to nvtopPackages.amd
trace: warning: nvtop-intel has been renamed to nvtopPackages.intel
trace: warning: nvtop-msm has been renamed to nvtopPackages.msm
trace: warning: nvtop-nvidia has been renamed to nvtopPackages.nvidia
trace: warning: writeReferencesToFile is deprecated in favour of writeClosure
So then I tried
sudo nix-env -e autoAddDriverRunpath
But the system says the package does not exist.
I am on Xorg X11, on a really old Optimus PC with NVidia (using propietary drivers), everything was working mostly fine before the update.
I checked the release notes and many of the nix-env -u errors seams to be related to package names being re arranged but I have no clue how to solve them.
The release notes also mention GNOME GTK renderer changes which might be related to my graphical problems.
Do I really need to do a full reinstall or is there something I missed from the update?
Thanks in advance.