Hello,
the libIMGegl.so provided by omap5-sgx-ddk-um-linux depends on wayland.
Is there a libIGMegl,.so available that does not depend on wayland libs?
I still need DRM support (qt5->eglfs->egl/drm->driver)
Best regards,
Lo
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Lo2 said:Is there a libIGMegl,.so available that does not depend on wayland libs?
I haven't heard of such libIMGegl.so. All devices that use the omap5-sgx-ddk-um-linux have wayland as their graphics environment.
Best Regards,
Yordan
Hi George,
you'll need the libraries for the target system (in the sysroot), not for your host machine.
You can get libgbm here: https://github.com/robclark/libgbm
I do run ubuntu 14.04 LTS but on my host machine there's no need for libgbm on the host side.
It should be possible to run qt5 on eglfs without wayland but the SGX binaries don't support this mode of operation.
Btw: the last time I checked rebuilding the SDK from source (the arago project/OE stuff) it failed at qt5 :-)
I'd still be interested in running qt5 using the eglfs qpa without libwayland but that's a topic for a new thread.
Regards,
Lo2
Hi Lo2,
That make sense, installing libwayland on host is not necessary, and libgbm is already part of part of processor-sdk-02.00.02.11.
Once added bitbake "-k' option, both wayland and libgbm were built after qt5, rerun the same bitbake command then qt5 is built and all "libIMGegl.so: undefined reference" error messages are gone. I suspect there is a dependency issue should be addressed by a new thread as well.
Thanks,
George
Hi George,
Do you have the config line of qt5?
I'm not sure how ti configured qt5 and why it should depend on libwayland (when used in eglfs kms/drm mode).
Off topic: The kmscube demo is gone and does not run out of the box anymore - it was a nice example on how to use libdrm directly.
Best regards,
Lo2
Hi user731153,
libwayland-*.so is part of wayland, so if you build wayland the libs should be installed.
Afaik the newer SDKs (03.xx.xx.xx) only support accelerated SGX graphics via wayland. Anyway wayland is mandatory to build the SGX kernel module / userspace combo. There are binary examples of the OGLES2*-demos that use the NullWS, they are installed adjacent to the wayland ones.
I only use Qt5/EGLFS (directly, no wayland) based on what is shipped in SDK 02.xx.xx.xx.
Best regards,
Lo2