PDA

View Full Version : [ubuntu] NVIDIA GeForce Driver



FlyingPies155
April 14th, 2013, 01:19 PM
I'm trying to install the GeForce 8400 GS driver, and it can't find the kernel path.
I found the kernel source in /usr/include/linux, so I have to put in --kernel-source-path /usr/, but it says that's an invalid path.
Is there another way to do that or something?

MAFoElffen
April 14th, 2013, 05:13 PM
Latest instructions from my sticky:
http://ubuntuforums.org/showthread.php?t=1743535&p=12397950#post12397950

Current default kernel source_path for nvidia is /lib/modules$/(uname -r)/build/include/ (which installs when you install build-essentials)... Now deprecated was the path /usr/src/$(uname -r). No longer used/current with current Linux formats. It builds a kernel module (kmod)...

Notes:
- Make sure you have the linux-header-<version> from the kernel you are running.
- Then ensure you have the required kernel source packages installed such as build-essentials
* all noted in instructions...

bogan
April 14th, 2013, 06:53 PM
Hi!, MAFoElffen,

I think there is a typo in your Post:
Current default kernel source_path for nvidia is /lib/modules$/(uname -r)/build/include/ (which installs when you install build-essentials)... Now deprecated was the path /usr/src/$(uname -r) That should be:...modules/$(uname -r) and the prior path should be: "/usr/src/linux-headers-$(uname -r)/include".

Chao!, bogan.