NVIDIA driver (nvidia-kernel-source)
>> I can see a nvidia module in /lib/modules:
>> /lib/modules/2.4.18-bf2.4/kernel/drivers/video/nvidia.o
>
>That's the kernel module, you also need the glx driver.
>What does "dpkg -l nvidia-glx" return?
It wasn't installed. I installed it, but it doesn't work yet.
Annoying is it appears that I'm pretty close now; the 'nvidia'
module isn't "unused" anymore (when I check it out with 'lsmod')
and "XFree86.0.log" doesn't give me any errors. When I 'startx'
I get a blank screen with a square cursor at the top left.
-----
Newbie Question:
Why wasn't the "nvidia-glx" package installed when I grabbed 'nvidia-kernel-source'?
I thought that the whole idea of 'apt-get' was to avoid having to think about dependencies and thus avoid the dependency-frustration that is a characteristic of RPM-based GNU/Linux distros.
I can't help think this is bug, but don't see a bug report on it. Is it a bug?
-----
Is it possible that 'nvidia-glx' has to be installed before 'nvidia-kernel-source'
or... does it have to be installed before the interface to the driver is installed
(with "dpkg -i nvidia-kernel-2.4.18-bf2.4_1.0.4496-2_i386.deb")?
I have to try some more things and do more thinking.
In the mean time I figured I'd post the relevant section of my install log. I can't help wonder if I'm missing something stupid...
==================================================
BINARY NVIDIA DRIVER
http://packages.debian.org/unstable/x11/nvidia-kernel-source.html
# apt-get install debhelper
# apt-get install nvidia-kernel-source
# uname -r # returns kernel version
# apt-cache search kernel-headers # check to see if header is there
# apt-get install kernel-headers-2.4.18-bf2.4 # get kernel headers
# cd /usr/src
# mkdir local
# tar zxvf nvidia-kernel-source.tar.gz -C /usr/src/local/ # unpack kernel src
NOTE1 - It would be better to unpack into '/usr/local/src'
ie. # tar zxvf nvidia-kernel-source.tar.gz -C /usr/local/src
# export KSRC=/usr/src/kernel-headers-2.4.18-bf2.4
# export KVERS=2.4.18-bf2.4
# cd /usr/src/local/modules/nvidia-kernel # see NOTE1
# cat /proc/version # get compiler, release and version info
2.4.18-bf2.4 kernel compiled w/ gcc-2.95
# apt-get install gcc-2.95
The following NEW packages will be installed:
gcc gcc-2.95 gcc-3.3
in '/usr/src/local/modules/nvidia-kernel'
# debian/rules binary_modules # watch it compile :)
# adduser michael video
# cd /usr/src/local/modules
# apt-get install nvidia-kernel-common # package required to avoid 'dpkg' having a fit
# dpkg -i nvidia-kernel-2.4.18-bf2.4_1.0.4496-2_i386.deb
---
(Reading database ... 31072 files and directories currently installed.)
Preparing to replace nvidia-kernel-2.4.18-bf2.4 1.0.4496-2 (using nvidia-kernel-2.4.18-bf2.4_1.0.4496-2_i386.deb) ...
Unpacking replacement nvidia-kernel-2.4.18-bf2.4 ...
Setting up nvidia-kernel-2.4.18-bf2.4 (1.0.4496-2) ...
---
# apt-get install nvidia-glx # get (nvidia) binary driver
MODIFY '/etc/X11/XF86Config-4':
---------------
--SNIP--
Section "Module"
# Load "GLcore" # REMOVED nvidia
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri" # REMOVED nvidia
--SECTION REMOVED--
Section "Device"
Identifier "NVIDIA GeForce 4"
Driver "nvidia"
# Identifier "Generic Video Card"
# Driver "nv"
EndSection
--SECTION REMOVED--
Section "Screen"
Identifier "Default Screen"
# Device "Generic Video Card"
Device "NVIDIA GeForce 4"
Monitor "Generic Monitor"
--SNIP--
---------------
-- System Information
Software:
Debian Release: testing/unstable
Kernel: Linux 2.4.18-bf2.4 (root@zombie) (gcc version 2.95.4 20011002
(Debian prerelease)) #1 Son Apr 14 09:53:28 CEST 2002
Hardware:
Athlon 2200 XP
ASUS A7N8X Motherboard
NVIDIA GeForce 4
512 MB RAM
Reply to: