Results 1 to 7 of 7
I know there was a topic on this before, but even with the search I can't seem to find it right now and it didn't help me at the time.
...
- 08-13-2005 #1Just Joined!
- Join Date
- Apr 2005
- Location
- West Australia
- Posts
- 14
NVidia gfx driver in a fresh Debian install
I know there was a topic on this before, but even with the search I can't seem to find it right now and it didn't help me at the time.
Distro: Debian Sarge 3.1
Kernel: 2.6-k7
Graphics card: Leadtek NVidia 6600TD.
The problem: I can't get to X, because of my NV drivers, or lack thereof. I found a guide and followed it, adding "unstable/contrib non-free" variants of each server in my apt-sources.
thenthenCode:apt-get install nvidia-kernel-source nvidia-kernel-common
thenCode:apt-get install kernel-headers-`uname -r`
this all goes well. Then I untar the drivers, enter:Code:export KVERS=`uname -r` export KSRC=/usr/src/kernel-headers-`uname -r`
it whinges at this point. Before I even get to the depmod.Code:dpkg -i nvidia-kernel-`uname -r`*deb depmod -a
Now, there's a few more steps, but I want this bit sorted first. Please note that I am totally new to Debian, and not too literate with Linux outside of GUI, so if you tell me to do something, can you also tell me HOW? (I find this to be the biggest problem I have with getting help, people assume I know how to do everything.)
Thanks.
- 08-13-2005 #2Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
Make sure you untar it in /usr/src :this all goes well. Then I untar the drivers, enter:
Code:
dpkg -i nvidia-kernel-`uname -r`*deb
depmod -a
it whinges at this point. Before I even get to the depmod.
cd /usr/src
tar xvzf nvidia-kernel-source.tar.gz
Next do:
cd modules/nvidia-kernel
debian/rules binary_modules
cd ..
dpkg -i nvidia-kernel-`uname -r`*deb
depmod -a
apt-get install nvidia-glx nvidia-glx-dev xserver-xfree86
Now just configure(dpkg-reconfigure xserver-xfree86) or edit X:
su
vi /etc//etc/X11/XF86Config-4
press insert
In the section "mudule" remove:
Load "dri"
Load "GLCore"
and add:
Load "glx"
In the section "Device" remove:
Driver "nv" (or Driver "vesa")
and add:
Driver "nvidia"
...reboot or restart X
- 08-13-2005 #3Just Joined!
- Join Date
- Apr 2005
- Location
- West Australia
- Posts
- 14
ok, now have an output for you, and the news my kernel is 2.4.27-2-k7 should check these things first. anyway. output:
now, right now i cant access internet while in debian, as this pc is away from the broadband and is using a dial-up in windows to post this, so i cant apt-get the 2.6 kernel and a new nvidia kernel. (unless someone can tell me how to get debian to dial up while in shell)Code:/usr/src/modules# dpkg -i nvidia-kernel-`uname -r` *deb dpkg: error processing nvidia-kernel-2.4.27-2-k7 (--install) cannot access archive: no such file or directory (reading database... 96305 files and directories currently installed) preparing to replace nvidia-kernel- 1.0.7174-4 (using nvidia-kernel-_1.0.7174-4-i386.deb)... unpacking replacement nvidia-kernel... setting up nvidia-kernel (1.0.7174-4)... errors were encountered while processing: nvidia-kernel-2.4.27-2-k7
- 08-13-2005 #4Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
You need an internet connection for this,
Originally Posted by Cruithne
Apt-get take it's packages from a server(resporitory).
see: http://www.aboutdebian.com/modems.htm
- 08-13-2005 #5Just Joined!
- Join Date
- Apr 2005
- Location
- West Australia
- Posts
- 14
This i knew. I did the apt-get commands while i was connected, but right now i'm not, so i'm stuck with what's on my pc until around monday.
what i'll do, is come monday, i'll reinstall deb clean again, and run through the entire procedure again and see if i still get errors.
- 08-13-2005 #6Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
Don't.
Originally Posted by Cruithne
Just restart were you left...
- 08-13-2005 #7Just Joined!
- Join Date
- Apr 2005
- Location
- West Australia
- Posts
- 14
well, the main point is do i need to be connected to dkpg the kernel?


Reply With Quote
