r/redhat•
City_Level

Nvidia Driver crashing RHEL8

Been trying to install RHEL 8.3 on to my system here and everytime I install the Nvidia driver for the RTX 3070 and start the GUI, run NVIDIA-SMI, or anything that touches the GPU the screen goes black and the system reboots.

The scariest part is if you let it boot normally it will crash once or twice then corrupt the kernel and you can no longer mount /boot/efi. The kernel somehow loses the ability to mount vfat drives.

I am at a total loss here. I have tried every trick I can find but it just wont work.

Blocked Nouveau, nouveau.modset=0, init 3, target.multi-user, Nvidia.sh, source, and prepackaged from Nvidia developer repo all the exact same.

This seems like a bigger issue than I am finding, but maybe its the lack of 30 series cards.

Any ideas?

Posted Jan 30, 2021, 8:38 PM UTC

910
SHuRiKeN1812•

Please use Rpm fusion -

sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-$(uname -m)-rpms"

sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm

sudo dnf install akmod-nvidia

2
StatusAnxiety6•

let me know if you solve it

https://www.reddit.com/r/redhat/comments/ei8vvu/unknown_interaction_causing_nvidia_k2200_quatro/

I have tried a lot of solutions .. ended up rolling back to RHEL 7 waiting for better compat

1
City_LevelOP•

Will do, although it looks like nouveau is still running on your system are you sure its dead?

I had a rhel7 tensorflow system that refused to see the GPU and after far to long troubleshooting turns out nouveau was being loaded, even though it was disabled in modprobe. Ended up uninstalling the nouveau package and now its happily identifying pictures of cats.

1
redditusertk421•

Don't use the driver? RHEL supports nVidia for AI/ML stuff, not really for a display adapter.

1

Rhel should also support it for rendering work and workstations.

1
redditusertk421•

When has linux worked will with nvidia cards? I tried it for about year and the system was an unstable piece of shit. Not using it was the best option. Given that its my work PC I value stability over Shiny.

1
City_LevelOP•

The Nouveau driver would provide GPU functionality, but the Nouveau driver doesn't really work with Turing or Ampere cards. I have yet to find a system where it actually works. It also has issues with dual monitors on older cards.

RHEL supports a basic video out, yes. That would work fine for a Server, but this is a Workstation / home PC.

I also intend to do some GPGPU work and possibly light gaming.

But most importantly the questions are starting at work about a migration to RHEL8, where I have Workstations running Turing cards. (and one Engineer who is begging for a 3090, and she usually gets what she wants)

1
redditusertk421•

Well, best of luck making that work!

1
Sa_bobd•

Hey there - Firstly, this should work, and we do expect people to use the Nvidia cards for graphical applications (not just AI/ML).

Did you follow the instructions here?

https://access.redhat.com/solutions/4134381

1
City_LevelOP•

Just followed them again to make sure I followed them exactly.

As soon as I switch back to graphical.target I lose all USB and video for about 5 sec, then it comes back. It sits at a black screen, then reboots. I didn't let the reboot finish to see if initramfs was corrupted again.

EDIT: Just rebooted and back to the kernel not being able to read vfat again.

1
[deleted]•

[deleted]

0