Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
OpenGLES and EGLFS
jars121 last edited by
This is a (presumably) very basic question, so I apologise in advance, but I'm really struggling with it. I've built Qt 5.9 for my Raspberry Pi 2 with OpenGLES enabled and EGLFS. I can run my PyQt5 application on the EGLFS platform at present, so I'm reasonably comfortable with that particular process.
I'm working on some real-time plots at the moment, and I'm trying to utilise some of the OpenGL plotting interfaces on offer from both pyqtgraph and vispy. However, whenever I try and run an example application/plot (validated as working on my development machine), I receive the following error:
EGLFS: OpenGL windows cannot be mixed with others. Aborted
The searching I've done thus far suggests that EGLFS doesn't allow multiple OpenGL instances (please correct me if I'm wrong). If that's the case, is the EGLFS platform itself an OpenGL instance? If so, is the EGLFS platform then incompatible with any OpenGL-based applications? Would I need to then use Wayland instead?
Sorry for the million questions, I'm just struggling to arrive at a way forward on this issue, as the software rendered plots I've used previously are too slow on the RPi, and the only OpenGL-based options I've come across for PyQt5 present this error on the EGLFS platform.