LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Changing from MESA OpenGL to ATI OpenGL (https://www.linuxquestions.org/questions/linux-hardware-18/changing-from-mesa-opengl-to-ati-opengl-101342/)

tillyoubreakit 10-07-2003 03:48 PM

Changing from MESA OpenGL to ATI OpenGL
 
Hello everyone.

I installed Red hat 9.0 yesterday eavening. I downloaded the newest drivers from ATI for my Radeon 9800 Pro.

I used the rpm installer to install all the files, and then switched to the console and typed in fglrxconfig.

I then inputet all the information, and restarted. The X-Windows GUI came up and is running very well. I got everything to work, (My DSL, Mutella(P2P), MPG123, Ximian, Java, and Shockwave,Themes and so on and so forth.

But after installing the Quake 3 Demo and running it, the graphics were really slow. I exited the game, and typed "fglrxinfo" in the console. It told me that it was using the following:
----------------------------------------------------------------------------------------
display: :0.0 screen: 0
OpenGL vendor string: Mesa project:
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
-----------------------------------------------------------------------------------------

I think that it uses some kind of software OpenGL Acceleration. I would like to change that to Hardware Acceleration using my ATI drivers.

I did change it once years back with my old GeForce 3 Ti500 I think. I followed some instructions to make it use a differentl OpenGL library.

Its been a while, and I cant find any information about this explicit problem. Id would be nice if someone would help me solve this problem. But please use terms a "semi-beginner" in Linux can understand.

Thank you for any helpfull information.

Florian

PS: I just read in the "Rules" that I should put in the following PCI listings.

00:00.0 Host bridge: Intel Corp.: Unknown device 2578 (rev 02)
00:01.0 PCI bridge: Intel Corp.: Unknown device 2579 (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB USB (Hub #3) (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB USB EHCI Controller #2 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB USB EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB ICH5 IDE (rev 02)
00:1f.2 RAID bus controller: Intel Corp.: Unknown device 24df (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB SMBus (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4e48
01:00.1 Display controller: ATI Technologies Inc: Unknown device 4e68
02:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Contro
ller (PHY/Link)
02:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
02:05.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)
02:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
02:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)

LavaDevil94 10-07-2003 04:02 PM

yeah, mesa is for your laptop or non-accelerated desktop (unless you have a 3d card laptop, you must be rich). hmm... what do you have in your /usr/X11R6/include/GL directory? can you list the files in /usr/X11R6/lib too? you might want dri, try
http://dri.sourceforge.net

tillyoubreakit 10-07-2003 04:14 PM

Quote:

Originally posted by LavaDevil94
yeah, mesa is for your laptop or non-accelerated desktop (unless you have a 3d card laptop, you must be rich). hmm... what do you have in your /usr/X11R6/include/GL directory? can you list the files in /usr/X11R6/lib too? you might want dri, try
http://dri.sourceforge.net

Thanks for the reply first.

In the /usr/X11R6/include/ is no GL directory.

The following files are in /usr/X11R6/lib :
-------------------------------------------------------------------------------------------
FGL.renamed.libGL.so.1.2 libUil.so.3.0.1 libXm.so.3.0.1
libdps.so.1 libX11.so.6 libXmu.so.6
libdps.so.1.0 libX11.so.6.2 libXmu.so.6.2
libdpstk.so.1 libXaw3d.so.6 libXmuu.so.1
libdpstk.so.1.0 libXaw3d.so.6.1 libXmuu.so.1.0
libfglrx_gamma.a libXaw3d.so.7 libXpm.so.4
libfglrx_gamma.so.1 libXaw3d.so.7.0 libXpm.so.4.11
libfglrx_gamma.so.1.0 libXaw.so.6 libXp.so.6
libGL.so libXaw.so.6.1 libXp.so.6.2
libGL.so.1 libXaw.so.7 libXrandr.so.2
libGL.so.1.2 libXaw.so.7.0 libXrandr.so.2.0
libGLU.so.1 libXcursor.so.1 libXrender.so.1
libGLU.so.1.3 libXcursor.so.1.0 libXrender.so.1.2
libICE.so.6 libXext.so.6 libXTrap.so.6
libICE.so.6.3 libXext.so.6.4 libXTrap.so.6.4
libMrm.so.3 libXfont.so.1 libXt.so.6
libMrm.so.3.0.1 libXfont.so.1.4 libXt.so.6.0
libOSMesa.so.4 libXft.so.1 libXtst.so.6
libOSMesa.so.4.0 libXft.so.1.1 libXtst.so.6.1
libpsres.so.1 libXft.so.2 libXv.so.1
libpsres.so.1.0 libXft.so.2.1 libXv.so.1.0
libSM.so.6 libXi.so.6 modules
libSM.so.6.0 libXi.so.6.0 X11
libUil.so.3 libXm.so.3 xscreensaver
----------------------------------------------------------------------------------------

I also tried to make a new kernel with "./make.sh" in the /lib/modules/fglrx/build_mod

I get the following error:

----------------------------------------------------------------------------------------
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
----------------------------------------------------------------------------------------

After trying to make a kernel with ./make install.sh I get this :

-----------------------------------------------------------------------------------------
[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[root@localhost build_mod]#
[root@localhost build_mod]# cd ..
[root@localhost fglrx]# ./make_install.sh
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.

----------------------------------------------------------------------------------------

Thanks for your help.

-Florian

LavaDevil94 10-07-2003 04:21 PM

no gl dir?! thats not good. that means no opengl headers. maybe you could get the opengl 3d-accel package from somewhere from you package database from you distro cds? if its not there, go to http://dri.sf.net
if it still doesnt work, i heard of a place called (some name here)-digital. the somename starts with an s. i think it was schidner or something. it was a german place. if you find it, i think you download the firegl 8800 driver package (the radeon 9000 series i think is a series of prototypes for the firegls). but this might not apply to you, since i have a radeon 9000.

LavaDevil94 10-07-2003 04:23 PM

btw, the schidner-digital place (or whatever it was) was a website w/ the .de extension.

tillyoubreakit 10-07-2003 04:34 PM

Thanks for your help guys. I tried to pind some sort of GL Package in Red Hat but without any luck. I will search for the schidner-digital Place now.

Ill keep you updated.

Thanks

-Florian

LavaDevil94 10-07-2003 04:45 PM

no problem. however, i havent tried the schidner drivers. btw, dont try the integrated xfree radeon drivers. thats why i upgraded to a radeon 9000. when you dont use drivers specificlly made for a radeon, well.... w/ my old radeon 7500 and using the integrated xfree drivers, anything that used the quake 3 engine (including native quake 3) froze after 30 secs or so.

tillyoubreakit 10-07-2003 04:56 PM

Ok I have an updat. After trying the Schneider Digital drivers (which didnt install) I tried to run fglrxinfo again.

This time Linux doesnt find the programm fglrxinfo .
And I tried to reinstall the ATI Driver Package with rpm -i --force fl*****.rpm It just sits there, and doesnt move at all.

Any Ideas?

LavaDevil94 10-07-2003 05:20 PM

maybe you could look to see what the config/info exe is for the schneider drivers?

tillyoubreakit 10-07-2003 05:25 PM

Ok, I should try that. I fixed my drivers again. But it still says Mesa drivers in my OpenGL listing.

Any more Ideas ? Cant I download opengl librares from someones site?

-Florian

PS:How can I compile a new Kernel with the ATI Tool?

LavaDevil94 10-07-2003 05:38 PM

did the new drivers put the /usr/X11R6/include/GL directory in there? if they still didnt, well, theres only around 12 or so files that go in there that i could maybe put on this forum... but make sure that the GL directory exists. and that it has the headers in it.

tillyoubreakit 10-07-2003 05:56 PM

Well there is definetly not a GL directory. I have attached a screenshot for you to check :-)

http://rolandwolle.ath.cx/pictures/03-10-04_flo/lib.jpg

Thanks

-Florian

PS: I am running a Red hat update, Ill get a new kernel and i selected some thing called Glib....maybe it will help :-)

LavaDevil94 10-07-2003 06:34 PM

ok, now thisll be long, tedious, and it might not work, but i think its worth a try. first, create the GL directory in /usr/X11R6/include.

LavaDevil94 10-07-2003 06:39 PM

well, now that i see that youve displayed your email, we could probably take out the tedious and long. once you create the GL dir, im going to email you the gl headers from my install. i think illl get them in a gzip file.

LavaDevil94 10-07-2003 06:47 PM

well, ark is acting up, so ill try to put it in a folder called GL thats attached to the email.


All times are GMT -5. The time now is 07:40 PM.