Enable OpenGL on Raspberry Pi 3

Muhammad Yunus
Oct 16, 2021
  • Open Raspberry Pi terminal,
sudo raspi-config
  • Select Advanced Options ,
  • Select GL Driver ,
  • Select GL (Full KMS),
  • Then reboot ,
sudo reboot
  • After that we can test OpenGL using glxgears from mesa-utils package,
sudo apt-get -y install mesa-utilsglxgears
  • The result should look like this,
rendered gears using OpenGL via glxgears command
  • It’s give me ~10 FPS during SSH with X11 Forwarding, you probably will get higher FPS if run directly from physical monitor into your Raspberry Pi. Using higher version Raspberry Pi, also will give you a better performance.

Source :

--

--

Muhammad Yunus

IoT Engineer, Software Developer & Machine Learning Enthusiast