True, the NVidia script will check if pre-built modules exist.
But if they don't, it only needs the kernel source *headers*
provided with each kernel, as previously noted.
From NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/makefile:
KERNEL_SOURCES := /lib/modules/$(shell uname -r)/build
KERNEL_HEADERS := $(KERNEL_SOURCES)/include
You can unpack the nvidia source using
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -a -x
(note: -a accepts the license)
-Bob Arendt
Kim Lux wrote:
If you are implying that the Nvidia driver installs without source, you
are partially wrong in the general and totally wrong in this case. The
Nvidia driver DOES install without kernel source code on common kernels,
ie ones that the Nvidia team has compiled a kernel for and included in
the install pack.
However, if you read the driver fine print, you will find that if your
kernel version isn't supported, you need to have kernel source installed
in order to build the kernel. That is precisely what the Nvidia
"install" tool does.
Thus, I DO need kernel source to get an Nvidia driver running with
2.6.9-1.667 as I highly doubt Nvidia had included a driver for this
kernel in their install pack.
On Fri, 2004-11-05 at 15:21 -0800, Per Bjornsson wrote:
On Fri, 2004-11-05 at 14:01, Kim Lux wrote:
BTW: Where did you get kernel source from ?
As per the usual answer here, you really shouldn't need it just to build
drivers. I think that Nvidia have picked up that clue by now, all even
mildly sane distros have something useful under
/lib/modules/<kernelversion>/build (be it a symlink or a real directory
with the needed files).
If you actually want the source for building a custom kernel, that's a
legitimate use of course, and then there's instructions for how to get
the Fedora-patched source tree from the kernel SRPM in the distribution
release notes.
I've been running in VESA mode for 3 weeks now.
The nv driver, while not providing any 3D acceleration, should be _much_
better than using a vesa driver in terms of usable video modes etc...
You might want to use that as a backup instead.
Best regards,
Per
--
Per Bjornsson <perbj@xxxxxxxxxxxx>
Ph.D. Candidate, Department of Applied Physics, Stanford University