Page 1 of 1

(delete the post ... )my program freeze

Posted: Wed Sep 27, 2006 9:14 pm
by Pr3t3nd3r
Irrlicht is some times freezing when run in full screen on Windows. ( DirectX freeze much more than Opengl).
The image stay freeze. alt+tab stop responding. No error is reported.


Any idea why this is happening?. I tested on more systems and is always happening.
I think is usually happening when mouse is pressing an image or button. (not sure if this is the only situation)

Posted: Wed Sep 27, 2006 9:26 pm
by CuteAlien
There are just too many reasons why a programm does freeze, so we can't help you there. But more often than not the problem ain't the engine but the programm using the engine.You will have to debug it. Try if you can reproduce the problem. For example you can remove code from your programm until it does not freeze anymore. To check if it's really irrlicht that does cause the freeze you could for example add messages before and after the calls of irrlicht functions and write those to a logfile.

Posted: Wed Sep 27, 2006 10:10 pm
by Pr3t3nd3r
:cry:

No is not my program because in window is working perfectly for days, months.
The problem is the full screen. There was the problem with pID3DDevice->Reset(&present) when alt+tab what i kinda fix't.

When the game freeze i used sleep (computer), open it again ... tried to make the program stop running (no success because the video card was still taken by the game). And after that i got in the log window more "DIRECT3D9 begin scene failed." messages ... so my program is still calling begin end ...
The messages could be because of the sleep.
I have an small log. But is very hard to know when the image freeze in the log. And because of the full screen is hard do do any debugging.

I think somehow is losing the device and can not restore it back .. don;t know why. And the same program running using irrlicht spintz never freeze ...