![]() |
| ||||||||||||||||||
![]() |
| ||||||||||||||||||
|
When running OpenGL applications in Linux, you should buy a graphics card from nVIDIA,
since they provide the best graphics drivers that cause the least number of problems. ATI Linux drivers tend to expose graphics bugs,
are often impossible to install or do not support the latest chips. This has gotten better lately with the takeover by AMD.
If your computer already contains an ATI Radeon card, there is a resonable chance that everything works correctly if you follow these hints:
NOTE: If you successfully installed the Radeon drivers and
YASARA's user interface still lags behind, scroll to the end of this section.
Most default Linux installations (e.g. RedHat, Fedora) do not activate hardware accelerated OpenGL graphics for newer Radeon cards. Instead,
only the unusably slow Mesa software emulation is available. Open a terminal and type glxinfo If the output indicates that your OpenGL vendor is 'Tungsten Graphics',
then there is a good chance that YASARA works correctly, especially on older Radeon chips
(on Radeon 9600, you may get a 'Mesa implementation error' however, which can be worked around by disabling shadow and lighting at View
> Lighting): OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI Radeon 20020611 AGP 1x x86/MMX/SSE NO-TCL OpenGL version string: 1.2 Mesa 4.0.4 On the other hand, if you find the following in the output,
you do not have hardware accelerated 3D graphics activated, and using YASARA with this configuration is hopeless:
OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 In latter case, you need to install the proper driver from ATI: click on
www.ati.com and download the latest Linux Radeon driver.
Installation instructions for Fedora Core At least in Fedora Core 5 and 6, the drivers available from the ATI web site cannot be installed. The Fedora project however provides customized drivers as RPM packages in the livna repository:
Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection Section "Device" Identifier "aticonfig-Device[0]" Driver "fglrx" Option "VideoOverlay" "on" # This enables VSYNC Option "Capabilities" "0x00000800" EndSection Section "ServerFlags" Option "AIGLX" "False" EndSection Section "DRI" Group 0 Mode 0666 EndSection Section "Extensions" Option "Composite" "False" EndSection
If there are still problems, check http://www.fedoraforum.org/forum/showthread.php?t=
127305 Installation instructions for other Linux distributions and the new
*.run drivers (2005 and later) In 2005, ATI introduced a new installer
(usually a big file >50 MB) with the extension '.run'.
Example output:
ATI/XFree86-4_1_X ATI/XFree86-4_2_X Debian/woody Debian/oldstable Debian/3.0 Debian/sarge Debian/stable Debian/3.1 Debian/etch Debian/testing Debian/sid Debian/unstable RedHat/RHEL3 RedHat/RHEL4 SuSE/SLES9-IA32 SuSE/SUSE91-IA32 SuSE/SUSE100-IA32 SuSE/SUSE92-IA32 SuSE/SUSE93-IA32 SuSE/SUSE101-IA32 Ubuntu/warty Ubuntu/4.10 Ubuntu/hoary Ubuntu/5.04 Ubuntu/breezy Ubuntu/5.10
The output should now look similar to this one, with
ATI Technologies as the OpenGL vendor: display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9200SE DDR Generic OpenGL version string: 1.3.1017 (X4.3.0-8.19.10) If this worked, you are done and ready to run YASARA. Congratulations.
If you finally run YASARA, and everything looks OK, but the user interface is slow and lags behind the mouse pointer,
exit the X-server and start
fglrxconfiga second time, but now do not synchronize buffer swaps with the vertical sync signal . Installation instructions for the old *.rpm drivers
(until 2005) You receive an RPM whose name usually looks like
fglrx-[XServerVersion]-[DriverVersion].i386.rpm, e.g. fglrx-4.3.0-3.7.6.i386.rpm
ATI provides detailed installation instructions, however installation tends to fail easily.
Here are some hints:
If you accidentally tried to install the RPM without the kernel source present,
you may have gotten this error message:
*** Error: no kernel module build environment - please consult readme.
If the output looks about like that, you are done and can run YASARA:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9200SE DDR Generic OpenGL version string: 1.3 (X4.3.0-3.7.6) If you still see "Mesa" in the OpenGL vendor string, open the file
/var/log/XFree86.0.log in a text editor and search for this message: (EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM" (EE) fglrx(0): cannot init AGP .... (WW) fglrx(0): *********************************************** (WW) fglrx(0): * DRI initialization failed! * (WW) fglrx(0): * (maybe driver kernel module missing or bad) * (WW) fglrx(0): * 2D acceleraton available (MMIO) * (WW) fglrx(0): * no 3D acceleration available * (WW) fglrx(0): ********************************************* * This error message indicates problems with your AGP support. Exit X and type as root
/sbin/insmod agpgart. Restart X and try again fglrxinfo. If it works now, you are ready for YASARA. Note that this fix is temporary.
If you still have problems, make sure that you really install the latest ATI driver. The first releases were very buggy,
and only with version 3.7.6 did ATI reach good quality. Version 3.7.6 works well with most Radeon cards,
e.g. the 9200, 9600 series. If YASARA finally runs, and everything looks OK,
but the user interface is slow and lags behind the mouse pointer, exit the X-server and start
fglrxconfiga second time, but now do not synchronize buffer swaps with the vertical sync signal .
| ||||||||||||||||||