I have read a lot and tried a lot - nothing worked for me.
I have a Dell Inspiron 8200 (1600x1200) with a Geforce MX440 Mobile. Installing the driver the "easy way" (
sudo apt-get install nvidia-current) leaves me stuck with a tiny non-changeable resolution (1024x768 or 800x600). So I went for the hard way:
sudo apt-get update
sudo apt-get dist-upgrade
- blacklisted the nouveau-driver
- downloaded and run (
sudo sh ...) the Nvidia 96 file ending
pkg1.runwhich is the right one for me as I read somewhere.
This lead to an error:
ERROR: The kernel header file '/lib/modules/3.08.0-35-generic/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.08.0-35-generic/build' have not been configured.
How can I configure the kernel source files? There is nothing like
sudo make-prepare or
sudo get-apt kernel-devel right?
A workaround suggested to copy the
cp -v /usr/include/linux/version.h /lib/modules/$(uname -r)/build/include/linux) which lead to this error:
ERROR: If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivalent nvidia-installer command line option. Depending on where and how the kernel sources (or the kernel headers) were installed, you may need to specify their location with the SYSSRC environment variable or the equivalent nvidia-installer command line option.
Where are the kernel sources installed?
I even tried to run the
--kernel-source-path /usr/include/linux (where version.h and many other
.h Files are) as parameter but this lead to:
ERROR: The kernel header file '/usr/include/linux/include/linux/kernel.h' does not exist (...)
Has anybody an idea?