OpenGLES and Raspberry PI 3
Posted: Fri Nov 22, 2019 5:15 pm
Hi!
I've just tried some simple OpenGLES examples on my R-Pi 3, and it looks like the things have got worse than before.
Lots of thing used to work a year ago, however everything I try seems to fail now.
For example, SDL2 + OpenGLES used to work with the KMS OpenGL driver according to:
https://www.youtube.com/watch?v=u-quGjXq7Wk
https://github.com/timskillman/raspberrypi
However, SDL2 + OpenGLES works only with legacy OpenGL drivers, which is extremely slow.
With KMS GL enabled it fails to create GL context with the following message: "Could not create GL congext: GLXBadFBConfig".
I've also tried the example from /opt/vc/src/hello_pi/hello_triangle.
This doesn't work with KMS as well showing "failed to add service - already in use?" message.
Is it still possible to use OpenGLES and have some decent performance with h/w acceleration?
I'm using the latest Raspbian Buster. I've also tried building the latest SDL libs from source with no luck.
Does anyone have a working GLES + KMS GL driver example for Raspbian?
Do I need to use any alternative OS to get decent OpenES performance?
Any help is greatly appreciated!
Thanks,
V.
I've just tried some simple OpenGLES examples on my R-Pi 3, and it looks like the things have got worse than before.
Lots of thing used to work a year ago, however everything I try seems to fail now.
For example, SDL2 + OpenGLES used to work with the KMS OpenGL driver according to:
https://www.youtube.com/watch?v=u-quGjXq7Wk
https://github.com/timskillman/raspberrypi
However, SDL2 + OpenGLES works only with legacy OpenGL drivers, which is extremely slow.
With KMS GL enabled it fails to create GL context with the following message: "Could not create GL congext: GLXBadFBConfig".
I've also tried the example from /opt/vc/src/hello_pi/hello_triangle.
This doesn't work with KMS as well showing "failed to add service - already in use?" message.
Is it still possible to use OpenGLES and have some decent performance with h/w acceleration?
I'm using the latest Raspbian Buster. I've also tried building the latest SDL libs from source with no luck.
Does anyone have a working GLES + KMS GL driver example for Raspbian?
Do I need to use any alternative OS to get decent OpenES performance?
Any help is greatly appreciated!
Thanks,
V.