OpenGL (was ClanLib)

Martin Kremecek wrote:

well, I’d like to stay at rather low level, but opengl would be very practical.

It always puzzles me why people want to do all by themselves, but well.

So I ask just a last time :wink: : does anonye have a bit of an idea why it cannot
determine glx visual info? could there be any lib missing or something?

More info is needed. What doesn’t work exactly. Error messages?–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

Daniel Vogel wrote:

Martin Kremecek wrote:

well, I’d like to stay at rather low level, but opengl would be very practical.

It always puzzles me why people want to do all by themselves, but well.

So I ask just a last time :wink: : does anonye have a bit of an idea why it cannot
determine glx visual info? could there be any lib missing or something?

More info is needed. What doesn’t work exactly. Error messages?

I wished I knew it myself! All I know is that it cannot determine glx visual info
since this is all it outputs. It returns this error when calling the SDL_Init
function>


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

I wished I knew it myself! All I know is that it cannot determine glx visual info
since this is all it outputs. It returns this error when calling the SDL_Init
function

Oh, heh. I know what the problem is. testgl is looking for a 16-bit visual
and you don’t have one. Set your X server to 16 bpp, which is the best for
games anyway. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Martin Kremecek wrote:

Daniel Vogel wrote:

Martin Kremecek wrote:

well, I’d like to stay at rather low level, but opengl would be very practical.

It always puzzles me why people want to do all by themselves, but well.

So I ask just a last time :wink: : does anonye have a bit of an idea why it cannot
determine glx visual info? could there be any lib missing or something?

More info is needed. What doesn’t work exactly. Error messages?

I wished I knew it myself! All I know is that it cannot determine glx visual info
since this is all it outputs. It returns this error when calling the SDL_Init
function

I had that problem on an 24-bit SGI indy. The problem in my case was
that SDL
asks for double-buffering by default, and the SGI refuses to find such a
visual.
Perhaps the same ?

ATB,
Simon.

Sam Lantinga wrote:

I wished I knew it myself! All I know is that it cannot determine glx visual info
since this is all it outputs. It returns this error when calling the SDL_Init
function

Oh, heh. I know what the problem is. testgl is looking for a 16-bit visual
and you don’t have one. Set your X server to 16 bpp, which is the best for
games anyway. :slight_smile:

Yep, you’re absolutely right! Things do work wonderfully now. No offence, but it would
be great to have things like this in the docs. This way maybe I wouldn’t have spent a
week on this problem and others would be spared to experience such things again :wink:

Thx a big lot for the help!

Martin>

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Simon Gornall wrote:

Martin Kremecek wrote:

Daniel Vogel wrote:

I had that problem on an 24-bit SGI indy. The problem in my case was
that SDL
asks for double-buffering by default, and the SGI refuses to find such a
visual.
Perhaps the same ?

ATB,
Simon.

Hmm when I plays with SDL/GL I found SDL/GL can/t determine visual info
(with no error messages)
when I run it on lowend graphic card (there is no enough memory on board
to enable multibuffering), so i think Simon is right.–
With best regards Razor.X.Jackie
"The choise is yours… walk now and live or stay and die"