Page 1 of 1

Qt5.8 OpenGL and eglfs

Posted: Tue Apr 04, 2017 9:32 pm
by mikkie
Hi, I tried the latest build root on linux4sam in order to get QT5.8, in order to get OpenGL, in order to get QML maps to work.

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/ cannot open shared object file: No such file or directory
failed to load driver: atmel-hlcdc
Could not open egl display
and the /usr/lib/dri/ file does not exist.

these files are in the folder:
-rwxr-xr-x 2 root root 2802592 Apr 4 2017
-rwxr-xr-x 2 root root 2802592 Apr 4 2017

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