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

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

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

Post 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.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post 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.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post 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?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

for running 32-bit apps with ATI's 64-bit driver.

whats the output of uname -a?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post 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).
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post 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.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post 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.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post 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?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post 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:
Post Reply