This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Overo CE / GLES / demos do not work ?!

I am trying to make the OpenGL Embedded System (GLES) to work on my Gumstix Overo.
I use opkg update and opkg install libgles-omap3 to install the package, with the dev and
demos. When I check the demos under /usr/bin/SGX/demos/raw/

root@omap3-multi:/usr/bin/SGX/demos# cd Raw
root@omap3-multi:/usr/bin/SGX/demos/Raw# dir
OGLES2ChameleonMan OGLESEvilSkull OGLESPolyBump
OGLES2Coverflow OGLESFilmTV OGLESShadowTechniques
OGLES2FilmTV OGLESFiveSpheres OGLESSkybox
OGLES2PhantomMask OGLESFur OGLESTrilinear
OGLES2Shaders OGLESLighting OGLESUserClipPlanes
OGLES2Skybox2 OGLESMouse OGLESVase
OGLES2Water OGLESOptimizeMesh 
OGLESCoverflow OGLESParticles

I then export the DISPLAY ... and try the different examples but get error message 

root@omap3-multi:/usr/bin/SGX/demos/Raw# export DISPLAY=:0.0
root@omap3-multi:/usr/bin/SGX/demos/Raw# ./OGLESFiveSpheres -qws
PVRShell: EGL 1.4 initialized
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x0
Serial number of failed request: 7
Current serial number in output stream: 8

Any suggestions ?

Brahim

==============================================================

root@omap3-multi:~# cat /etc/powervr.ini
[default]
WindowSystem=libpvrQWSWSEGL.so 

==============================================================

root@omap3-multi:~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 497.82
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3

Hardware : Gumstix Overo
Revision : 0020
Serial : 0000000000000000

==============================================================

 root@omap3-multi:~# cat /proc/pvr/version
Version 1.6.16.3977 (release) /home/bhamadicharef/overo-oe/tmp/work/omap3-multi-angstrom-linux-gnueabi/
omap3-sgx-modules-1.6.16.3977-r102k/Graphics_SDK_4_03_00_02/GFX_Linux_KM
System Version String: SGX revision = 1.2.1

==============================================================

root@omap3-multi:~# fbset -i

mode "640x480-61"
# D: 24.000 MHz, H: 30.000 kHz, V: 60.730 Hz
geometry 640 480 640 480 16
timings 41666 80 48 3 7 32 4
rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
Name : omapfb
Address : 0x9f400000
Size : 614400
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 1280
Accelerator : No

==============================================================

root@omap3-multi:~# cat /sys/class/graphics/fb0/rotate
0

==============================================================

root@omap3-multi:~# lsmod
Module Size Used by
omaplfb 8025 0
pvrsrvkm 146876 2 bufferclass_ti,omaplfb

==============================================================

root@omap3-multi:~# cat /proc/cmdline
console=ttyO2,115200n8 mpurate=500 vram=12M omapfb.mode=dvi:640x480MR-16@60 
omapfb.debug=y omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
init=/usr/bin/bootchart-lite

==============================================================

root@omap3-multi:~# uname -a
Linux omap3-multi 3.0.0 #1 Tue Apr 24 16:17:43 SGT 2012 armv7l GNU/Linux