'eglCreateContext': egl error 'EGL_BAD_CONFIG' (0x3005)

1,550 views
Skip to first unread message

Mark A. Yoder

unread,
Jun 15, 2011, 11:02:41 AM6/15/11
to Beagle Board
When trying to run /usr/bin/gles2_bc_webcam-x11 I get the following
error:

# /usr/bin/gles2_bc_webcam-x11
INFO: current input is ov534
'eglCreateContext': egl error 'EGL_BAD_CONFIG' (0x3005)
ERROR: init EGL failed
Segmentation fault

This demo has worked before. It takes the video in from a web cam and
maps it on to a spinning cube. Something has happened so that it
isn't working now.

Any ideas on how to fix it?

--Mark

chrisr...@gmail.com

unread,
Jun 15, 2011, 11:38:13 AM6/15/11
to beagl...@googlegroups.com
Try setting up the powervr again instead put in rootfs /lib and reboot

>--
>You received this message because you are subscribed to the Google Groups "Beagle Board" group.
>To post to this group, send email to beagl...@googlegroups.com.
>To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
>For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
>

Mark A. Yoder

unread,
Jun 15, 2011, 12:15:23 PM6/15/11
to Beagle Board
Thanks for the suggestion. How do I setup powervr again?

opkg install xserver-kdrive-powervrsgx ?

--Mark

On Jun 15, 11:38 am, chrisromer...@gmail.com wrote:
> Try setting up the powervr again instead put in rootfs /lib and reboot
>

Mark A. Yoder

unread,
Jun 15, 2011, 12:17:06 PM6/15/11
to Beagle Board
I just tried the opkg I suggested below and I get the same error.

chris romero

unread,
Jun 15, 2011, 12:59:56 PM6/15/11
to beagl...@googlegroups.com
Mark, try this here remember you have to build the package on a x86 machine then copy to your sd card to deploy, if you can wait a couple of hours I can e-mail you the ready package all you would have to do is copy the GFX_Linux_Libs.tar.gz to the rootfs /lib directory and extract then your /lib folder and the you will see 2 files ./install-SGX.sh and ./run-SGX.sh first run the install then run and you will see PVR loading the modules and you will see the .SO plugins for sgx pvr in there, is there a particular reason you like Angstom I use ubuntu which tends to have more work around options. 

http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

hope this helps

Koen Kooi

unread,
Jun 15, 2011, 3:13:17 PM6/15/11
to beagl...@googlegroups.com

Op 15 jun 2011, om 18:59 heeft chris romero het volgende geschreven:

> Mark, try this here remember you have to build the package on a x86 machine then copy to your sd card to deploy,

No you don't! You only need to do 'opkg update ; opkg install libgles-omap3' is it hasn't been installed already. If that package is installed already the problem is somewhere is. If you when homebrew and did the things mentioned below, just throw the sd card in the trash and start with a clean angstrom image.

Mark A. Yoder

unread,
Jun 15, 2011, 4:24:43 PM6/15/11
to Beagle Board
I like the opkg approach better. Unfortunately after doing:

opkg update
opkg install libgles-omap3

I still get the same error. Any other ideas?

--Mark

On Jun 15, 3:13 pm, Koen Kooi <k...@beagleboard.org> wrote:
> Op 15 jun 2011, om 18:59 heeft chris romero het volgende geschreven:
>
> > Mark, try this here remember you have to build the package on a x86 machine then copy to your sd card to deploy,
>
> No you don't! You only need to do 'opkg update ; opkg install libgles-omap3' is it hasn't been installed already. If that package is installed already the problem is somewhere is. If you when homebrew and did the things mentioned below, just throw the sd card in the trash and start with a clean angstrom image.
>
>
>
>
>
>
>
> > if you can wait a couple of hours I can e-mail you the ready package all you would have to do is copy the GFX_Linux_Libs.tar.gz to the rootfs /lib directory and extract then your /lib folder and the you will see 2 files ./install-SGX.sh and ./run-SGX.sh first run the install then run and you will see PVR loading the modules and you will see the .SO plugins for sgx pvr in there, is there a particular reason you like Angstom I use ubuntu which tends to have more work around options.
>
> >http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom
>
> > hope this helps
>

chrisr...@gmail.com

unread,
Jun 15, 2011, 4:48:02 PM6/15/11
to beagl...@googlegroups.com
How bout
Opkg update then opkg install omap3-sgx-modules libgles-omap3
Or opkg install omap3-sgx-modules that should do it

"Mark A. Yoder" <mark.a...@gmail.com> wrote:

Mark A. Yoder

unread,
Jun 15, 2011, 7:02:02 PM6/15/11
to Beagle Board
Still no luck. I even tried --force-reinstall.

--Mark

On Jun 15, 4:48 pm, chrisromer...@gmail.com wrote:
> How bout
> Opkg update then opkg install omap3-sgx-modules libgles-omap3
> Or opkg install omap3-sgx-modules that should do it
>

Mark A. Yoder

unread,
Jun 15, 2011, 7:03:48 PM6/15/11
to Beagle Board
Earlier I was playing with installing some Qt stuff. Could it have
messed with something somewhere?

--Mark

On Jun 15, 4:48 pm, chrisromer...@gmail.com wrote:
> How bout
> Opkg update then opkg install omap3-sgx-modules libgles-omap3
> Or opkg install omap3-sgx-modules that should do it
>
Reply all
Reply to author
Forward
0 new messages