LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-26-2006, 02:51 AM   #1
OzwaldoRinaldo
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
Nvidia drivers


Alright I am pretty new to linux but I am not a fool, so here is my question. I installed Debian, then went to nividia.com and clicked download drivers, graphics drivers->Geforce->LinuxIA32. It says to shutdown X Windows, and i have no idea how to do this. My gui seems to be gnome? where are the x windows commands? Do I have to pay to use these free drivers? I read some stuff by googling that mentioned the "non-free" packages? ...and how do i run the NTP support it says to run when i click sync clock from internet? thanks in advance
 
Old 01-26-2006, 05:08 AM   #2
sridhar11
Member
 
Registered: Dec 2002
Location: us
Posts: 108
Blog Entries: 360

Rep: Reputation: 15
follow this nice tutorial how to install and configure nvidia drivers

http://www.debianhelp.co.uk/nvidia.htm

If you want to set you machine to set time sync you need to install ntpdate

#apt-get install ntpdate

this is automatically sync your time to local
 
Old 01-26-2006, 07:40 AM   #3
OzwaldoRinaldo
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
that tutorial doesn't work, when i try 'apt-get install nvidia-kernel-common module-assistant' it says 'E: couldn't find package nvidia-kernel-common' i am using debian 3.1r1 the newest release, and when i do uname -a it says 2.4.27-2-386
 
Old 01-26-2006, 08:27 AM   #4
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
You will need to edit your sources.list (/etc/apt/sources.list) so that it might include lines like these:

Code:
deb ftp://download.xs4all.nl/pub/mirror/debian/ stable main non-free contrib
deb-src ftp://download.xs4all.nl/pub/mirror/debian/ stable main non-free contrib
(But then include a server close to you)

After that, run apt-get update.
After that, apt-cache search nvidia-kernel will give you a list of the modules you may add.

Edit: Really nice of them to forget mentioning that. It seems to me that most of the people who are installing nvidia drivers are those with a fresh install.

Last edited by esje; 01-26-2006 at 08:29 AM.
 
Old 01-26-2006, 09:25 AM   #5
LeftyAce
Member
 
Registered: Oct 2005
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Or you can run the nvidia package you downloaded. That's what worked for me. Log into a text session ( hit <ctrl><alt><F1>) as root. Then type "telinit 3" That will end the X session and give you a text-only session. Then just run the nvidia package you downloaded.

Last edited by LeftyAce; 01-26-2006 at 09:28 AM.
 
Old 01-26-2006, 11:51 AM   #6
sridhar11
Member
 
Registered: Dec 2002
Location: us
Posts: 108
Blog Entries: 360

Rep: Reputation: 15
they have menctioned about that "main contrib non-free"
 
Old 01-26-2006, 11:55 AM   #7
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
I believe for the nvidia installer to work you need kernel-headers for your kernel. Otherwise the debian way guide should work. See http://wiki.serios.net/wiki/Main_Page section 1.2. Have fun. Be sure your nvidia card is supported by the latest driver. Some times you need an older driver.NB I think ctl-alt-F1 from desktop will get you to log in prompt without X running.

Last edited by lestoil; 01-26-2006 at 11:58 AM.
 
Old 01-26-2006, 10:26 PM   #8
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Is there a reason to do it the "debian way" rather than just running the nvidia installer (after satifing the header and other dependincies.)
 
Old 01-26-2006, 11:07 PM   #9
OzwaldoRinaldo
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i still can't get these drivers installed. I added the two things to sources.list, then rebooted into recovery mode and changed to usr/src. I have already downloaded kernel-source-2.6.8 to here. I put up a screenshot of this directory (usr/src), but the forum says i can't post links until i make at least 5 posts. I don't have that many questions yet, nor do i have the knowledge to help anyone else! anyway, i do apt-cache search to find nvidia kernels, and none are 2.6.8, so i download one that looks appropriate though lower version level. It ended in k7, which was something i had to download earlier. i witch to the kernel-source-2.6.8 folder and do make mrproper (<- what is mrproper?) then switch back to where i have the nvidia driver downloaded and do an sh on that. I even tried doing the --kernel-source-path option they recommend. it won't work.

it tries to download an interface or something from nvidia ftp server; this fails. it doesn't detect anything preinstalled so it trys to build something from scratch; this fails. it says it can't find the source? i don't know what is going on. Hopefully you guys can help, for now i am going to try ubuntu
 
Old 01-26-2006, 11:48 PM   #10
bluejon67
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
try......

I think you may have to rebuild your kernel before the nVidia drivers can compile themselves and install.

Google or look on here, cos theres lots of help on re-building your 2.6 kernel.

Top tip (I think) is that when you compile modules for your kernel, do not include the nVidia module. I did this originally, and couldnt get hardware acceleration to work. Then, after downloading the 8178 nVidia binary, the installer complains, and eventually uninstalls your kernel module.

Dont worry about cocking up your first kernel re-compile. As long as you follow the good advice about keeping an entry in /etc/lilo.conf or /boot/grub/menu.lst for your original working kernel you will be ok. I think I must have done 20 kernel compiles before I began getting it right 75% of the time. When you do get it right, or close to right, keep and re-name your half decent .config file to something else, and put it somewhere safe. It will give you a start point for when/if something unexpected happens, an it usually does lol

Hope this helps..... :-)

mrproper is a powerful cleaning product from Finland, by the way. I imagine its rather like typing make mrmuscle if Linus had been English.

Last edited by bluejon67; 01-26-2006 at 11:54 PM.
 
Old 01-27-2006, 01:48 AM   #11
OzwaldoRinaldo
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Wow, that reply is exactly the reason I'm glad I switched to Ubuntu, which is Debian based but loaded with functionality for a casual user like myself. I fully endorse Ubuntu.
 
Old 01-27-2006, 04:04 PM   #12
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Type "uname -r" in a terminal to get your kernel version. You can also install a kernel for your processor, for 2.6 kernel type "apt-get update" "apt-get install kernel-image-2.6-k7" for AMD k7, "apt-get install kernel-image-2.6-686" for Intel 686...etc.
Once you reboot into the new kernel do as LeftyAce above says then, "apt-get install linux-headers-2.6-k7" change k7 to the version you installed.
Then "sh NVIDIA-Linux-....."
 
Old 01-27-2006, 06:39 PM   #13
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
As RanDrake said you just need to install the kernel headers (not source) and then use the nvidia installer. As you may have noticed no one posted why the "derbian" way would be better.
With the nvidia installer, you don't need to mess with modules or compile or patch the kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
Nvidia Drivers Graphics and motherboard drivers help sithyoda Linux - Newbie 4 10-01-2004 06:32 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 07:57 AM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration