Enable OpenGL on Raspberry Pi 3
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
frommesa-utils
package,
sudo apt-get -y install mesa-utilsglxgears
- The result should look like this,
- 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.