Monday, July 2, 2018

boot - Black screen with nVidia drivers on ubuntu


I have: ASUS P4V800D-X Intel Pentium 4 HT 2.80GHz 2.5GB RAM 40GB HDD nVidia 9500GT


When I installed nVidia drivers downloaded from nvidia.com website (selected recommended drivers), I simply can't boot into desktop. I pass through purple screen, and then I get black screen with flashing white underscore on left hand side. Keyboard shortcuts are not working and the only way to get to desktop mode is booting into recovery mode (holding shift when booting etc.). In recovery mode I run:


sudo apt-get remove --purge nvidia*

and that is the only way to get a "normal" desktop environment. I put a quotes on a normal because computer is running slow and I can't set proper resolution.


Also, I've tried to install drivers via ubuntu GUI interface (proprietary, tested drivers), but with no luck.


I am using Ubuntu 14.04



I've finally solved my problem!
For people who have the same problem like I had, here is the solution:


I recommend to make a fresh install of your system, if you already have an issue with drivers.



  1. Boot up Ubuntu and make sure you're connected on the internet.

  2. Open a terminal with Ctrl + Alt + F1

  3. Login and here is what you have to type in terminal:


    sudo apt-get update
    sudo apt-get dist-upgrade
    sudo apt-get install build-essential
    sudo apt-get install linux-source
    sudo apt-get install linux-headers-generic
    sudo apt-get dist-upgrade
    sudo reboot

  4. After reboot, repeat step 2. You'll need here an internet connection, again. Run these commands:


    sudo apt-get install nvidia-current-updates
    sudo nvidia-xconfig
    sudo reboot


It is very important to run nvidia-xconfig! If you don't run it, you'll crash your system!


After you've done this, you'll have a working nVidia graphics driver. Cheers!


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...