install nvidia driver

staggerweed

:roll: iv just downloaded and installed etch debian on my desktop iv put kde in it and alls well but how do i install the nvidia driver for my graffics card on it ? i downloaded the driver but ween i try to install it ... it tells me i must be in root and i must disable x server...how
thanks



db
db's picture
Re: install nvidia driver

goto console: ctrl-alt-F1

become root: login to the console as root

disable X: init 3

execute the bin file. You probably have to have at least the kernel headers installed, because nvidia will build a driver based on your kernel.

When it is installed, type init 5;

That's it.

--

Cheers,
Dave Brown



schultmc
schultmc's picture
Re: install nvidia driver

Debian doesn't use the different init settings by default. The easiest way to setup the nvidia drivers in Debian is to use the nvidia debian packages.

http://tinyplanet.ca/~lsorense/debian/debian-nvidia-dri-howto.txt appears to be a fairly detailed HOWTO.



staggerweed
Re: install nvidia driver

i dont apper to have the contrib non-free in my etc/apt/sources list so how do i get them and how do i put them in?/and is there eny way i can just download somthing and install it and get the same afect? thanks



schultmc
schultmc's picture
Re: install nvidia driver

Edit /etc/apt/sources.list and add contrib and non-free after main

I don't know if there are precompiled drivers available - I always use the drivers that come with X.



staggerweed
Re: install nvidia driver

ok that worked but i did evrything in the directions and it comes up short telling me that nvidia-glx is not avalible no source so now what?/



db
db's picture
Re: install nvidia driver

Delete Debian and install Fedora? Just kidding. I leave the question to Michael.

--

Cheers,
Dave Brown



clivesay
Re:install nvidia driver

If I remember right, you have to apt-get nvidia-glx. I'm thinking that's in the debian repos. Try having a look. If you don't want to mess with it and you're open to something other than pure Debian, I encourage you to try Mepis. The last stable version is 3.4.3 and it built on Etch. You can setup your Nvidia or ATI at the time of installation. Did your 'no source' error come from apt-get?

Chris

--

No Computer Left Behind, Inc

Ensuring that every person who needs a computer has the opportunity to own a computer.



staggerweed
Re:install nvidia driver

apt-get install nvidia-glx nvidia-glx-dev xserver-xfree86
Reading package lists... Done
Building dependency tree... Done
Package nvidia-glx is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package nvidia-glx has no installation candidate
debian:/home/brian#
this is what hapens ...



clivesay
Re:install nvidia driver

It looks like in Debain testing it's actually nvidia-glx-legacy and nvidia-glx-legacy-dev. I'm not sure how new yuor video card is. 'legacy' makes me think this is supporting older cards. There is 'nvidia-glx' in unstable.

Good luck

Chris

--

No Computer Left Behind, Inc

Ensuring that every person who needs a computer has the opportunity to own a computer.



staggerweed
Re:install nvidia driver

how do i get the unstable source for apt



staggerweed
Re:install nvidia driver

i did it i did a google serch for apt unstable sources and got one that turned out to be for sarge but that didint matter it exsepted it and now i got my nvidia driver so i got 3d now thanks a lot for you pationts and help...thanks



schultmc
schultmc's picture
Re:install nvidia driver

staggerweed wrote:
how do i get the unstable source for apt

Edit /etc/apt/sources.list and replace "sarge" or "stable" with "sid" or "unstable" and run apt-get update. To actually upgrade to unstable, you'd need to run apt-get -f dist-upgrade.



schultmc
schultmc's picture
Re:install nvidia driver

staggerweed wrote:
i did it i did a google serch for apt unstable sources and got one that turned out to be for sarge but that didint matter it exsepted it and now i got my nvidia driver so i got 3d now thanks a lot for you pationts and help...thanks

Do you remember what you had to do to get it to work? That would be helpful information for anyone else who runs into similar issues.



clivesay
Re:install nvidia driver

Don't know what his experience is but before Mepis set it up automatically it was simply 'apt-get install nvidia-glx' restart X and nvidia was ready to go.

Chris

--

No Computer Left Behind, Inc

Ensuring that every person who needs a computer has the opportunity to own a computer.



staggerweed
Re:install nvidia driver

ok i did a google serch fo apt sources non-free and a google serch for apt unstabel sources for debian ... then i copyed and pasted those sources in kpackage then i clicked update in kpackage then i restarted the computer just to make sure that it was all in there... then i followed the directions at http://tinyplanet.ca/~lsorense/debian/debian-nvidia-dri-howto.txt and it solved the problems ...now it works .... also dont be suprised if at the last step of the derections at http://tinyplanet.ca/~lsorense/debian/debian-nvidia-dri-howto.txt dont work as it states but just do it eneyway and ween you restart it should work it did for me...thanks



staggerweed
Re:install nvidia driver

here are the reps i added to kpackage if you want you can copy and past... deb-src http://mirror.ox.ac.uk/debian/ unstable non-free ... deb http://http.us.debian.org/debian/ testing main non-free contrib ... deb http://non-us.debian.org/debian-non-US/ sarge/non-US main non-free contrib ... deb http://security.debian.org/ stable/updates main contrib non-free ... deb http://www.debian-multimedia.org/ etch main ... deb http://ftp.us.debian.org/debian/ etch main contrib non-free ... deb http://http.us.debian.org/debian/ unstable main contrib non-free ... i hope this helps some of you



schultmc
schultmc's picture
non-us.debian.org is no

non-us.debian.org is no longer necessary. Other than that, I'd use the same server (like http.us.debian.org) and the same distro (stable/testing/unstable)

Something like:

deb http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free

You don't really need a deb-src line unless you're going to be building/rebuilding packages.