PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Help with DELL Axim x50v and PocketHal

I am testing out a program that uses PocketHal for the game engine. On the HP 2215 it ran really fast. I just bought an Axim x50v (VGA with great video card, 624 mhz) and now the same program is 20 fps slower than before even with the great tweak by Picard http://www.aximsite.com/boards/showthread.php?t=57128 .

Can this be looked into? This PPC is so cool, and technically should run PocketHal games like no other device to date.
this should be interesting because the screen is twice as big and because of the 2700G multimedia accelerator.

How are other game programmers dealing with the bigger screen size? I'm planning on detecting the bigger size, centering the 320 x 240 image and padding the area outside of the main screen area with a static pattern.
A VGA screen is 4x as big, not twice. I do not have access to an Axim 50v, therefore it will be hard for me to do anything about it. I can of course integrate existing code if someone has it available.
I suggest you have a look at Picard's code. It's at http://picard.exceed.hu/x50v/. It seems to make a huge difference for gapi based games.

I would rather see faster pixel doubling than a centered image.
Mr X wrote:I would rather see faster pixel doubling than a centered image.


I agree totally. And if there's any stylus input involved, it would be such a pain on a 1.85" screen (which is effectively what you get if you center it and ignore the other 75% of the screen).

BTW, my X50v's supposed to be arriving today. :D

-John
Mr X wrote:I would rather see faster pixel doubling than a centered image.


Why someone would do that is beyond me. Is that what GAPI does with hires-aware VGA apps? It sure doesn't do so for old GAPI based apps (including PocketHAL ones).
Thierry":3vtoiucx]

Eg yeti runs in a 320*240 window. On a non vga machine, it runs at 30-90 fps. If done in vga mode, it would run at about 25% of that, say 8-22 fps. This is not a playable speed so I need to run it at qvga.

Obviously I still want it to appear full screen, so someone is gong to have to do some doubling. It would be much more efficient if this was done late in the stage (ie phal) rather than earlier (ie in my code).
I meant: why would someone center the image. Of course it needs to be efficiently "pixel-doubled".
Sorry, I got confused between the posters :(
The programs I am running are qvga. Even with Picard's fix, the problem is that my Axim is 624 Mhz and I am getting 10 fps slower than my 400 Mhz iPaq. Without picard's fix, forget it.

Very disheartening!

I would be glad to test out any kind of fix on my axim if you need a test unit
I will address the Axim 50v in time. I expected this slowdown on the 50v from day one and it doesn't surprise me.

I can integrate Picard's "tweak" into PocketHAL, but to do anything more will require me having access to a device and/or someone providing me with code.
doh! Go buy a device! :P
seriously, I wish I could help

Again, I don't know if picard's fix goes far enough (though I am grateful for it). I should be getting much faster results with a faster processor
Hello Thierry,
with the X50v you have 2 options. Either do the pixel and line doubling using the 2700g (see Picards GAPI tweak). Using this you will get a flip time of about 4-5ms.
Or you use the PXA270s pixel/line doubling feature and configure the 2700Gs video switch to route the PXA270s LCD controller to the actual LCD. This will give you a flip time of about 1ms.

I guess either of these 2 methods needs to be implemented into PH, since it does not rely on GAPI as far as i understand.

Tala
Tala wrote:with the X50v you have 2 options.


Yes, and bother would require me to have access to a device to implement.

Tala wrote:I guess either of these 2 methods needs to be implemented into PH, since it does not rely on GAPI as far as i understand.


PocketHAL doesn't rely on GAPI, but it will use it if nothing else is available (ie: no custom driver).
Thierry, how is the VGA work coming? I am testing PPL programming language, which is using PocketHal/Frog. The maker won't do anything with VGA until the official release of a VGA suppoerted PocketHal/Frog is released (no betas).