I downloaded the appropriate driver from here: http://www.nvidia.com/object/linux-display-ia32-173.14.36-driver.html
So I logged into the console as root and typed " sh NVIDIA-Linux-x86-173.14.36.pkg1.run" to run the installer and I received an error saying that GCC or CC or something wasn't found. After a bit of trawling through the internet I typed the command "export CC=gcc4.6.3" (I'm not really sure what it actually does) and ran the installer again
This time, a different error message:
- Code: Select all
The kernel header file '/lib/modules/3.5.0-sabayon/source/include/linux/kernel.h' does not exist.
The most likely reason for this is that the kernel source path '/lib/modules/3.5.0-sabayon/source' is incorrect.
Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.
If you know the correct kernal source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
I went onto the Sabayon package website and found a version of the Sabayon Linux kernel 3.5 (when I typed "uname -r" it came up with "3.5.0-sabayon") from the following link: http://packages.sabayonlinux.org/show/linux-sabayon,22832891,portage,arch,0,standard
I extracted the file into a directory on the desktop and went back into the console to try and install the driver. I had to use the '--kernel-source-path' command line option to point to this folder.
A different error message then appeared, saying:
- Code: Select all
The kernel header file (folder)/include/linux/version.h does not exist. The most likely reason for this is that the kernel sources files in (folder) have not been configured
(I couldn't remember exactly what the folder was but it was the folder I had pointed it to)
I found the a version.h file (already on the system when I installed Sabayon) in "/lib/modules/3.5.0-sabayon/source/include/linux/kernel.h"
I copied this file into the same location as the kernel.h file in the downloaded kernel.
Running the driver installer one more time, I receive this error message:
- Code: Select all
ERROR: Unable to determine the NVIDIA kernel module filename
I'm really at a loss as to how to install this damn driver!
I'm guessing I might have to install the kernel files "properly", but I'm not sure since I know nearly nothing about using linux; so how do I do that exactly?
Also, are there any actual benefits of installing the proper Nvidia driver rather than just using the one already installed? Will I see a vast increase in graphics performance by installing it?
Note: The PC with Sabayon on it is not connected to the internet, so I can't download stuff directly onto it, I have to download it from my other PC and transfer it over via USB stick



