After the Nvidia driver installment encountered a black screen

Issues related to applications and software problems and general support
Post Reply
ch4ki666
Posts: 3
Joined: 2020/09/17 17:28:11

After the Nvidia driver installment encountered a black screen

Post by ch4ki666 » 2020/09/17 17:32:37

I was trying to download Nvidia driver to Centos 8. So I followed instructions to install an nvidia driver. Disabled nouvea. Then I run .run file it was successfully installed. But after reboot, it has a black screen and I cant type anything.I looked through lot's of solutions of this problem but it didn't make any difference.

Any help is greatly appreciated!

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

Re: After the Nvidia driver installment encountered a black screen

Post by TrevorH » 2020/09/17 17:51:37

We generally recommend use of the ELRepo packaged version of those drivers as they do everything for you including disabling nouveau. Undo what you have done so far (the .run file has an uninstall option) and then google for ELRepo, download their elrepo-release file and install it then yum install nvidia-detect and run nvidia-detect which will tell you which of their kmod packages to install and then yum install that. Make sure that you also install nvidia-x11-drv.x86_64 as well and until the next batch of CentOS updates arrives you will need to run setsebool -P domain_can_mmap_files 1 to bypass a bug (this may be the problem you've hit now).

The ELrepo copy of these drivers survives most kernel updates which the .run method will not. Using .run you will need to reinstall the .run file every time there is a kernel update (currently at least once a month in 2020). Using ELRepo and keeing the elrepo repo enabled will download updated copies of the kmod packages to match any new kernel that requires it so updates should be automatic.
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

ch4ki666
Posts: 3
Joined: 2020/09/17 17:28:11

Re: After the Nvidia driver installment encountered a black screen

Post by ch4ki666 » 2020/09/17 19:54:22

Thank you for your attention sir, I did everything you mentioned but situation isn't changed :/

ch4ki666
Posts: 3
Joined: 2020/09/17 17:28:11

Re: After the Nvidia driver installment encountered a black screen

Post by ch4ki666 » 2020/09/17 21:29:20

Eventually I was able to solve this problem. I used the following guide. https://medium.com/@sunnkis/linux-how-t ... 356d36560b

Post Reply