Page 1 of 1

SDL cannot set any OpenGL video on my OpenSUSE 10.1 64 bit

Posted: Fri Sep 15, 2006 5:48 pm
by Diedel
SDL cannot set any OpenGL video on my OpenSUSE 10.1 64 bit. I have installed the latest ATI drivers for my Radeon X800 XT PE following ATI's instructions - no dice.

Posted: Fri Sep 15, 2006 5:51 pm
by fliptw
did you compile as 64 or 32-bit?

Very important, as you need to set-up the 32-bit compatibility libs for the ATI drivers if they are exist.

Posted: Fri Sep 15, 2006 6:10 pm
by Diedel
Actually I cannot really tell. I supposed the compiler would automatically make 64 bit targets on the 64 bit OS.

I did not find any particular switches in the make files that would explicitly cause the compiler to make 64 bit targets.

What is this stuff about the compatibility libs?

Posted: Fri Sep 15, 2006 7:16 pm
by fliptw
for running 32-bit apps with ATI's 64-bit driver.

whats the output of uname -a?

Posted: Sat Sep 16, 2006 2:17 am
by Diedel
What is or does uname -a?

I have compiled that stuff natively on my Linux system (even SDL), so I suppose it's 64 bit (not entirely sure though).

Posted: Sat Sep 16, 2006 9:52 am
by DCrazy
uname gets information about your system. Think of it like msinfo32 for Linux. :P Read the manpage for what info the different switches get you.

Posted: Sat Sep 16, 2006 2:52 pm
by Diedel
I have made sure my stuff is 64 bit now.

The ATI drivers should now be properly installed, but glxgears only delivers about 100 fps - to few for my hardware, I suppose.

Posted: Sat Sep 16, 2006 2:59 pm
by Jeff250
I'm not familiar with how ATI does their drivers, but it might help to run:

Code: Select all

LIBGL_DEBUG=verbose glxgears
Any error messages?

Posted: Sat Sep 16, 2006 5:08 pm
by Diedel
uname -a returns \"Linux linux-gdgx 2.6.16.21-0.21-default #1 Tue Aug 29 16:42:05 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux\"

The following error message is printed if I run LIBGL_DEBUG=verbose glxgears:

libGL error: XF86DRIQueryDirectRenderingCapable returned false

Update:

I just found out that the ATI driver installed failed to recompile the kernel (required). So I will get the kernel source code and try to reinstall ... :roll: ... it sucks that the installer doesn't say a word about this, you have to find and examine the log file. :evil: