Bug 10021 - libqeglfs-viv-integration.so file is missing for qt5 on armv7
Summary: libqeglfs-viv-integration.so file is missing for qt5 on armv7
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Peter Seiderer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 11:26 UTC by Refik Tuzakli
Modified: 2017-08-11 13:58 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
defconfin file (3.22 KB, text/plain)
2017-07-10 11:26 UTC, Refik Tuzakli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Refik Tuzakli 2017-07-10 11:26:14 UTC
Created attachment 7096 [details]
defconfin file

Hi,

I want build linux thats run qt5 and it uses gpu on imx6dl. So it need libqeglfs-viv-integration.so file at /usr/lib/qt/plugins/egldeviceintegrations to link gpu driver vivante and eglsfs from qt but it is missing although I select imx-gpu-viv and eglfs support. build root does not create integration file.

BR2_PACKAGE_IMX_GPU_VIV [=y]
BR2_PACKAGE_QT5BASE_EGLFS [=y]
BR2_PACKAGE_QT5BASE_OPENGL [=y]

instead there is ligelfs-viv-kms-integration even it does not selected.
Comment 1 Peter Seiderer 2017-08-08 19:47:34 UTC
(In reply to Refik Tuzakli from comment #0)

Hello Refik,

did a buildroot compile with your defconfig file, your missing libqeglfs-viv-integration.so file is compiled and installed here:

$ find target   -name "*-viv-*"
target/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-viv-integration.so

Mind to try a complete rebuild (after 'make clean')?

In case of failure please post the qt5base configure summary output, e.g.:

Configure summary:

Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-buildroot-g++ (arm, CPU features: <none>)
Configuration: cross_compile compile_examples enable_new_dtags largefile shared release c++11 c++14 c++1z concurrent dbus mremap reduce_exports release_tools stl
Build options:
  Mode ................................... release; optimized tools
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C++ standard ..................... C++1z
  Using gold linker ...................... no
  Using new DTAGS ........................ yes
  Using precompiled headers .............. no
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. no
  Build parts ............................ examples libs
Qt modules and options:
[...]
  EGL .................................... yes
  OpenVG ................................. yes
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... yes
  INTEGRITY HID .......................... no
  mtdev .................................. yes
  tslib .................................. yes
  xkbcommon-evdev ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS i.Mx6 .......................... yes
    EGLFS i.Mx6 Wayland .................. no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... no
  LinuxFB ................................ no
[...]


And additinonal the lines about the egl-viv test:

> gmake[2]: Entering directory '.../build/qt5base-5.9.1/config.tests/qpa/eglfs-viv'
[...]
> gmake[2]: Leaving directory '.../build/qt5base-5.9.1/config.tests/qpa/eglfs-viv'
test config.gui.tests.egl-viv succeeded

Did only a compile test here, no runtime test, because of lack of i.mx6 board at hand...

Regards,
Peter
Comment 2 Thomas Petazzoni 2017-08-11 13:58:00 UTC
Closing bug as "Works for me", since Peter Seiderer couldn't reproduce the problem, which was probably caused by a partial build.