Visualization: graphics cards and 3D: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
  if [ ! -h /usr/lib/xorg/modules/extensions/libglx.so ]; then
  if [ ! -h /usr/lib/xorg/modules/extensions/libglx.so ]; then
   echo "re-installing NVIDIA driver. This takes some time. Ignore any warnings."
   echo "re-installing NVIDIA driver. This takes some time. Ignore any warnings."
   /root/NVIDIA.run --no-network -s -n --kernel-source-path=/usr/src/linux-2.6.24
   /root/NVIDIA.run --no-network -s -n
  fi
  fi
   
   

Revision as of 12:25, 14 February 2008

graphics cards and drivers

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

3D