PocketMatrix forums

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

OpenGL ES Problem (Dell X50v)

I copied one of Intel's examples, yet my screen area is only about 24x240 and stuck in the upper left. It appears that what is displayed is shrunk to this size... ie; the whole scene is visible, just way too small. The same program works just fine on the PC.. so I am a little confused. It also crashes at odd points on the Dell and never on the PC... seems to have something to do with textures/texture memory.

Anyone have any ideas???
I believe you need to have a resource entry to tell it to use 640x480 (assuming that's what you want to do?). My advice is to look at the examples at the PowerVR developer site in the SDK, which includes their source. You should be able to get up and running fairly quickly once you do this.
Greg
The power vr sampels include a resource file that enables 640*480. Just add that to your project and it should go fullscreen.
Yes, that was the problem. I knew about this and promptly forgot it. :( Honestly, adding four lines to a .RC file was about the last thing I was thinking about. ;)

The crash problem remains and it seems to be related to texturing.. ie; no textures no crash. I have about 74 textures totaling 16MB. At this size it doesn't even draw the first poly before crashing. If I downsample by 2, it draws quite a few before crashing. If I downsize by 4, it draw *less* before crashing. I am probably going to convert all textures to PVRTC and see if the problem goes away...

Thanks for the help!
Kristof-PowerVR · 16 Apr 2005, 08:18 UTC
When you say it works on PC do you mean our PCViewer as part of the PowerVR SDK ?

Have you tried running the app in eVC debug mode ? Might give you a hint about what is causing the crash.

If you checked your code and can't find the cause then you can always send a repro case to devrel@powervr.com.

Thanks,

K-
I am running on the PC with nVidia's ES wrappers and it works fine. I converted all my textures to PVRTC (4 bit) and that didn't change anything... other than taking up a whole lot less memory. Very good quality BTW. I changed some other things that were not really related and the crash went away. Not fixed, mind you, it just went and hid somewhere else. When it comes back I will get more serious about finding it.. right now I am just trying to get everything else complete.

BTW, this is a very really good chip and we are quite pleased with the performance. One could make some great games for devices using the PowerVR core.

Cheers,

jb
I am running on the PC with nVidia's ES wrappers and it works fine.


just a note: i suggest that in case you want to do development on the PC, you should get Hybrid's Gerbera implementation of OpenGL ES...

bye,
Daniel
Kristof-PowerVR · 18 Apr 2005, 09:23 UTC
drgoldie wrote:
I am running on the PC with nVidia's ES wrappers and it works fine.


just a note: i suggest that in case you want to do development on the PC, you should get Hybrid's Gerbera implementation of OpenGL ES...

bye,
Daniel


Actually given that the target platform is the Dell Axim X50v which is using an Intel 2700G chip which is based on the PowerVR MBX Family of 3D accelerators I would suggest using the PowerVR PC Emulation wrapper which is available here :

http://www.pvrdev.com/Pub/MBX/OGLES_WindowsPCEmulation/default.htm

Key advantage is that this wrapper gives developers access to **all** PowerVR MBX functionality including advanced features such as PVRTC Compression, VGP Vertex Shader, etc... obviously this functionality is not available in general purpose OGLES wrappers (such as Hybrid's Gerbera).

Hope this helps,

Kristof.
Kristof-PowerVR":3q8avju0]

Can you provide more information on the VGP support that's available in the version of the 2700G that's used in the Dell Axim x50v - I didn't think this version had one?
i'd also be interested in this vertex shader suppport. especially since i thought that the 2700G processes the vertices on the CPU anyway...

thanks,
Daniel
Kristof-PowerVR · 20 Apr 2005, 08:27 UTC
drgoldie wrote:
Key advantage is that this wrapper gives developers access to **all** PowerVR MBX functionality including advanced features such as PVRTC Compression, VGP Vertex Shader...


Can you provide more information on the VGP support that's available in the version of the 2700G that's used in the Dell Axim x50v - I didn't think this version had one?


As you might know MBX technology has been licensed by a large number of partners in various configurations.

While the i2700G has no VGP unit (as can be seen from the extension string returned by the driver), other future products (such as those based on the Texas Instruments OMAP2420 - Check here for more developer details, Renesas SHMobile, etc.) do support this functionality.

So when developing new applications it makes sense to think ahead and aim for multi-platform MBX support which could include VGP functionality.

The current PC Emulation SDK allows you to evaluate this functionality.

For i2700G specifically the PowerVR PC Emulation would give you access to DOT3 and other advanced blending modes and PVRTC compression support, which would not be available in general OGLES wrappers.

K-