10-28-2018, 07:19 AM
Yeah, I'm seeing a Surface issue with the RasPi 3B+. The code worked with a B+ and older Raspbian, but with the latest and the 3b+ it no worky.
The HelloTriangle example from the book shows the following:
HelloTriangle: ../src/main.cpp:233: void init_ogl(Target_State*, int, int): Assertion `state->surface != ((EGLSurface)0)' failed.
The peepo openGL-RPi-tutorial produces this.
libEGL warning: DRI2: failed to authenticate
tutorial01_first_screen: /home/pi/development/opengles/openGL-RPi-tutorial/common/startScreen.cpp:107: void InitGraphics(): Assertion `GSurface != EGL_NO_SURFACE' failed.
Also, glxgears does not run smooth like on the Beaglebone even when using a monitor via HDMI.
The HelloTriangle example from the book shows the following:
HelloTriangle: ../src/main.cpp:233: void init_ogl(Target_State*, int, int): Assertion `state->surface != ((EGLSurface)0)' failed.
The peepo openGL-RPi-tutorial produces this.
libEGL warning: DRI2: failed to authenticate
tutorial01_first_screen: /home/pi/development/opengles/openGL-RPi-tutorial/common/startScreen.cpp:107: void InitGraphics(): Assertion `GSurface != EGL_NO_SURFACE' failed.
Also, glxgears does not run smooth like on the Beaglebone even when using a monitor via HDMI.