[yocto] [meta-raspberrypi] gles2 on raspi3

Trevor Woerner twoerner at gmail.com
Sat Apr 15 06:39:28 PDT 2017


Hi,

I seem to have all the pieces in place, but can't get gles2 to work on the
raspberry pi. Specifically I'm using the raspberry pi 3, but the 32-bit armv7
build.

gles2 is provided by userland, and I've compiled up a couple gles2 programs.
Compiling succeeds without issue, but running is another case.

E.g.

	# es2_info
	Error: eglGetDisplay() failed

	# glmark2-es2
	Error: eglGetDisplay() failed with error: 0x3000
	Error: eglGetDisplay() failed with error: 0x3000
	Error: main: Could not initialize canvas

	# google-chrome --use-gl=egl
	[3487:3487:0415/133334:ERROR:gl_surface_egl.cc(605)] EGL display query failed with error EGL_SUCCESS
	[3487:3487:0415/133334:ERROR:gl_surface_egl.cc(612)] eglInitialize Default failed with error EGL_BAD_DISPLAY
	[3487:3487:0415/133334:ERROR:gl_initializer_x11.cc(142)] GLSurfaceEGL::InitializeOneOff failed.
	[3487:3487:0415/133334:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process. 
	[3487:3487:0415/133334:ERROR:gpu_child_thread.cc(348)] Exiting GPU process due to errors during initialization

Thoughts?

Does anyone have any of these (or something else?) working?

Thanks and best regards,
	Trevor



More information about the yocto mailing list