Common Installation Problems
From ChronOS Linux
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
First, download the following: | First, download the following: | ||
* The correct NVIDIA driver for your architecture from: http://www.nvidia.com/object/unix.html | * The correct NVIDIA driver for your architecture from: http://www.nvidia.com/object/unix.html | ||
- | * Our installer script: nvidia-rt-installer.sh | + | * Our installer script: http://chronoslinux.org/nvidia/nvidia-rt-installer.sh |
- | * The 2.6.33 NVIDIA RT patch: | + | * The 2.6.33 NVIDIA RT patch: http://chronoslinux.org/nvidia/nvidia-rt.tar.gz |
Line 13: | Line 13: | ||
* NVIDIA_INSTALLER should correspond to the package you downloaded from NVIDIA, minus the ".run" extension | * 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 | * 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: | Make sure the nvidia-rt-installer.sh script is executable: | ||
Line 19: | Line 20: | ||
Run the script: | Run the script: | ||
$ ./nvidia-rt-installer.sh | $ ./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. | 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. |
Current revision as of 20:23, 19 January 2012
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.