LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: amoeba on February 01, 2005, 14:43:08

Title: Full Screen problem in 0.95
Post by: amoeba on February 01, 2005, 14:43:08
When I Alt+Enter after converting to 0.95, all the texture colours as messed up and the performance grinds to a halt.

Has something been changed since 0.93 (worked perfectly)?
Title: Full Screen problem in 0.95
Post by: elias on February 02, 2005, 08:47:05
I'm guessing a windows OS and an ATI card?

- elias
Title: Full Screen problem in 0.95
Post by: amoeba on February 02, 2005, 09:05:55
Yes windows XP (pro) and a Ati Radeon 9700 Mobile.

Is this a known problem then?
Title: Full Screen problem in 0.95
Post by: elias on February 02, 2005, 09:18:25
Yes, I can reproduce it here too. The funny thing is that if you press alt-tab (and hold alt down so it won't switch) after the screen is messed up, the rendering is fixed.

- elias
Title: Full Screen problem in 0.95
Post by: elias on February 02, 2005, 11:18:08
I've tried to improve the task switching in LWJGL. Try out

http://odense.kollegienet.dk/~naur/lwjgl.dll

From my experience, proper fullscreen handling is an exercise in voodoo magic. Some combinations of Win32 calls work, some don't, and the result is different with different drivers.

- elias
Title: Full Screen problem in 0.95
Post by: spasi on February 02, 2005, 12:14:01
Doesn't work here (WinXP, GeFX, dual-monitors). I get a black screen on startup and weird flickering when try to alt-tab. It seems like the window cannot grab focus.
Title: Full Screen problem in 0.95
Post by: elias on February 02, 2005, 12:33:20
What happens when it is not in dual-head mode? Could you try restoring the "old" flags in the various ShowWindow calls too and see what happens? Not having focus shouldn't affect rendering.

- elias
Title: Full Screen problem in 0.95
Post by: elias on February 02, 2005, 14:50:09
I've updated the library with a workaound to the ATI problem. Try it out again, please. The bug Spasi is experiencing should also be fixed.

- elias
Title: Full Screen problem in 0.95
Post by: spasi on February 02, 2005, 16:23:49
Works great now. It actually feels a little faster too (goes into fullscreen almost instantly).
Title: Full Screen problem in 0.95
Post by: amoeba on February 07, 2005, 14:18:31
Still seems the same to me.

Here are 2 pictures to demonstrate what is happening;
http://alexscott.freeownhost.com/good.JPG
http://alexscott.freeownhost.com/corrupt.JPG

Alt-Tabbing does not seem to fix the problem. I guess it could just be some weird ATI 9700 Mobile problem, guess I need to test on my home pc?