Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to install the latest and greatest straight from NVIDIA, but I get an error message saying I need to log out of an X environment or something. Obviously using the default drivers doesn't deliver the best results.

What exactly can I do to install the latest drivers? If it matters, I have a 2GB GeForce GTX 660 Ti.

share|improve this question
    
Can you check on that "X environment", so that we can see what it is? –  Frederik Popp May 4 '13 at 20:24

1 Answer 1

Before install driver, first close desktop manager:

sudo service lightdm stop

For install propretary nvidia driver, follow this step:

1) download driver from: http://www.nvidia.com (select correct gpu, operating system and architecture (32 o 64 bit))

2) required: linux headers (if not installed) and other stuff:

sudo apt-get install build-essential linux-headers-`uname -r`

3) ctrl+alt+F4 (or another tty) and login.

4) install driver.

sudo sh <script NVIDIA>

Installer will configure and build module for your kernel. If anything ok, you must be able to restart your desktop manager with nvidia driver. (nvidia installer write xorg.conf: check correct configuration.)

5) restart desktop manager:

sudo service lightdm start

check if module was mounted on kernel:

lsmod | grep nvidia

N.B. Possible issue:

gcc version are different between driver and installed copy of gcc

Read /var/log/Xorg.0.log for error, if xserver fail during startup.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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