PocketMatrix forums

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

Help me fixing an issue with VGA devices

Hello everybody,

I'm doing this little MOD-Player:
http://oldschool.voodoofrog.com/

Lately somebody reported the visual screens to be
slow/choppy on newer VGA devices (e.g. Dell X50v),
but unfortunately i don't own a VGA device so basically I'm looking for somebody
with a VGA device and coding experience to help me fix this issue.
If you like to help me out feel free to write me a private message, e-mail or even post here ;)

Thanks,
Peter
Works just fine on the ipaq hx4700. Granted it has a fast cpu (pxa270 at 624mhz), it runs very well, both in qvga and vga modes (only displays in top left quadrant of screen in vga mode). Sound quality is excellent, IO_D sounds incredible.

I know my way around writing fast graphics and interfaces, I might be able to pitch in if youre interested.
@MrMister:
Thanks for the report.
So this issue rather seems to be a problem of the X50v than a problem of the display resolution.
Rendering of the visuals is done into a backbuffer which is then copied
into the window by using simple BitBlt. Fast enough even on my 150Mhz MIPS device :/
It looks like you application is not hires aware. In this case the OS has to upscale you Window on VGA devices, which tends to be very slow.
You should redo your artwork for 640x480 and make your player hires aware.

In addition on the X50v you have the opportunity to render your artwork using OpenGL ES.

Tala
@Tala:

You're right my application is not hires-aware.

If I'd create a 480x640 window and make a StretchBlt instead of a BitBlt
that would be damn slow as well, wouldn't it?
(right now the whole skin is double-buffered and then copied into the window)

Is there any "cheap" vga device out there?
The x50 as far as I know is the cheapest one out there.
sponge wrote:The x50 as far as I know is the cheapest one out there.

Is the X50v the only one supporting hires?

I looked at the dell site today and all others seemed to have lores displays only.
yes, you want the x50V model for vga screen & thye fast processor.
(wackily the X50V is not showing on the UK Dell site at the moment. There's an X50GPS in it's place.)
By the way, have you considered using PocketHAL?

Its basically a library that gives you raw access to the lcd's framebuffer, letting you render graphics at 60fps or more. And it renders very nicely in scaled 240x320, regardless if the device is high res or not (I'm assuming it makes the lcd do the scaling via hardware, not software transforms). I bet your performance issues will disappear if you use it. On my hx4700, I've seen framerates of 120+, even if the device is in hires mode.

http://www.droneship.com/pockethal/index.html
PHAL is nice if you want to go fullscreen but I wanted to keep standard WinCE menus and dialogs and stuff.