Visualization: graphics cards and 3D: Difference between revisions

m
Line 49: Line 49:
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:
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
  if [ ! -h /usr/lib/xorg/modules/extensions/libglx.so ]; then
#  this should be /usr/lib64/xorg/modules/extensions/libglx.so on a 64bit machine !
#  this should be /usr/lib64/xorg/modules/extensions/libglx.so on a 64bit machine !
   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
   /root/NVIDIA.run --no-network -s -n
Line 60: Line 59:
   /root/NVIDIA.run --no-network -s -K -n
   /root/NVIDIA.run --no-network -s -K -n
  fi
  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 .
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 .
1,328

edits