Common Installation Problems

From ChronOS Linux

(Difference between revisions)
Jump to: navigation, search
(Created page with '== NVIDIA Drivers == The proprietary NVIDIA drivers do not work out of the box on PREEMPT_RT kernels, such as ours. You must first patch the Nvidia code to download $ uname -r')
 
(6 intermediate revisions not shown)
Line 1: Line 1:
== NVIDIA Drivers ==
== NVIDIA Drivers ==
-
The proprietary NVIDIA drivers do not work out of the box on PREEMPT_RT kernels, such as ours. You must first patch the Nvidia code to download
+
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.
-
$ uname -r
+
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.

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:


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.

Personal tools