So for OpenGL, I need the MESA3D stage, selected that and some other stuff for EGL etc. in build root.
I am being vague because I did so many things before coming here to post question.
I get the following error when I try to run my application:
Code: Select all
# ./OrionPoc -platform eglfs
QML debugging is enabled. Only use this in a safe environment.
MESA-LOADER: device is not located on the PCI bus
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/atmel-hlcdc_dri.so: cannot open shared object file: No such file or directory
failed to load driver: atmel-hlcdc
Could not open egl display
Aborted
these files are in the folder:
-rwxr-xr-x 2 root root 2802592 Apr 4 2017 kms_swrast_dri.so
-rwxr-xr-x 2 root root 2802592 Apr 4 2017 swrast_dri.so
So to me it looks as if I must tell QT or MESA to use kms_swrast... but how?
My question is really:
Where can I get more information about how to get OpenGL support (sw rendering) for the SAMA5D3?
Thanks in advance