Advertisement

Fullscreen Problems (was : Uuuaargh)

Started by March 08, 2002 05:07 AM
10 comments, last by Antares 22 years, 11 months ago
Hi ! (I am a total OGL beginner) I tried to compile Lesson01 - 0 errs, 0 warnings but switching to fullscreen won't work. There is a short fullscreen flash but after that I get the msg ; "Can't create a gl_rendering context" ... why ? wrong version of gl on my system ? thanks a lot. Edited by - Antares on March 8, 2002 5:12:45 PM
------------------thanks A
what is...
... your OS (win9x, win2k, linux...) ?
... your graphics card (GeForce, Radeon...) ?
... your compiler (VC++, Borland...) ?

also, have you installed the most recent drivers ?
Advertisement
>what is...
>... your OS (win9x, win2k, linux...) ?

win98

>... your graphics card (GeForce, Radeon...) ?

rage2c agp

>... your compiler (VC++, Borland...) ?

vc++ 6.0

>also, have you installed the most recent drivers ?

I don''t understand that. Graphics card drivers ? Yes.

Is it possible, that I have a wrong version of OGL ? How can I get the version number ? In the headers ??

(Sorry about the stupid topic. I overlooked that, when I was sending the question.)
------------------thanks A
Sorry, double post....

Edited by - Wingman on March 8, 2002 1:24:00 PM
Can you compile Nehe''s tutorial code or is it there the same error?
Or you can''t compile just your own code?
Rage2C ?
Hmmm.
That _may_ be your problem.
AFAICT ATI Rage drivers are not very good for OpenGL :|
Errors that occur while switching to fullscreen are 99% related to drivers problems.

> Is it possible, that I have a wrong version of OGL ?
No that''s absoluteley impossible. If the code works in windowed mode, then OpenGL will see no difference with fullscreen.
He just have a pack of pixels to fill, no matter if the screen is 120Hz or if that''s displayed on a LCD or whatever.
It''s up to the windowing system to be able to provide the buffer of pixels and the rendering contexts.

If fullscreen doesn''t work while windowed mode works, then that''s a video error, which is caused by the drivers and NOT caused by OpenGL.
Advertisement
Hi

@vincoof : (suggestions that rageIIc is the problem)

but the game homeworld works well on my system and I think it uses OpenGL. (There is at least opengl32.dll in the game path)

@wingman :

I only compiled NeHe''s Lesson 1 (as I mentioned above 0 errs, 0 warnings), works fine in window mode but I''ve got that Error when I switch to fullscreen.


Hmmm ... maybe my gfx - card is the reason why I have had problems with the ClanLib, a lib based on OpenGL. :-(
------------------thanks A
Try switching your desktop to be 16-bit. Some video cards have problems switching color depth when going into fullscreen mode.

j
i had same problem (long time ago :D). try rewriting all the code, don''t forget to link all libraries (which you must do first) and then compile again. it worked fine with me. if it doesn''t work download NeHe''s source with project and compile his. If that doesn''t work I don''t know where''s the issue...
I see what you mean, but the thing is that when it works in fullscreen mode, then you''re lucky.
Or you can say that you''re unlucky when it doesn''t work in fullscreen mode.

It''s very frutrating, but that''s the eternal problem of worthy drivers.
If you really want to make it work for your card, probably you can tweak some parameters in NeHe''s code, in order to catch that magic fullscreen specific mode that works correctly with the game(s). But in this case it will probably only run for your card and may crash/freeze/whatever on other cards.

What I''d do if I were you :
1- try to compile and run with different color depth and/or different z-buffer depth and/or different screen dimensions,
2- download other NeHe tutorials because some tutorials work *worse* with fullscreen mode (then, with luck it may help)
3- use different parameters for initializing the fullscreen mode under Windows, eg change the pixel format descriptor.

This topic is closed to new replies.

Advertisement