OpenGL Context problem

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Helpers
New user
Posts: 2
Joined: 24 Aug 2007, 21:21

OpenGL Context problem

Post by Helpers »

Hello@ all

At Fist sorry for my bad English  :-X

When i Will Start Warzone 2100 (in German) than have`s a Error that Called: (from stderr.txt.)
error:      Error: SDL_SetVideoMode failed (Unable to create GL context).

And that called every times......

Can my help anywhere?

Graficcart: Geforce 4 440 Go64M
Sound: Realtec AC97

Sorry if I take this Topic in a false "underforum" :)
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: OpenGL Context problem

Post by DevUrandom »

Windows or Linux? Which version of Warzone? Which drivers do you have installed? Do other GL games work?
Linux:
What type of drivers do you have installed? Binary (nvidia) or FOSS (nv)?
Does glxgears work? What's the output of glxinfo?
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: OpenGL Context problem

Post by Giel »

There is an stderr.txt, so it's Windows.

As for glxgears and glxinfo they're specific for GLX (GL integration with X), while windows uses WGL (you can guess the W's meaning I suppose).

Try whether WGLGears works though; you can find it here: http://www.cs.nmsu.edu/~jeffery/win32/

In anycase even if he doesn't have drivers with an OpenGL implementation. Then the software implementation provided on Windows systems should kick in (not sure if Vista provides any such thing though, XP and before do though).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Helpers
New user
Posts: 2
Joined: 24 Aug 2007, 21:21

Re: OpenGL Context problem

Post by Helpers »

yes other Gl Games working.

I have Windows Xp

@Giel:

I will prop this site what you have wroten :) thanks

Edit: The Program doesn`t function :(

The write: Failed to initialising OpenGL
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: OpenGL Context problem

Post by Giel »

Helpers wrote: @Giel:

I will prop this site what you have wroten :) thanks

Edit: The Program doesn`t function :(

The write: Failed to initialising OpenGL
If it is that WGLGears which I posted above that fails to function then your OpenGL drivers most likely don't work. That program is meant to test your OpenGL implementation/drivers.

The reason that other OpenGL games work may be that those other games use OpenGL as well as DirectX (yes these games actually do exist). It probably falls back to DX if that's the case.
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Risk
New user
Posts: 1
Joined: 09 Oct 2007, 21:44

Re: OpenGL Context problem

Post by Risk »

I receive a similar error message with a fully configured gentoo linux system (x86) running 2.6.22-r8 along with xorg-server 1.4 and latest 100-series nvidia-drivers (GeForce FX Go5600).  GLXgears runs fine and Xorg.log shows that GLX is configured properly.

$ warzone2100
error:      Error: SDL_SetVideoMode failed (X11 driver not configured with OpenGL).

(the binary was compiled with gcc 4.2.1 and binutils 2.18)

Does anyone have any ideas?