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.)

3 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.
650fd4558efeae2a71f822f1992f71af95468538.png

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

3 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

Not quite; that’s more with regard to Wayland.

On current Fedora, you can already sort of have it a bit easier if you want a GUI:

  • Open GNOME Software.
  • When it asks, select to enable third-party repositories.
  • You can now search for and install the nvidia driver.

However, I still usually suggest the rpmfusion directions, since they make room for optimus a bit easier and are largely just copy-paste.

1 Like

Well… sort of. It’s in regards to Wayland’s support of fallback X11 support, which is intimately related to the binary drivers and how they’re installed. From Christian Schaller’s blog post (linked from the Fedora News article:

Finally there is the NVidia binary driver support question. So you can run a native Wayland session on top of the binary driver and you had that ability for a very long time. Unfortunately there has been no support for the binary driver in XWayland and thus and X applications (which there are a lot of) would not be getting any HW accelerated 3D graphics support. Adam Jackson has worked on letting XWaylands load the binary NVidia x.org driver and we are now waiting on NVidia to review that work and hopefully be able to update their driver to support it.

(But ultimately, agreed, the important point is that “better driver support” is most definitely referring to better support in the driver for things Fedora wants from Nvidia, not better support of the driver in Fedora.)

That’s very unlikely to happen, as Fedora’s charter all but requires (maybe literally requires?) it to be a free-software-exclusive distro. The inclusion of RPM Fusion as a third-party driver source in Gnome Software was controversial enough. Including tools to access non-free software directly would send a certain segment of the userbase into open revolt.

Besides, if you want a distro that packages non-free software, there are plenty of choices. I hear Canonical’s doing something on that front…

Me.

And probably lots of other people, I’m rarely that weird.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.