Flick screen in Vista using OpenGL in fullscreen
by Samme Ng · in Torque Game Engine · 07/12/2008 (3:50 am) · 9 replies
I encounter a serious problem.
My game will use Chinese as input, while using Opengl and fullscreen mode in Vista, the whole screen will become black, showing the small text composition window and then return to normal game screen, when constructed an Chinese character (during construction period, that is typing in key, will not have problems).
I have tried the TGEA demo to try if it is fixed this problem, unfortunately, it has the same problem.
Do anyone know about this problem and has solution to this?
Thanks!
My game will use Chinese as input, while using Opengl and fullscreen mode in Vista, the whole screen will become black, showing the small text composition window and then return to normal game screen, when constructed an Chinese character (during construction period, that is typing in key, will not have problems).
I have tried the TGEA demo to try if it is fixed this problem, unfortunately, it has the same problem.
Do anyone know about this problem and has solution to this?
Thanks!
#2
If it is a common problem, why don't make a general post to solve this? Any empolyee/associate come up to fix it?
07/12/2008 (10:42 am)
I can only found one thread may talking about this issue, I said "may" is because I have no right to read it. I am only a TGE owner, some threads cannot be accessed.If it is a common problem, why don't make a general post to solve this? Any empolyee/associate come up to fix it?
#3
Thanks a lot!
07/19/2008 (3:07 am)
Can someone, especially those empolyee/associates stand up to say something about this issue?Thanks a lot!
#4
07/21/2008 (11:29 am)
I'm not sure about the cause of this problem. Which areas were you trying to access?
#5
07/21/2008 (11:58 am)
Does it do it if you disable Aero?
#6
http://tdn.garagegames.com/wiki/Screen_Flicker
But I have no right to access it.
07/22/2008 (8:49 pm)
It seems there is a topic about flicker:http://tdn.garagegames.com/wiki/Screen_Flicker
But I have no right to access it.
#7
It didn't have anything helpful for you, however.
07/25/2008 (1:36 pm)
You have to make sure you are logged into TDN. Log out and back in if you're having trouble seeing it.It didn't have anything helpful for you, however.
Quote: Original Question:
Ouch! There is a strobe-like flickering when I run full-screen!
[edit]
Answer:
Yes, it's all easy when you have a specific case on a specific OS but we've got a cross-platform system here and things can get a little complex. I cannot just jump into the code and do a little hack on anything that touches platform-level stuff. Stuff like this takes longer than you would expect because there are many other considerations.
Again, no big deal, I'll do some investigation, chat with Ben Garney and Josh Williams and see what's the best approach.
That's the best I can do at the moment guys.
- Melv.
#8
However, I have found the solution and would like to share here: (I still think my question should be answered by garagegames)
In Vista, due to Aero feature, sometime it cause problem to openGL. There is a good document about it:
www.opengl.org/pipeline/article/vol003_7/
For my case, all I have done is to detect OS version, and remove PFD_DOUBLEBUFFER during calling CreatePixelFormat if running in Vista. That's simple!!
08/01/2008 (1:25 am)
Thanks David! It is nothing helpful as you said.However, I have found the solution and would like to share here: (I still think my question should be answered by garagegames)
In Vista, due to Aero feature, sometime it cause problem to openGL. There is a good document about it:
www.opengl.org/pipeline/article/vol003_7/
For my case, all I have done is to detect OS version, and remove PFD_DOUBLEBUFFER during calling CreatePixelFormat if running in Vista. That's simple!!
#9
08/01/2008 (1:29 pm)
Neat little piece of research, that!
Torque Owner Infinitum3D