error while running OpenGLES test

Hi all,
While trying to run OpenGL ES demo, Iam etting following error.
Can anyone tell me what am I doing wrong ?

Regards,
Rupesh Gujare

./usr/local/bin/gles1test1 -t

PVR_K:(Error): PVRSRVCreateDCSwapChainKM: Failed to create 3rd party SwapChain [
912, /backup/omap3-sgx-modules-1.3.13.1397/services4/srvkm/env/linux/kbuild/…/.
./…/…/srvkm/common/deviceclass.c]
‘eglCreateWindowSurface’ returned egl error ‘EGL_NOT_INITIALIZED’ (0x3001)

Bootargs are :-

console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait omapfb.mode=dvi:1280x720MR-16@50

Regards,

Rupesh Gujare

3rd party display class driver driver makes use of fb driver
double/triples for flipping, please make sure you are able to open and
map memory from /dev/fb0
you can use fbset or fbmode to find more details about Framebuffer.

Regards,
-Ragha

Ragha,

3rd party display class driver driver makes use of fb driver
double/triples for flipping, please make sure you are able to open and
map memory from /dev/fb0

Can you tell me how to ensure that ?

you can use fbset or fbmode to find more details about Framebuffer.

o/p from fbset looks like this :-

fbset

mode “1280x720-51”

D: 54.002 MHz, H: 37.501 kHz, V: 50.883 Hz

geometry 1280 720 1280 720 16
timings 18518 80 48 3 9 32 5
accel false
rgba 5/11,6/5,5/0,0/0
endmode

Ragha,

3rd party display class driver driver makes use of fb driver
double/triples for flipping, please make sure you are able to open and
map memory from /dev/fb0

Can you tell me how to ensure that ?

If your display is working well, then you have the right FB. Though
the DisplayClass driver expects FB to be at least double buffered if
not triple.

Can you build the kernel modules in debug mode and send the dmesg log
after insmod and log during running test application.

Also if you can send me 'cat /proc/`pidof gles1test1`/maps output,
this shows what WS EGL you are using.

you can use fbset or fbmode to find more details about Framebuffer.

o/p from fbset looks like this :-
# fbset

mode "1280x720-51"
# D: 54.002 MHz, H: 37.501 kHz, V: 50.883 Hz
geometry 1280 720 1280 720 16
timings 18518 80 48 3 9 32 5
accel false
rgba 5/11,6/5,5/0,0/0
endmode

this looks okie,

Regards,
-Ragha