Proprietary Nvidia drivers need to built against the kernel and will work, but complain of a mismatch with the kernel module, then be erratic.
I compile on Gentoo, so this is generic observation rather than Ubuntu specific. So if the upgrade path gets broken, or no reboot to switch to a matching kernel , you could easily get issues. Not sure if Ubuntu uses the Nvidia drivers or Nouveau, which may or may nit be similar.
I would hope that the package manager would keep everything in sync
I think what you are describing is exactly the issue. Ubuntu uses both nouveau and nvidia proprietary. On low latency kernel system threw me to nouveau out of nowhere. Switching it back to proprietary driver is where kernel panic started. problem so far seems to be happening with both 18.04 and 19.10 on low latency. and a screen resolution issue happened on 18.04 at which point I didn't wait around to see if it would escalate
anyhow thanks very much for sharing this.
NVIDIA vs Nouveau
You could check your apt logs to see if the kernel and/or driver was upgraded recently, and if so try to downgrade to a previous working version? On Debian Buster I have `/var/log/apt/history.log` but I don't know if unattended upgrades would go there too (I don't have that enabled).
NVIDIA proprietary drivers are not compatible with realtime kernels (not sure if this is for technical or legal reasons).
The Nouveau driver is not very good (I've had some shaders just display the wrong things), but it does improve slowly over time, at least on older hardware that NVIDIA hasn't locked down by requiring signed firmware or some such hostile nonsense. Without the correct signature the device is locked in the lowest power mode or so, which is usually non-performant.
I still use the NVIDIA proprietary driver on my laptop (which is old enough that Nouveau can enable higher power states) because of the shader bugs, and it makes me sad.
I bought AMD for my last machine because of these issues (free/libre drivers working great there), but this doesn't help you right now.
NVIDIA vs Nouveau
@mathr @CreatureOfTheHill I was in a hurry, but after I finish grading i'll definitely look around to see. Not sure it will be possible as I had to do a fresh install but it is at least worth checking.
realtime kernel is a different case and what little I know about them is that they have compatibility issues. I never had issue with the low latency kernel through in 5+ years I have used it (and performance hit is not really noticeable to this casual gamer)
Used Ubuntu long time ago but isn't there a "package" that will download drivers and compile it properly with actual kernel? Usually it's not in basic repo but in some "restricted" you have to explicitly allow.
But maybe you done everything right and there is just not-working version :(
Even - by https://itsfoss.com/ubuntu-lts-latest-nvidia-drivers/ - default Ubuntu repos don't have latest drivers and you should use dedicated PPA repo. (https://itsfoss.com/ubuntu-official-ppa-graphics/)
What did you try? Did you compile drivers yourself or by installation of some of this "package"?
social.coop is a cooperatively-run corner of the Fediverse. The instance is democratically governed by its members, who generally share an interest in the co-op model, but topics of discussion range widely.
Our instance is supported by sliding scale contributions of $1-10/mo made via Open Collective. You must have an active Open Collective account to apply for membership; you may set one up here