Qt5.8 OpenGL and eglfs

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Posts: 2
Joined: Wed Jul 06, 2016 10:33 pm

Qt5.8 OpenGL and eglfs

Tue Apr 04, 2017 9:32 pm

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/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
and the /usr/lib/dri/atmel-hlcdc_dri.so file does not exist.

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

Return to “LINUX”

Who is online

Users browsing this forum: Baidu [Spider] and 12 guests