Changes

From CCP4 wiki
Jump to navigationJump to search
Line 1: Line 1:  
== graphics cards and drivers ==
 
== graphics cards and drivers ==
   −
* [http://www.nvidia.com NVidia] (proprietary driver download for Linux at [http://www.nvidia.com/object/unix.html]; "Latest cards" list at [http://www.nvidia.com/object/IO_18897.html], "Legacy cards" list at [http://www.nvidia.com/object/IO_32667.html]). RedHat/Fedora/Debian/[K]Ubuntu installation information can be found at [http://www.nvnews.net/vbulletin/showthread.php?t=72490]. In particular, for RedHat/Fedora one needs to install the kernel-devel RPM package.
+
=== NVidia ===
   −
The proprietary driver works well but it needs a bit of care. On RedHat systems that are regularly booted, the following lines in /etc/rc.local result in the necessary parts of the driver being re-installed automatically after booting:
+
* [http://www.nvidia.com NVidia] - proprietary driver download for Linux at [http://www.nvidia.com/object/unix.html]
 +
* "Latest cards" list at [http://www.nvidia.com/object/IO_18897.html]
 +
* "Legacy cards" list at [http://www.nvidia.com/object/IO_32667.html]
 +
* RedHat/Fedora/Debian/[K]Ubuntu installation information can be found at [http://www.nvnews.net/vbulletin/showthread.php?t=72490]. In particular, for RedHat/Fedora one needs to install the kernel-devel RPM package. Other than this, the information in that posting seems a bit overkill - the NVidia driver usually works very well without any SElinux jiggling.
   −
<code>
+
==== checking the integrity of the NVidia driver ====
if [ ! -h /usr/lib/xorg/modules/extensions/libglx.so ]; then
  −
  echo "re-installing NVIDIA driver. This takes some time. Ignore any warnings."
  −
  /root/NVIDIA.run --no-network -s -n
  −
fi
  −
  −
if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then
  −
  echo "installing NVIDIA kernel module. This takes some time. Ignore any warnings."
  −
  /root/NVIDIA.run --no-network -s -K -n
  −
fi
  −
</code>
     −
This requires that you first "chmod +x" the driver package (e.g. NVIDIA-Linux-x86-169.04-pkg1.run) downloaded from the NVidia site, and then establish a symbolic link from it, to /root/NVIDIA.run .
+
If everything is ok with the driver, you get the following output from "glxinfo|head":
If everything is ok with the driver you get the following output from "glxinfo|head":
      
<code>  
 
<code>  
Line 33: Line 25:  
</code>
 
</code>
    +
==== maintaining the NVidia driver ====
 +
 +
The proprietary driver works well but it needs a bit of care. More to the point: parts of it need to be re-installed after kernel updates and updates of xorg-x11-* (both of which happen regularly).
 +
On RedHat systems that are regularly booted, the following lines in /etc/rc.local result in the necessary parts of the driver being re-installed automagically after booting:
 +
 +
<code>
 +
if [ ! -h /usr/lib/xorg/modules/extensions/libglx.so ]; then
 +
  echo "re-installing NVIDIA driver. This takes some time. Ignore any warnings."
 +
  /root/NVIDIA.run --no-network -s -n
 +
fi
 +
 +
if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then
 +
  echo "installing NVIDIA kernel module. This takes some time. Ignore any warnings."
 +
  /root/NVIDIA.run --no-network -s -K -n
 +
fi
 +
</code>
 +
 +
This requires that you first "chmod +x" the driver package (e.g. NVIDIA-Linux-x86-169.04-pkg1.run) downloaded from the NVidia site, and then establish a symbolic link from it, to /root/NVIDIA.run .
 +
 +
=== ATI ===
   −
* [[ATI]] (now belonging to AMD) (proprietary driver download at http://ati.amd.com)
+
ATI now belongs to AMD. Download the proprietary driver from http://ati.amd.com .
    
== 3D ==
 
== 3D ==
 
* [[3D visualization]]
 
* [[3D visualization]]
1,315

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu