This will resolve the black screen which occurs while booting, or the screen freezing which is occurred by nouveau.
- Turn off SecureBoot in UEFI settings in your mainboard.
- Download a driver for your graphic card. (Visit NVIDIA Support page.)
- Install DKMS(Dynamic kernel module support, optional).
user@ubuntu:~$ sudo apt install dkms
- Add
nouveau
to kernel module blacklist.
user@ubuntu:~$ sudo vim /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
- Update initramfs image of your system.
user@ubuntu:~$ sudo update-initramfs -u
- Reboot your system. Now you can figure out the display kernel module has been going out.
- Stop the lightdm (or any display manager of your system).
user@ubuntu:~$ sudo service lightdm stop
- Install the driver.
- Accept the NVIDIA Software License
- If you got a message like..
The distribution-provided pre-install script failed!
: Just select "Continue installation".- About DKMS registration: Select "Yes".
Your system may not be set up for 32-bit compatibility
: Select "OK" if you wanna continue installation.Secure Boot
orsigning key
: Turn off SecureBoot in UEFI settings in your mainboard first.
- Reboot your system.
When I tried to sign in, greeter (login screen) just refreshes and loop forever..
- Turn off SecureBoot in UEFI settings in your mainboard.
Jongmin Kim (kdzlvaids__at__gmail.com)