SEARCH

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

You are not logged in.

#1 2012-12-07 02:43:34

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 592

Help with installing latest nvidia drivers

Hi there everyone,

I got into the Steam linux beta and before I break down and install a *buntu distro for compatability's sake, I thought I'd give it a shot in #! first.

The first thing I need to do is get the latest nvidia drivers.  I found this howto, but it's almost two years old now.  I was hoping for more current instructions on getting the latest available drivers in the repos.

Thanks for your time!

Offline

Be excellent to each other!

#2 2012-12-07 04:53:54

hhh
Caught in the Vortex
Registered: 2010-08-04
Posts: 1,885

Re: Help with installing latest nvidia drivers

This has always worked for me (enable non-free repo)...

sudo apt-get install nvidia-glx nvidia-kernel-dkms nvidia-xconfig nvidia-settings

Run nvidia-xconfig as root when it's all done installing, then reboot and run nvidia-settings as root to set your resolution (second item down in the left hand menu, IIRC) and save it as xorg.conf (I don't merge w/ the old file, there's a checkbox). dkms rebuilds the module automatically when the kernel updates. Post back if there are problems.

Offline

#3 2012-12-07 11:22:10

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 798

Re: Help with installing latest nvidia drivers

Hi schwim,

you should be able to install them by using smxi, have a look at VastOne's how-to...


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#4 2012-12-07 12:31:10

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 592

Re: Help with installing latest nvidia drivers

Thanks very much for your help, hhh.

I've gotten this far:

hhh wrote:

This has always worked for me (enable non-free repo)...

sudo apt-get install nvidia-glx nvidia-kernel-dkms nvidia-xconfig nvidia-settings

Run nvidia-xconfig as root when it's all done installing, then reboot

And am now stuck in the cli.  If I try to manually startx, I get the following:

FATAL: Module nvidia not found.

Fatal server error:
no screens found

xorg.conf is:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
#Generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"

Section "InputDevice"
#Generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection
Depth 24
EndSubSection
EndSection

(any typos are likely from hand typing from other computer)

Any ideas on how I might get it up and running?

Thanks for your time!

Offline

#5 2012-12-07 17:04:02

hhh
Caught in the Vortex
Registered: 2010-08-04
Posts: 1,885

Re: Help with installing latest nvidia drivers

You ran nvidia-xconfig as root and rebooted?

If still no joy, I'd uninstall those 4 packages and run autoremove, delete /etc/X11/xorg.conf and reboot, you should be running with the open source driver again. Then use smxi as suggested or install the kernel headers and try again...

$ sudo apt-get install linux-headers-$(uname -r)

Offline

#6 2012-12-07 18:29:31

stolid
#! CrunchBanger
Registered: 2012-09-06
Posts: 206

Re: Help with installing latest nvidia drivers

I can't help with nvidia, but when you do get that fixed. I'd use the following script to install Steam (it's what I did): http://kanotix.com/files/fix/install-steam-wheezy.sh
Source: http://steamcommunity.com/app/221410/di … 613928324/


Registered Linux User #555399
crunchbox:     Phenom II X6 1055T | 8GB RAM | OCZ Vertex 4 128GB | Radeon 7870XT | Win7 / #! 11 (i3 WM)
lambdacore:     4x Opteron 8431 | 16GB RAM | 2x1TB mirrored (ZFSoL) | Debian 7 (headless)
crunchtop:     Acer Aspire 1410 11.6" | 2GB RAM | Crucial M4 128GB | #! 11 (i3 WM)

Offline

#7 2012-12-08 22:34:47

Gillen
New Member
Registered: 2010-12-23
Posts: 2

Re: Help with installing latest nvidia drivers

I don't have !# installed at the moment but I have been messing with debian wheezy, plan to have a go with !# tomorrow. Anyway this is how I figured out how to install the nvidia drivers for Debian Wheezy.

Using a text editor as root edit your sources.list found in /File System/etc/apt

In debian wheezy I open a terminal and launch gedit like this

gksu gedit

(The system asks for the root password)

To the sources.list and add "non-free contrib" to the end of each wheezy repo line

deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src http://security.debian.org/ wheezy/updates main non-free contrib

save the file.

Open a terminal enter "su", (the system will then ask you for your root password).

Then enter "apt-get update"

Ok now I quit terminal and open Synaptic and hit the reload button.

Then in Synaptic select

nvidia-kernel-dkms
nvidia-settings
nvidia-xconfig

Hit Apply

Synaptic will the download all the required packages build and install them.

Close Synaptic

Open a terminal enter "su" followed by the root password.
Then enter "nvidia-xconfig"

Then reboot.

Your nvidia drivers should be installed and configured correctly.

The steps I do in synaptic could be done in the terminal under root but I always do it the way it's how I first figured it out and it's stuck. :-)

My card is a 9600GT

Hope this helps.

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.

Debian Logo