Common Installation Problems
From ChronOS Linux
NVIDIA Drivers
The proprietary NVIDIA drivers do not work out of the box on PREEMPT_RT kernels, such as ours. They must be patched to take into account the fact that PREEMPT_RT changes spinlocks in a way the NVIDIA drivers can't handle.
First, download the following:
- The correct NVIDIA driver for your architecture from: http://www.nvidia.com/object/unix.html
- Our installer script: http://chronoslinux.org/nvidia/nvidia-rt-installer.sh
- The 2.6.33 NVIDIA RT patch: http://chronoslinux.org/nvidia/nvidia-rt.tar.gz
Edit the nvidia-rt-installer.sh script to change the first three variables to match your system:
- VER should correspond to the output of
$ uname -r
- NVIDIA_INSTALLER should correspond to the package you downloaded from NVIDIA, minus the ".run" extension
- KERNEL_SRC_DIR should be the directory of the kernel source you just installed the ChronOS kernel from
Make sure the nvidia-rt-installer.sh script is executable:
$ chmod +x nvidia-rt-installer.sh
Run the script:
$ ./nvidia-rt-installer.sh
Congratulations! If everything went well, your ChronOS kernel should now have NVIDIA drivers installed. Each time you re-compile your ChronOS kernel, you will have to re-compile these NVIDIA drivers.