This site is no longer active and is available for archival purposes only. Registration and login is disabled.

gapidraw flip hangs


gapidraw flip hangs

Postby eugraphics » Feb 16, 2010 @ 1:11am

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!
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby Johan » Feb 17, 2010 @ 3:25pm

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
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby eugraphics » Feb 17, 2010 @ 4:03pm

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?
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby Johan » Feb 17, 2010 @ 7:52pm

Hi,

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

Sincerely
Johan
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby eugraphics » Feb 24, 2010 @ 3:13pm

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.
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby Johan » Feb 24, 2010 @ 10:20pm

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
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby eugraphics » Feb 25, 2010 @ 2:48pm

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.
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby eugraphics » Feb 25, 2010 @ 2:50pm

One device I see the problem on is the HP Glisten. WM 6 device.

http://www.hp.com/sbso/special/computin ... flash.html
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum