LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2005, 01:35 PM   #1
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
Another Nvidia driver problem


Couldn't find any existing thread solving my problem.
I'm using Xandros 3.0 but I'm posting thjis in a debian forum since it's a debian based distro...
After downloading the latest nvidia driver and done an apt-get on the source code for the kernel I tried to run the installer but it just won't work. It said something about I should make sure I have the same versions on my source code and the installed kernel. When I only extracted the nvidia source code though and tried a make install I got a bit more info. It said something like "unable to determine target kernel version". Why this? Xandros already had some nvidia modules installed with it but just editing the xorg.conf (not XFree86 here... ) to an nvidia configuration did not work. But does not matter since I would like to be able to compile the latest drivers from nvidia...
Anybody have a clue?
 
Old 01-28-2005, 01:40 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
There is a page here: http://home.comcast.net/~andrex/Debi...tallation.html that describes several routes to installing the nvidia module.

What I did was recompile my kernel. There is a sticky at the top of this forum showing how to do that. Once you recompile the kernel, you can run the latest nvidia installer from nvidia.com.
 
Old 01-28-2005, 05:50 PM   #3
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
You were right, re-compiling the kernel solved the problem, I just hope I got compiled with the right options...
But why couldn't the version be determined before I had compiled it myself, what happens during the normal install that is different?
Ahh well, my problem is solved for this time anyway... Thanks.
 
Old 01-29-2005, 12:13 PM   #4
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
One problem consists though. I have to re-install the nvidia driver every time I reboot. If I try to enter x without installing the driver it fails to load X claiming that no screens are found but after installing, everything works smothely. I have had this problem once before on my old debian system but I can't remember how I solved it nor could I find any answer for my question searching the forums here and on nvidias site....
 
Old 01-29-2005, 10:37 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Edit /etc/modules and add "nvidia" so that the module is automatically loaded upon reboot. Good Luck!
 
Old 01-30-2005, 09:31 AM   #6
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Original Poster
Rep: Reputation: 15
Of course, that did it. How stupid of me not to think of that Ahh well, thank you for your help m_yates!
 
Old 01-31-2005, 06:06 AM   #7
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
this always worked for me
 
Old 01-31-2005, 11:14 PM   #8
giosue_c
Member
 
Registered: Mar 2004
Location: Kansas
Distribution: Debian!
Posts: 39

Rep: Reputation: 15
I have had a similar problem before. What I realized is that it wasn't the kernel source that I wanted... just the kernel headers.
I use a stock kernel from the installer. It is the following

minerva:~# uname -r
2.6.8-1-386

When i did it the wrong way I had installed something like the following with apt-get (kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches)

apt-get install kernel-source-2.6.8

but that kernel source doesn't consider all the things I have compiled in. What I need are the headers specific to my kernel which can be gotten like this (kernel-headers-2.6.8-1-386 - Linux kernel headers 2.6.8 on 386)

apt-get install kernel-headers-2.6.8-1-386

That is all you need. Nvidia installer will run now.
 
Old 02-01-2005, 03:42 AM   #9
daft
LQ Newbie
 
Registered: Jan 2005
Distribution: Debain
Posts: 25

Rep: Reputation: 15
OMG the Nvidia installer is not the debian way
apt-get install nvidia-kernel-source and read the readme
 
Old 02-03-2005, 09:22 AM   #10
giosue_c
Member
 
Registered: Mar 2004
Location: Kansas
Distribution: Debian!
Posts: 39

Rep: Reputation: 15
Yea, I tried that originally, but my hardware was too new for the version of the nvidia drivers debian distributes. I had just bought a brand spankin new 6600 GT AGP and so I had to go with nvidia binaries. Trust me, I love the debian way, but I don't mind managing a few programs on my own like Nvidia drivers and java development type stuff.
 
  


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
Nvidia driver problem kevman Linux - Hardware 8 01-17-2005 09:08 PM
problem nvidia driver !!! rumi Linux - Hardware 1 05-08-2004 02:21 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
NVidia, Driver Problem teckniel Red Hat 2 04-20-2004 01:00 AM
driver problem... NVidia psyklops Linux - General 5 11-23-2002 04:51 AM

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

All times are GMT -5. The time now is 06:07 AM.

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