Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi Performance
#2
Hi Richard!

I was aware of the issues regarding performance on the RPi with SDL2. If I remember correctly, the default pre-packaged SDL2 is compiled without OpenGL/ES support, that's what the proprietary graphics driver of the RPi supports. Then, the driver reverts to software-based OpenGL emulation, causing the slow rendering. There are two solutions:
  • Build SDL2 from source, enabling the switch to support OpenGL/ES that's not enabled by default
  • Use raspi-config to choose the graphics driver to "Experimental OpenGL", that brings hardware acceleration to standard desktop OpenGL.
I had this issue with other cross-platform applications that use GLFW3 as window provider, requiring the "experimental" being enabled.

Thanks for pointing this!
Reply


Messages In This Thread
Raspberry Pi Performance - by Richard Kain - 09-25-2019, 01:55 AM
RE: Raspberry Pi Performance - by megamarc - 09-25-2019, 06:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)