Drivers installed via linux-modules-nvidia-* do not support booting into older 
version kernels. The issue is in userspace compatibility. NVIDIA does not 
support mixing driver and userspace versions, this must be the exact version. 
Linux-modules-nvidia-* ship precompiled drivers that have a specific version. 
Each kernel has only one matching l-m-n package, so your current kernel has the 
latest nvidia driver, but older kernels have old drivers in their respective 
module trees. But there is only one userspace set, the one shipped with the 
latest driver. This means booting an older kernel break 1:1 kernel>userspace 
relationship and you end up with black screen.
Only DKMS set supports booting into old kernels because the drivers are 
compiled on the machine, for all kernels present, so old kernels get the latest 
driver that matches the latest userspace. This breaks secure boot as the 
drivers are not signed with Canonical key, so if it is a must, you would need 
to enroll your MOK into EFI.
You can switch with:
sudo apt remove linux-modules-nvidia-570*
sudo apt install nvidia-driver-570

Or go for 580 driver with:
sudo apt install nvidia-driver-580

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115148

Title:
  nvidia driver error: cannot open linker script file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2115148/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to