Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Nvidia 390.xxx driver crash
Kalcifer
 Posted: Mar 1 2018, 03:14 PM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 3982
Joined: 10-February 18









After i had installed nvidia drivers on SL7.4 using the following instructions the system stopped working.

yum install yum-conf-elrepo
yum remove xorg-x11-glamor
yum install nvidia-detect
yum install $(nvidia-detect)


It just shows the initial screen with log in window and do not respond whatever i do. Can you please help me to remove these nvidia drivers?
PM
^
Phil_P
 Posted: Mar 2 2018, 03:53 PM
Quote Post


SLF Newbie


Group: Members
Posts: 7
Member No.: 2862
Joined: 23-December 13









Can you Ctrl-Alt F2 (or other function key) to another terminal?

If not, boot from a rescue CD and mount the system. Then uninstall the nvidia packages:

rpm -e kmod-nvidia\* nvidia-x11-drv\*

and reboot which will restore your system to the state before you installed the drivers.
PM
^
squeen
 Posted: May 15 2018, 11:30 AM
Quote Post


SLF Newbie


Group: Members
Posts: 14
Member No.: 2956
Joined: 11-February 14









The following is the very labor intensive way I've been installing the NVIDIA drivers on SL 7:

----

Step 1: Make sure you have the build tools

sudo yum install kernel-devel kernel-headers gcc make



Step 2: Blacklist Nouveau

edit /etc/default/grub and append

sudo vi /etc/default/grub

append the following string to the GRUB_CMDLINE_LINUX options

rdblacklist=nouveau

Next, rebuild grub.cfg

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Edit the blacklist file

sudo vi /etc/modprobe.d/blacklist.conf

Add the following

blacklist nouveau
options nouveau modeset=0



Step 3: use systemd to get to runlevel 3

This is the new runlevel command (although init 3 still works editing /etc/inittab doesn't)

sudo systemctl set-default multi-user.target
sudo reboot



Step 4: install the NVIDIA driver

sudo sh NVIDIA-XXX.sh



Step 5: remove nouveau

Remove the nouveau package

sudo yum remove xorg-x11-drv-nouveau



Step 6: build new kernel

Back up and create a new kernel

sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
sudo dracut /boot/initramfs-$(uname -r).img $(uname -r)



Step 7: restore runlevel 5

sudo systemctl set-default graphical.target
sudo reboot



Step 8: verify nouveau is gone

/sbin/lsmod | grep nouveau
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll