Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving over to Raspberry Pi 3B+
#11
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.
Reply
#12
did you set it to legacy, so its using OpenGLES2.0?
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply
#13
Ah, I found setting GL (Full KMS) via raspi-config cleared some of the issue and glxgears looks much better.

I do get new MESA-LOADER errors though.

MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
HelloTriangle: ../src/main.cpp:233: void init_ogl(Target_State*, int, int): Assertion `state->surface != ((EGLSurface)0)' failed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)