Putting back nouvean driver

Issues related to hardware problems
Post Reply
wagner
Posts: 3
Joined: 2020/04/20 19:29:58

Putting back nouvean driver

Post by wagner » 2021/04/11 16:27:01

I installed the Nvidia 64-390.141 driver. So far so good. After updating the kernel from 4.18.0-240.10.1.el8_3 to 4.18.0-240.15.1.el8_3 my display did not work. Everything was good when booting the old kernel. So when .18.0-240.22.1.el8_3 became available I gave it a try. Aame thing. No display, back to older kernel. At this point I would like to revert to the nouveau driver as from what I’m seeing Nvidia drivers are not reliable. Can someone point me to how toe revert back to nouveau?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Putting back nouvean driver

Post by TrevorH » 2021/04/11 17:09:44

If you use the nvidia .run method to install their driver then you must re-run that installer after each and every kernel update. Failure to do so will lead to your display not working at all. Sounds like you didn't and doing so will solve your problem and mean you don't need to use nouveau.

If you do still want to revert to nouveau then the .run file takes a --help (or perhaps -help) option that will spit out instructions on all the other parameters it can take. One of those is --uninstall or -uninstall or something similar. That will uninstall the nvidia proprietary driver. You'll also need to review your kernel command line, populated from /boot/grub2/grub.cfg or its UEFI equivalent under /boot/efi or from /etc/default/grub, the latter of which requires you to run grub2=mkconfig and point to the location of grub.cfg for it to overwrite.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

wagner
Posts: 3
Joined: 2020/04/20 19:29:58

Re: Putting back nouvean driver

Post by wagner » 2021/04/12 13:35:33

Unfortunately the re install of the Nvidia driver did not work. Going back to the nouvean driver.

FYI: Executing the run file with ‘-h’ shows just the basic options. Using ‘-A” shows all the options.

tunk
Posts: 1204
Joined: 2017/02/22 15:08:17

Re: Putting back nouvean driver

Post by tunk » 2021/04/12 14:27:06

I think it will only work with the running kernel.
So if you installed it with old kernel it would not work.
You could try to boot from the new kernel, then crtl+alt+F2
should give you console login where you can install it.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Putting back nouvean driver

Post by TrevorH » 2021/04/12 15:25:25

Yes, that. You have to run the install under the running kernel for the running kernel. So boot the new kernel, switch consoles using Ctrl-Alt-F2, login as root, run the .run file, reboot into the same kernel that you were just using.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

wagner
Posts: 3
Joined: 2020/04/20 19:29:58

Re: Putting back nouvean driver

Post by wagner » 2021/04/12 17:14:20

That did the trick. Kind of a pain, but doable. Thanks for the patience and help Now on to Centos Streaming (already done on on system)

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Putting back nouvean driver

Post by jlehtone » 2021/04/12 17:18:43

TrevorH wrote:
2021/04/12 15:25:25
... boot the new kernel, switch consoles using Ctrl-Alt-F2, ...
Or add systemd.unit=multi-user.target to kernel options in the GRUB menu ...
Or run systemctl set-default multi-user.target before reboot ...
... and then you don't have to switch to console.

On the latter you need to systemctl set-default graphical.target to get GUI on boot again.

Post Reply