![]() ![]() After entering the tty interface and deleting the NVIDIA driver, you can successfully enter the ubuntu system.īut the driver still needs to be installed. NVIDIA SMI can output GPU graphics card information, but after sudo reboot, the screen is black and cannot enter the graphical interface, so it cannot be turned on. You could try: mkdir -p /var/lib/lightdm chown -R lightdm:lightdm /var/lib/lightdm chmod 0750 /var/lib/lightdm with root permission if needed.The NVIDIA driver is installed in ubuntu 18.04 system. T is possible that the folder /var/lib/lightdm has not been created. In summary sudo apt-get remove -purge nvidia-*Įcho 'nouveau' | sudo tee -a /etc/modules Last, search for the nf file and remove it as well sudo rm /etc/X11/nf If you want to be sure that nouveau will be load in boot, you can force-load it by add it to /etc/modules echo 'nouveau' | sudo tee -a /etc/modules With purge command it should UN-blacklisted. So after above command you should also give the installation command for ubuntu-desktop package sudo apt-get install ubuntu-desktopĪlso sometimes the nouveau driver get blacklisted from nvidia driver. ![]() To purge everything related to nvidia you can give this command sudo apt-get remove -purge nvidia-*Ībove command will also remove the nvidia-common package and the nvidia-common package has as a dependency the ubuntu-desktop package. Nvidia-common package has a dependency on ubunut-desktop. Search what packages from nvidia you have installed. sudo lshw -c display Removing Nvidia Drivers Now the proprietary Nvidia driver is being used. sudo apt install nvidia-driver-version-numberįor example: sudo apt install nvidia-driver-340Īfter the driver is installed, Reboot the computer to enable nvidia-prime, which is technology to switch between Intel and Nvidia graphics card. If you want to install a particular driver, run the following command. Install the recommended driver, run the following command. ![]() Run the following command to list available driver for your Nvidia card from the default Ubuntu repository. ![]() sudo lshw -c videoīy default, the open source nouveau driver is being used for Nvidia card. You can also use video instead of display. Check the driver which is being used for Nvidia card with the following command. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |