LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   header files and nvidia drivers (https://www.linuxquestions.org/questions/linux-software-2/header-files-and-nvidia-drivers-187129/)

Zoko 05-28-2004 07:30 PM

header files and nvidia drivers
 
I am trying to get Never Winter Nights to work along with UT 2004 and I have figured out that my problem is the drivers I am using.

I've got a nvidia fx 5800 and I am trying to upgrade my kernel headers. Originally my Slack 9.1 install came with the 2.4.22 kernel but now I am using the 2.6.5 and I am getting errors in the installer for the nvidia drivers that it cant find the right headers even when I point it to /usr/src/linux with --kernel-source-path=

So i guess my question is how can I update my kernel headers and get this to work?

_john_i_ 05-28-2004 08:17 PM

You should never replace the kernel headers on a live system, even after upgrading to the newer kernel. Your system should have the kernel headers that your glibc was compiled against.

If you compiled your own 2.6 kernel, then the nivida drivers should use the kernel headers within the source tree where the kernel was installed. If you installed the 2.6 kernel from a binary package somewhere, you will probably have to unpack the kernel source for the version of your kernel.

What compile error are you getting from nvidia drivers? I've installed the latest nvidia drivers on a Slackware 9.1 system upgraded to 2.6.x without incident.

Zoko 05-28-2004 08:35 PM

Here is the /var/log/nvidia-installer.log

---------------------------------------------------------------------

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/usr/src/linux'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

shanenin 05-28-2004 09:31 PM

Are you using the same kernel source that you compiled your working kernel from? The nvidia drivers seemed extremely picky, I had erased my original kernel source, so I downloaded the same source version as my woking kernel, that did not work. I had to recompile from the source that I downloaded, and the nvidia drivers install right away.

_john_i_ 05-28-2004 10:23 PM

You may find this thread helpful:

http://www.linuxquestions.org/questi...&postid=869303

Zoko 05-29-2004 06:39 PM

OK, after fooling around I gon the Nvidia installer to see my source and it compiled the driver. It said everything was successful too! I .eided my /etc/X11/XF86Config as instructed to in the help file the nvidia installer points me to.

I did a startx and it seemed like everything was fine.... then I got random characters some were flashing.. :(


All times are GMT -5. The time now is 11:28 PM.