Fullscreen totally hangs computer

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
crix
Posts: 4
Joined: Sun Jan 01, 2012 5:23 pm

Fullscreen totally hangs computer

Post by crix »

I am wondering if anyone else knows about this problem.

When I create the irrlichtdevice with fullscreen set all that happens when I start the program is that it goes to fullscreen and the screen turns black.
I then loose control of my computer. I can not Alt-Tab out and I can not shutdown the program with Alt+F4. I have to press the "reset-button" on my computer
and restart it.

My computer:
Windows 7 Professional 64
Gfxcard: Radeon HD 6800 Series
Irrlicht 1.7.2

It works in windowed mode.

CODE:
int main()
{
IrrlichtDevice *device =
createDevice( video::EDT_OPENGL, dimension2d<u32>(800, 600), 32,true, false, false, 0);

if (!device)
return 1;

while(device->run())
{

}

device->drop();

return 0;
}

Its really weird. Doing rendering in the "while(device->run())" loop won't change anything. Not removing the "while(device->run())" eighter.
After "createDevice()" my computer seems to hang.
smso
Posts: 246
Joined: Fri Jun 04, 2010 3:28 pm
Location: Hong Kong

Re: Fullscreen totally hangs computer

Post by smso »

See if re-compile the irrlicht source to get a new dll helps.
crix
Posts: 4
Joined: Sun Jan 01, 2012 5:23 pm

Re: Fullscreen totally hangs computer

Post by crix »

smso wrote:See if re-compile the irrlicht source to get a new dll helps.
I am gonna do that. Have been trying all kinds of "tricks". Thanks for the tip!
:)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Fullscreen totally hangs computer

Post by hybrid »

Maybe a problem of the gfx hw driver using 32bit apps in full screen or so. Are you sure you request a resolution that is supported?
crix
Posts: 4
Joined: Sun Jan 01, 2012 5:23 pm

Re: Fullscreen totally hangs computer

Post by crix »

hybrid wrote:Maybe a problem of the gfx hw driver using 32bit apps in full screen or so. Are you sure you request a resolution that is supported?
After a lot more testing I have found that it is not just Irrlicht that gives me trouble in fullscreen. It is probably my graphics card driver that is the problem, as you suggested.

ATI drivers seem to be troublesome for some computers in fullscreen I found out. I will have to wait for new updated ATI drivers.

Thanks for replies! :)
Post Reply