OpenGL ES with EGLFS - Raspberry Pi Forums


g'day,

i'm quite confused how opengl works on rpi (rpi2 in case), i'm hoping more knowledgeable offer insight. i've built , configured custom qt5 package on eglfs-based raspbian lite image (no x environment). pyqt5 application works nicely part, including use of qopenglwidgets, believe use hardware-accelerated rendering opposed rastered qwidget brothers.

i'm trying implement real-time plotting of data stream. i've tried blitting matplotlib, standard plotting pyqtgraph. both raster-based , cause gui lock up, , can offer <1hz refresh rate. weeks of research, discussions on forums , mailing lists, i've come conclusion vispy solution. vispy offers opengl hardware-accelerated plotting, should provide required refresh rates real-time plotting on rpi. issue i'm having vispy can't find opengl libraries. similarly, can't run glxgears (error: couldn't open display (null)).

assumption opengl es 2.0 configured qt5 installation sufficient, i've tried using in-built opengl option in raspi-config well. guess i'm looking direction here; qopenglwidgets work expected qt5-configured opengl es 2.0, glxgears doesn't? there issue here eglfs?

input/guidance appreciated!

:)

glxgears x-windows application.
experimental opengl drivers in "raspi-config" only x-windows use. ( might wrong )

utilize eglfs best in qt5 (afaik) use qtquick2 modules because uses scenegraph rendering.
http://doc.qt.io/qt-5/qtquick-visualcan ... graph.html

examples find written in qml, qtquick2 can used c++ also.
http://doc.qt.io/qt-5/qtquick-module.html

have collection of standard widgets.
http://doc.qt.io/qt-5/qtquickcontrols-index.html

example qml dataplotter.
https://doc.qt.io/qt-5/qtcharts-qmlosci ... ample.html
http://www.arnorehn.de/blog/2014/12/qui ... lot-items/


raspberrypi



Comments

Popular posts from this blog

Help with Missing Filename Error?

more info - Joomla! Forum - community, help and support

Using phone battery to power a plane.