9

I am using elementary OS Freya and tried to install some graphic drivers and update existing drivers, after the re-start I get black screen, but still I can access command line from recovery mode, how can I re-set my graphic drivers ?

4

1 Answer 1

9
+500

Thanks to @cl-netbox for instructions/assistance.


You did not provide any details about the hardware (desktop PC or notebook), especially about the GPU. But you mentioned in your comment below xserver-xorg-video-nouveau, so I assume you have a NVIDIA GPU. I will give you a comprehensive answer which should address nearly every possibility to solve your problem.


NVIDIA provides different versions of graphics drivers.

The current stable drivers are distributed through the official repositories.
The latest official drivers are distributed through the Proprietary GPU Drivers PPA.

Generally you should use the drivers from the official repositories.
When you have issues with these drivers, you can install the drivers from the GPU Drivers PPA.

This often leads to properly working graphics, especially on very new NVIDIA GEFORCE adapters.


Step 1 : Remove NVIDIA drivers you have installed

Open a terminal and execute :

sudo apt-get purge nvidia*
sudo reboot

Step 2 : Identify the exact graphics adapter model

Open a terminal and execute :

lspci -k | grep -EA2 'VGA|3D'

Step 3: (Re)install NVIDIA drivers to the system

For NVIDIA GEFORCE 400 - 700 I recommend to install NVIDIA drivers version 352.

Open a terminal and execute :

sudo apt-get update
sudo apt-get install nvidia-352
sudo reboot  

For NVIDIA GEFORCE 800 - 900 I recommend to install NVIDIA drivers version 358.

Open a terminal and execute :

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-358
sudo reboot

In case you experience a black screen, perform everything from a virtual console.
Highlight the elementary OS entry in the GRUB boot menu and press the E key.
Add nouveau.modeset=0 to the end of the linux line and then press F10 to boot.
On the login screen press Ctrl + Alt + F1 and enter user name and password.
Now execute the commands ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.