Fedora 29: Nvidia driver broken with 4.20 kernel
Since updating to the 4.20 kernel the nvidia driver appears to be broken - compiler error. I have the NVS 300 nvidia card with the 340.107 driver.
I did a 'dnf update' and now all kernels 4.20 and older are broken. At the point where it should display the login screen I get the 'Oops something went wrong...' dialog.
I guess I have to revert to nouveau driver?
Is there a way to prevent 'dnf update' from going past a particular kernel version?
The last version of the 340.107 driver is July 2018. Is Nvidia likely to release a patch for this, or am I am stuck at a pre-4.20 kernel?
How did you install nvidia driver? I'm asking because there are several different ways to achieve this.
Observation: as far as I understand, if you're seeing 'Oops something went wrong...' dialog, then you have graphics of some sort. Either your computer reverted to nouveau on it's own (since it couldn't use nvidia driver modules), or modules for 4.20 did compile. Can you verify, which way it actually is? When I had problems compiling nvidia kernel modules, I ended up with black text screen and no graphics at all.
Just a bit of additional information, that might be helpful: I use nvidia driver 390 with old nvidia gpu on my work pc (with 4.20 kernel) without major problem, and I use newer nvidia gpu with nouveau driver on my home pc (there were some quirks with nouveau and 4.19 kernel recently, as I wrote in the comment to your other question, but with 4.20 it's all right again).
Thanks @Night Romantic. I followed this guide initially:
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/
That all worked fine, but kernel updates send it into a bit of a tail spin.
Have you tried RPMfusion's driver?
I got it working again by reinstalling the generic driver from if-not-true-then-false.com (using 4.20 kernel). I must revisit the rpmfusion driver again, it didn't work the last time I tried it. I think what's supposed to happen is that it rebuilds the driver with each new kernel version but it failed on the 4.20 kernel.