Regarding Linux kernel compatibility with various Nvidia driver revisions.
If you are interested, I’ve discovered something when attempting to switch from nvidia-535-driver package to nvidia-545-driver package under Linux Mint 21.3 (ubuntu 22.04.2…).
Here goes.
Simply choosing the offered 545 package in Linux Mint 21.3 failed and failed for specific reasons.
And the good news is, it absolutely supports what LinuxGaming81734 was trying to get across.
The install failed because:
There are specific kernel / kernel headers / libraries / tools that work with specific Nvidia driver revisions. Most of those caused a variety of errors when looking at the resultant nvidia-bug-report.log.gz (I will include)
HINT-HINT-HINT!!! Start at the bottom and search backward for “Failed”.
**$ sudo nvidia-bug-report.sh.gz**
(facepalms)
This shell script spits out the entire process that includes every step taken on the road to a successful install, or a puddle of tears and piles of torn out hair.
I found the clues at this incredibly insightful web-page that has a mind boggling amount of information and explanations. Waaayyy at the bottom, there is an instruction to use an existing script for getting the above nvidia-bug-report.log is divulged in a simple casual way that must have defied all standard internet search engines specifically to annoy ME!!! >.<
lol
https://github.com/RocketCityDynamics/Success-with-Nvidia-545-drivers-in-Ubuntu-22.04-LTS
To quote Bugs Bunny…“The irony of it all…”
So, this simple switch from 535 to 545 using Linux Mint 21.3 with kernel 5.15.0-107-generic and an evga RTX 2070 Super caused quite a number of errors that were fairly easy to find and decipher.
kernel revision - according to information I found, the nvidia-driver-install-meta package is/was supposed to drag in the correct kernel and kernel support files - kernel.image, kernel.headers and kernel firmware support tools. However, since the kernel offered would have been a somewhat significant digression in revision levels (5.15.0-97 I believe), the system may have shrugged and said, “Nope!”.
libraries - lightdm inxi nvidia-settings appmenu-gtk3-module nvidia-settings nvidia-smi nvidia-xconfig
tools - this includes cuda computational libraries by specific nvidia driver major revision
probably a few more…“things”
I have to admit, that having come from a long-standing opinion that “newer-stable-versions” of any code, always meant “better / safer / more secure”, the urge to upgrade ahead of problems is strong.
That being said, I have reasons with the current status of Linux desktops now causing changes because of wayland, may have also created changes it the standard driver code as previously unsupported options and features suddenly become significant. Although, I do not currently use the wayland architecture, the day is coming when X11 will be completely retro. Some top end Linux distros have already made the move.
It may also affect / improve issues with gaming under Steam Proton, which is another bag of worms. As I’ve said, I play Counterstrike2 (native) and Elite Dangerous Odyssey (proton) and each of these games get updates on a somewhat-frequent-very-irregular schedule.
nvidia-bug-report.log.gz (131.4 KB)