Fedora 31 Gnome + NVIDIA driver conflicts

My system was a rock solid F30 with the latest NVIDIA driver installed from NVIDIA using this method:
NVIDIA Driver install

I upgraded using the approved DNF method and on reboot, I get this:

I thought maybe I need to reinstall the NVIDIA driver but that failed (related to the DKMS).

Any suggestions? Be sure to include the terminal commands to magically fix this.

Right now I am typing this on Windows… urgh.

Thanks in advance.

Ugh that guide…breaks a lot. I hate the fact that it’s the first Google search result.

Follow this to uninstall them (you may have to boot using the emergency boot menu option for this, or try pressing Ctrl-Alt-F3 when the boot gets stuck to access a shell where you can perform the uninstall), then follow the appropriate setup steps:

(If you prefer a GUI to install them, I believe you can also open up GNOME Software, select the toggle to enable third-party repositories, then search for the “nvidia” package there and install them.)

2 Likes

Firstly, thanks to @refi64 for his quick response and suggestion.

He did steer me in the right direction, but I did everything differently. :crazy_face:

After the screen tanks out, Ctrl-Alt-F3 gets you the command line and you can work the command line magic there.

The Solution:

  1. Ctrl-Alt-F3 to get the console as root.
  2. Find the NVIDIA installer and RE-INSTALL the driver.
  3. If the driver successfully installs, you will be able to boot back into your GNOME account.

And now, the bad news:
Many of my beloved GNOME extentions are pootched. Launch into classic mode and shut them off.

If you use Dash-to-Dock (and who doesn’t!?), you’ll need to install it from source at git, and following the FINE instructions.

I’m happy, no data loss and I am on track for F31.
Success

I recommend anyone to follow the @refi64 solution.
The reason is that every now and then you may have compilation failure when building the nvidia kernel module with the nvidia installer.

Using the driver packaged from RPM Fusion, you will have updated kernel module (or updated driver). That will totally avoid the need to manually handle any kernel compilation for any kernel updates.

If you are a professional, feel free to Contribute https://rpmfusion.org/Contribute

2 Likes

I had no problems to follow this guide to install Nvidia driver on Fedora 31. No RPM fusion was required and it works as it should.

The problem is that the Linux kernel APIs change on every major update, and Fedora ships major updates during the same release cycle. This means that you would have to manually check every single upgrade, and then if there’s a kernel upgrade, manually download and upgrade the nvidia driver yourself first. The rpmfusion version takes care of all of this automatically, while also adding a fallback if stuff breaks and making other tweaks to enhance things.

Point well made!

From what I read the latest 31 release should bring better Nvidia driver support. Not sure what that means exactly but I wonder if one can expect ( perhaps any time soon ) Nvidia driver installation to be performed fully from the in-house fedora repositories. Similar to say Ubuntu where the Nvidia drivers are installed from a standard Ubuntu repository using a single command.

$ sudo ubuntu-drivers autoinstall

Ref: How to install the NVIDIA drivers on Ubuntu