NVIDIA
Contents
Introduction to NVIDIA
Dependencies
Required
- Linux Kernel Source (Note: This package requires the kernel sources. If you have removed the kernel sources then I suggest that you build it again. No need for installtion though.)
- X Window System
Extra Options
If for whatever reason you're building inside of a chroot or not running the kernel you plan to use with the nVidia driver, also pass the following:
--kernel-source-path=[path to kernel source]
The default path is /lib/modules/`uname -r`/build.
You can also pass the following to disable building the kernel module:
--no-kernel-module
Non-Multilib
Download Source: | http://www.nvidia.com/object/linux_display_ia32_1.0-9755.html |
---|
x86
First we need to make the downloaded file executable:
chmod +x NVIDIA-Linux-x86-1.0-9755-pkg1.run
Install the driver with the following command (see above for more options):
./NVIDIA-Linux-x86-1.0-9755-pkg1.run \ --x-prefix=$(pkg-config --variable=prefix xorg-server) \ --no-precompiled-interface
x86_64
Download Source: | http://www.nvidia.com/object/linux_display_amd64_1.0-9755.html |
---|
Multilib
First we need to make the downloaded file executable:
chmod +x NVIDIA-Linux-x86_64-1.0-9755-pkg2.run
Install the driver with the following command (see above for more options):
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./NVIDIA-Linux-x86_64-1.0-9755-pkg2.run \ --x-prefix=$(pkg-config --variable=prefix xorg-server) \ --no-precompiled-interface
Pure64
NOTE: The nVidia installation script for 64-bit systems has the dynamic linker path hard-coded at /lib64/ld-linux-x86-64.so.2. If installing on a pure 64-bit system the dynamic linker will be installed in /lib. It is necessary to create a /lib64 directory and a symlink to /lib/ld-2.4.so before attempting to install the nVidia drivers.
It appears that this link MUST REMAIN after installing the nVidia drivers. This issue has been submitted to nVidia engineers for correction in future releases.
If you have a Pure64 system create a link so the path to ld.so is correct:
mkdir -v /lib64 && ln -sv /lib/ld-2.4.so /lib64/ld-linux-x86-64.so.2
Next, make the downloaded file executable:
chmod +x NVIDIA-Linux-x86_64-1.0-9746-pkg2.run
Install the driver with the following command (see above for more options):
./NVIDIA-Linux-x86_64-1.0-9746-pkg2.run \ --x-prefix=$(pkg-config --variable=prefix xorg-server) \ --no-precompiled-interface
Configuring
To generate a new xorg.conf run the following:
nvidia-xconfig --output-xconfig=xorg.conf.new
Test the X server configuration with:
X -config xorg.conf.new
You should see nVidia's logo and then the normal server screen.
If it works properly move it to it's proper location:
mv -v xorg.conf.new /etc/X11/xorg.conf