SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-03-05 16:14:14

theBat
Member
Registered: 2014-03-05
Posts: 33

How to install Nvidia drivers.

I have followed many faulty or whacky guides in my days that took me as far as to compiling a new kernel, upgrading to Debian testing or waisitng 4+ hours of a friends life (I'm sorry, dear. I'll make it up to you.). So I thought I would share my method. Because I care about you.

This is intended for a fresh install of #! but will most likely work anyway.

First, go to http://www.geforce.com/drivers to locate and download your driver. It'll most likely, probably and unavoidably be the 331.49 version. At least until a newer one is released.

Prepare the driver by issuing this command:

chmod +x NVIDIA-Linux-x86_64-331.49.run

Now, log into teletype terminal 1 by hitting CRTL + ALT + F1.

Kill X by issuing this command:

sudo service slim stop

And now prepare for the installation of the driver by issuing the following commands:

sudo apt-get update
sudo apt-get install module-assistant
sudo m-a prepare

Now locate the driver and run it:

sudo ./NVIDIA-Linux-x86_64-331.49.run

It will ask you if it's cool to harras Nouveau and create it's own xorg.conf. This is fine, you want this. After this, the installation will fail.
Reboot, then:
CTRL + ALT + F1

sudo service slim stop

I may have trown in another m-a prepare for good meassure.

Run the installer again. (and yes, you do want the 32-bit libraries.)

sudo ./NVIDIA-Linux-x86_64-331.49.run

Reboot. Done.

For some, all the fonts will be crazy small. This seem to happen on certain high-res LCD monitors.
If yours are looking nasty and small, open the ~/.Xresources and find a line that looks something like this:

!Xft.dpi: 96

Just change the line to this:

Xft.dpi: 75

A dpi of 96 may work fine too. Use what works for you. But make sure to remove the ! to uncomment the line.

Save. Log out and then back in.

Last edited by theBat (2014-03-06 17:46:29)


Children of the night... What music they make.

Offline

Help fund CrunchBang, donate to the project!

#2 2014-03-06 16:19:48

cloverskull
#! Junkie
Registered: 2013-10-26
Posts: 377

Re: How to install Nvidia drivers.

Out of curiosity, did you try using smxi to install?

Good guide either way smile

Offline

#3 2014-03-06 17:37:39

theBat
Member
Registered: 2014-03-05
Posts: 33

Re: How to install Nvidia drivers.

No, I did not and thank you.

And here is a quick update;
I have found that some packages are conflicting with Nvidias 32-bit libraries. The error being that you can lose openGL real-time rendering. Which is bad if you're a Blender user, like myself. I have not located the specific error, but I have found a way around it.

Updating your system, installing Skype and other questionable softwares that you may want, before you install the driver worked for me.

Your whisper in the night
the Bat


Children of the night... What music they make.

Offline

#4 2014-03-06 18:37:16

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: How to install Nvidia drivers.

Hi Bat,

Thanks for the HowTo. I couldn't get nvidia/CUDA working using a method similar to yours (I'm a bit of a noob with hardware and drivers), but I desperately wanted it for GPU rendering with Blender. smxi has made it easy though....


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#5 2014-03-06 18:48:21

theBat
Member
Registered: 2014-03-05
Posts: 33

Re: How to install Nvidia drivers.

Hello Damo!

Yes, there is a similar method to mine that will disable CUDA. How ever, CUDA is working fine for me and this methos only takes a minute or two. So next time, I recommend it.

Your whisper in the night
the Bat


Children of the night... What music they make.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo