And I have installed all of the following via yast:
compiler gcc,
program make and
package kernel-source
package kernel-syms
How ever I get the following error message from the nVidia package installer when I try to run it:
The kernel header file '/lib/modules/2.6.37.7-9-default/build/include/linux/kernel.h' does not exist.
Did I do something wrong/am I missing something here? Not sure if it matters but I am on run level 3 and logged in as super user as the page also says. Using OpenSUSE 11.1 64bit
I just looked through the repos and did not find a kernel v 2.6.37. Did you upgrade/update your kernel from a source outside the repos? If so, you will need to get the source files for that kernel. It looks like the kernel source available in the repos is 2.6.27, 2.6.29, 2.6.30 and 2.6.31.
The kernel and kernel-source version have to match.
It is the .27 - sorry typoed it when I copied it over (using my netbook to post as I am still setting up my Sager darn tiny keyboard!) will fix in first post.
Simplest way to solve all this, is starting the software installer, Pattern View, select Linux Kernel Development. This will install all needed files to install the NVidia driver ‘the hard way’. If you managed to install, don’t forget the ‘sax2 -r -m0=nvidia’…
I installed Linux Kernel Development package via YaST and I am still getting the same error message when trying to install the nvidia driver Other suggestions?
Assuming you have the Matching kernel packages (Check the version numbers carefully)
This is my method:
Alright so here is how to install the nvidia driver manually, in case the one in the repo doesn’t work or u just want to use the latest.
Go to Yast>Software>Software Management
Search for and install if you don’t have these:
make
gcc
kernel-source
Now download the latest Nvidia driver:
Place the file in your /home/username
Now restart and at the boot screen, pause the boot by moving the down button, then move back up and clear any text in the boot arguments by holding backspace. Then just type the number: 3
At the login
Type “root” then enter and then your root password and press enter.
now type
cd /home/username
*Now remember you can use the {TAB} key to auto complete
so type:
sh NVIDIA{TAB}
and the whole file name should auto complete
eg: sh NVIDIA-Linux-x86-185.14.09-pkg1.run
Follow the installer and let it compile the kernel module for you.
Say Yes to everything
Use TAB to move around
reboot
I followed all the instructions in your guide as listed and I still get the
The kernel header file '/lib/modules/2.6.27.7-9-default/build/include/linux/kernel.h' does not exist.
Error message from the nvidia 190.18 binary file when trying to run it. (I can confirm the file works - I just installed with it in Fedora11 and Ubuntu 9.04)
I am open to suggestions still… but for now I am admitting default and just installing the version from the repos But I would really like to extra performance the beta drivers grant