[yocto] [meta-raspberrypi] gles2 on raspi3

Andreas Müller schnitzeltony at googlemail.com
Sat Apr 15 07:46:14 PDT 2017


On Sat, Apr 15, 2017 at 3:39 PM, Trevor Woerner <twoerner at gmail.com> wrote:
> 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?
>
Ehm userland gles2 on X11? I would not expect that to work. Experts
correct me but userland acceleration works for fullscreen apps only.
Why not using FOSS VC4+mesa?

Andreas



More information about the yocto mailing list