Difference between revisions of "Visualization: graphics cards and 3D"

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]).
+
* [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.
  
 
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:
 
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:

Revision as of 13:28, 17 February 2008

graphics cards and drivers

  • NVidia (proprietary driver download for Linux at [1]; "Latest cards" list at [2], "Legacy cards" list at [3]). RedHat/Fedora/Debian/[K]Ubuntu installation information can be found at [4]. In particular, for RedHat/Fedora one needs to install the kernel-devel RPM package.

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:

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

If everything is ok with the driver you get the following output from "glxinfo|head":

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
   GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
   GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer
client glx vendor string: NVIDIA Corporation

3D