[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 115: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 115: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 115: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4675: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4677: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4679: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
PocketMatrix • View topic - very slow PHAL flip times on ASUS 696 wm6
This site is no longer active and is available for archival purposes only. Registration and login is disabled.

very slow PHAL flip times on ASUS 696 wm6


very slow PHAL flip times on ASUS 696 wm6

Postby GyLgames » Nov 20, 2007 @ 12:30pm

I have ASUS A696 (XScale 416Mhz), and my backsurface flip (display->Update()) time is about 30-31ms and its very-very slow. On other older/slower device this time only max. 5-15ms.

Maybe the wm6 slows down the graphic driver (?), because I compared some A696 SPB benchmarks and on wm5 the results were 10-15 times faster the graphic tests. (I didnt find wm6 results - only mine)
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby Kzinti » Nov 20, 2007 @ 5:44pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby GyLgames » Nov 21, 2007 @ 12:25am

GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby Kzinti » Nov 21, 2007 @ 1:47am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby GyLgames » Nov 21, 2007 @ 9:53am

I tried the logging version... seems everything ok
please, check the attachment,

Thanks
Attachments
Log_PHAL.txt
(1.15 KiB) Downloaded 580 times
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby GyLgames » Nov 21, 2007 @ 10:29am

The minimal.exe (flips green and red bg) has only 30fps.

I noticed in SPB benchmark at "DDB bitblt test" (flips two pictures X times) in portrait mode took 31ms in landscape mode took only 2ms (very fast flips)... I dont know what this means, but maybe help you.

Thanks
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby Kzinti » Nov 21, 2007 @ 6:02pm

This is interesting. The GETRAWFRAMEBUFFER values are all over the place:

Width = 181684
Height = 240
xPitch = 269079816
yPitch = 146648
Framebuffer = 46600480

Only the height and framebuffer address look valid. Because of this, PocketHAL skips the driver and uses GAPI instead (that is buffered!)

I will do more research / thinking.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Kzinti » Nov 21, 2007 @ 6:20pm

Sounds like GETRAWFRAMEBUFFER is deprecated / unsupported in WM6.

I have some idea how to work around that, I'll get back to you asap.

The fact that it uses GAPI on WM6 explains why it is much slower in landscape mode.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby GyLgames » Nov 21, 2007 @ 6:47pm

Thank you for dealing with my problem...
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby GyLgames » Nov 30, 2007 @ 11:26pm

any progress? or dead thread...
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby Kzinti » Dec 1, 2007 @ 12:30am

I am a bit busy at this time. But I am still working on it.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby GyLgames » Dec 1, 2007 @ 1:38am

oh, thx, good to hear
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Postby Kzinti » Dec 6, 2007 @ 6:46pm

I will need to implement a DirectDraw driver to solve the issue. I should be able to do that over the weekend.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Kzinti » Dec 11, 2007 @ 8:22am

I've already spend many hours on this and I am having a hard time getting DirectDraw to behave properly.

Changing the shell orientation causes the primary surface to be lost (expected), but I seem unable to recover from it. ISurface::Restore() succeeds, locking the surface succeeds, but then the display doesn't update anymore and my device is frozen.

Just lettting you know I am still working on it.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby GyLgames » Dec 11, 2007 @ 11:54am

thank you very-very much, I sent little donate :D

"The Ultimate Answer to Life, The Universe, and Everything"

I sux nowadays with the datatype misalignmet in vs2005 (ok I know the __unaligned keyword and struct alignment setting, but these dont solve always vs2005-ARM compiler bug)...
GyLgames
pm Member
 
Posts: 10
Joined: Nov 20, 2007 @ 12:18pm


Next

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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

cron