Hang up after/on system stand-by...

Hi All!

Have anybody experienced xith hanging up after/on system stand-by?
Is there any way to avoid this?

Sincerely,
Bohdan.

Ok, the simplest way to avoid it is - litlle coding in WinAPI (I have problems on the windows system) + JNI… just to make sure system never going to stand by while my application is ranning…

Any other suggestion? :slight_smile:

I suggest you to drop Windows support… no I’m joking. I think the “make sure the system is never going in standby mode” is fine for you. Or maybe if you can detect when you wake from standby you can “reload” your app.
But please be more detailed about what you ccall “hanging up”.

[quote="<MagicSpark.org [ BlueSky ]>,post:3,topic:26417"]
I suggest you to drop Windows support… no I’m joking. I think the “make sure the system is never going in standby mode” is fine for you. Or maybe if you can detect when you wake from standby you can “reload” your app.
But please be more detailed about what you ccall “hanging up”.
[/quote]
drop Windows support… LOL :))

Ok, in regards to hanging up…
When my aplication is ranning and system went to standby it will never get back from standby… Have to restart computer. That’s all.

No such problem with other applications… Maybe the same story will be with any 3D application… I didn’t check it, really.

Anyway this is not any critical problem for me, of course… just was wondering what may cause it…

BTW, I using jogl. Will try lwjgl as well…

you could also try jsr231

it could/should be better working than jogl

Yep, good point Arne… should try JSR231. Have heard that xith is not going to support JOGL anylonger, hope transition from JOGL to JSR231 is seamless (didn’t look at it yet)…

Anyhow, there is few things to that problem with standby… Actually it appeared that in most of the cases system is not actually hanging up… But as soon as system is out of standby, the jpanel in my app, which xith is rendering to is blank, and after a little while system message appeares:

Runtime error!
Program:… java.exe
abnormal program termination.

The only option is to press “OK” there, and my application is killed afterwards just by the system.

And now, interesting thing… I checked that no process assotiated with my apllication is ranning… So I tried to start my application again. It starts with no problems, but GUI (Swing) is corrupted. 3D appeares for a while, so I can see my scene for a few seconds just, and then - blank panel again…
And to make it working - the only way is to restart computer… So this standby thing seems to affect my video permanently (till the restart I mean)…

So this is the story…

So I probably going to try JSR231 when I have chance, but mean time I will just simply prevent system from going to standby.

Thanks for advices, guys!
bohdan.

Hi,

[quote]hope transition from JOGL to JSR231 is seamless
[/quote]
Very easy. Normally you only should change one import. For detalis, diff Xith3DTextureBlendTest.java in Xith3D core CVS (release 1.4 is JSR-231 and 1.3 is old style JOGL) to see how it has been made.

Yuri

Yuri, does JSR-231 works with Java 5.0 ? I don’t want ot update to a beta of Mustang to switch.

that game of c_lilian using jsr231 worked on my computer - and I only have 1.5 installed

I’ve also tested it with 1.4.2 (on a mac)

Lilian

Hi,

[quote]Yuri, does JSR-231 works with Java 5.0 ? I don’t want ot update to a beta of Mustang to switch.
[/quote]
Yes, I use it with 1.5.0. Just don’t try Swing <-> JOGL interop, and everything runs OK (for that you’ll need Mustang 51+ AFAIK)

Yuri

OK, thanx. Let’s switch, then ;D