This is the first time I have experienced the NVIDIA driver not being installed automatically during a system upgrade.
I had to install linux618-nvidia manually after this upgrade.
This was disappointing because the system became unusable with the NVIDIA driver after rebooting.
nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
sudo modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/6.18.42-1-MANJARO
I fixed the problem by installing the kernel-specific NVIDIA package manually:
It seems to me that, on systems already using the NVIDIA driver, linux618-nvidia should be installed automatically when Linux 6.18 is installed during the system upgrade.
This is not a system update, if you change kernels to another major version.
How did you install it by the way?
Pacman is certainly not supposed to do that (would have been nice).
No idea for mhwd. The last time i installed a kernel with mhwd it also installed the headers, which i honestly did not expect. No idea if such auto detection works for nvidia, vbox and whatever else kernel related is there.
Because it wasn’t installed before manually, probably. This command only updates but does not install new things (with a couple of exceptions that confirm the rule).
Pacman cannot know you have nvidia card.
Don’t do that. Only use -Syu unless there is a good reason to do otherwise. Read the manual.
man pacman
In order to switch to a different kernel if you have any proprietary drivers, you have to use mhwd-kernel, not pacman — unless you know what you’re doing.
However, in this case I could not upgrade the kernel separately.
When I tried to install Linux 6.18 with mhwd-kernel, Manjaro required a full system upgrade at the same time. So the kernel upgrade and the system upgrade were effectively tied together, because wine requires ntsync-autoload and NTSYNC-MODULE on this upgrade.That seems to be different from before.
My concern is that after this upgrade, the system booted with Linux 6.18, but the matching linux618-nvidia package had not been installed. As a result, the NVIDIA kernel module was missing and the graphical environment could not start.
For users with NVIDIA GPUs, the matching NVIDIA kernel module is required when a new kernel is installed.
It might be worth considering a way to upgrade or switch the kernel separately from the full system upgrade in cases like this.