Page 1 of 1

gapidraw flip hangs

PostPosted: Feb 16, 2010 @ 1:11am
by eugraphics
I have seen this issue on 2 win mobile 6 devices using simple.exe from the GD install package: run simple.exe for an hour. Eventually it will stop flipping. Looks like the Flip() call just stops working even though it continues to return 0.

The problem was seen in my app too but I did manage to isolate it down to just simple.exe, which indicates a problem with gapidraw (or GAPI i suppose).

This doesnt happen on most devices obviously but i can get the specs for the problem devices if needed.

This problem is seen in v3.6 and is not seen in v4.1.

Is this is a known problem?

Thank you!

PostPosted: Feb 17, 2010 @ 3:25pm
by Johan
Hello,

Yes, GapiDraw 3.6 does have issues on several Windows Mobile 6 devices. The primary reasons for this is that some devices do not implement GAPI correctly (or at all), and some devices do not implement GETRAWBUFFER correctly (or at all).

I strongly would recommend that you upgrade to GapiDraw 4.2 and build your application for Windows Mobile 5.0 devices and later, where GapiDraw then will use DirectDraw to paint to the screen.

Sincerely
Johan

PostPosted: Feb 17, 2010 @ 4:03pm
by eugraphics
Thank you. Is v4.1 adequate?

Either way, if i have a v4.1 license, can I get v4.2 without upgrading? And how can i go about this?

PostPosted: Feb 17, 2010 @ 7:52pm
by Johan
Hi,

Sure, just send me a reply from your registration email and I'll send you 4.2 right away.

Sincerely
Johan

PostPosted: Feb 24, 2010 @ 3:13pm
by eugraphics
4.2 fixes this Flip issue in simple.exe but not in my app. Any ideas on what that could be related to?

4.2 also fixes some issue i have seen where OpenDisplay fails.

PostPosted: Feb 24, 2010 @ 10:20pm
by Johan
Hello,

Glad to hear that 4.2 works better with the sample applications at least.

Have you done any modifications to myapplication.h or myapplication.cpp? I would go through these in detail doing a diff.

Also, any chance you can remove most of the logic in your app and see if it still crashes with minimal of code?

Sincerely
Johan

PostPosted: Feb 25, 2010 @ 2:48pm
by eugraphics
I am not using myapplication.cpp/h code.

I did scale down my app substantially and I still see the issue on a couple of devices. The problem is solved if instead of calling Flip(), I do GetDC() on the backbuffer and BitBlt() to the screen. So I'm pretty certain that Flip() is the problem.

Like I said, Flip, does however work fine for what appears to be a certain number of flips. Then it just stops working but it still returns 0. There is technically no hang and certain no crash/exception. Flip just stops flipping.

PostPosted: Feb 25, 2010 @ 2:50pm
by eugraphics
One device I see the problem on is the HP Glisten. WM 6 device.

http://www.hp.com/sbso/special/computin ... flash.html