Visualization: graphics cards and 3D: Difference between revisions

Jump to navigation Jump to search
 
(10 intermediate revisions by 5 users not shown)
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 !
   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 59: 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 .
Newer distributions using SELinux may encounter problems with restrictions that prevent init scripts from executing certain commands related to kernel modules. Creating an SELinux rule exception is the correct solution, but may be difficult. A work-around is to insert "/usr/bin/setenforce 0" before running the NVIDIA installer, and "/usr/bin/setenforce 1" afterwards.
The RPM way of maintaining the NVidia driver nowadays can be found at http://elrepo.org/tiki/kmod-nvidia . This is preferable to the DKMS way that RPMforge provides.
=== Hybrid graphics ===
See [https://bbs.archlinux.org/viewtopic.php?pid=881549] and [http://linux-hybrid-graphics.blogspot.com/]
To test the nvidia driver:  blacklist the nouveau and intel graphic modules, disable kernel mode-setting, and boot to runlevel 3 - all via the following kernel command line args:
nouveau.disable=1 intel.disable=1 nomodeset 3  <--append this to grub kernel line
Then run nvidia's xorg creation tool (nvidia-xconfig).  Give X a try and see if it works.
If that wont work, black list nouveau and nvidia, and try the intel module (delete the xorg.conf made by nvidia-xconfig):
nouveau.disable=1 nomodeset 3  <-- append this to grub kernel line
The elrepo.org kmod-nvidia package already disables nouveau mode-setting (nouveau.modeset=0), blacklists the nouveau driver and runs nvidia-xconfig to create a suitable xorg.conf file.


== ATI ==
== ATI ==


ATI now belongs to AMD. Download the proprietary driver from http://ati.amd.com .
ATI now belongs to AMD. Download the proprietary driver from http://ati.amd.com .
Recently the (open source) [http://www.free3d.org/ radeon driver] shipped with [http://www.x.org Xorg] has improved DRI capabilities that are often sufficient for crystallographic purposes, and the need to hastle with the installation of the propriety driver has become void.
If you are experiencing problems with Coot and ATI graphic cards with rv5xx chipset on FC10, you should switch from the 'radeon' driver to 'radeonhd', for example in the following way (as root):
* yum install system-config-display
* yum install radeonhd
* system-config-display
Now you can conveniently change the graphic card driver via a graphical interface, then restart X windows
Unfortunately, you have to disable 3D desktop effects, otherwise you get a blank screen and have to undo the settings via terminal. Furthermore, do not try to use the proprietary ATI 'fglrx' drivers, since they made things even worse, at least in my personal experience (with an ATI Radeon X1650).


== Intel ==
== Intel ==


The X3100 graphics accelerator is known to be quite fast. FIXME: does it require special drivers?
The X3100 graphics accelerator is known to be quite fast. FIXME: does it require special drivers?
== Table of Cards and drivers ==
{| border="1" cellpadding="0"
|-
|width="70pt"|Brand
|width="100pt"|Model number
|width="100pt"|Distro and/or OS
|width="70pt"|Working ?
|width="100pt"|Driver
|width="200pt"|Remarks
|-
|ATI || Radeon X1300 || Ubuntu 8.10 - Intrepid Ibex || Yes||fglrx|| automagically installed from Ubuntu
|-
|ATI || Radeon 9200 || Ubuntu 8.10 - Intrepid Ibex || Yes||open source radeon|| automagically installed from Ubuntu
|-
|Nvidia||Quadro FX 1400||SuSe 10.2||Yes|| Nvidia||installed from SuSE repos
|}


== See also ==
== See also ==
* [[Stereo]]
* [[Stereo]]
1,328

edits

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

Navigation menu