fbGetDisplayByIndex() missing from libEGL.so since imx-gpu-viv-6.4.11.p2.6 (L6.6.23_2.0.0)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fbGetDisplayByIndex() missing from libEGL.so since imx-gpu-viv-6.4.11.p2.6 (L6.6.23_2.0.0)

656 Views
klarinettli
Contributor I

Since imx-gpu-viv-6.4.11.p2.6 the symbols fbGetDisplayByIndex()/fbGetDisplay()/etc. are missing from libEGL.so. The symbols are defined in gpu-core/usr/include/EGL/eglvivante.h

The configure step of qtbase uses fbGetDisplayByIndex() to determine if the vivante backend shall be compiled. The same function is also used functionally in QT.

Are theses symbols missing on purpose? If yes, in which library are they available now?

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

626 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Which platform are you based on? Wayland or eglfs? And can you share the error you are facing?

Best Regards,
Zhiming

0 Kudos
Reply

616 Views
klarinettli
Contributor I

We're using the eglfs platform.

As shown below, the "fbGetDisplayByIndex" symbol remains in the header file but is missing in the actual libraries in 6.4.11.p2.6:

❯ grep -r fbGetDisplayByIndex imx-gpu-viv-6.4.11.p2.2-aarch32-fd0148d
imx-gpu-viv-6.4.11.p2.2-aarch32-fd0148d/gpu-core/usr/include/EGL/eglvivante.h:fbGetDisplayByIndex(
grep: imx-gpu-viv-6.4.11.p2.2-aarch32-fd0148d/gpu-core/usr/lib/fb/libEGL.so.1.5.0: binary file matches
grep: imx-gpu-viv-6.4.11.p2.2-aarch32-fd0148d/gpu-core/usr/lib/fb/libVDK.so.1.2.0: binary file matches
grep: imx-gpu-viv-6.4.11.p2.2-aarch32-fd0148d/gpu-core/usr/lib/wayland/libEGL.so.1.5.0: binary file matches

❯ grep -r fbGetDisplayByIndex imx-gpu-viv-6.4.11.p2.6-aarch64-bc7b6a2
imx-gpu-viv-6.4.11.p2.6-aarch64-bc7b6a2/gpu-core/usr/include/EGL/eglvivante.h:fbGetDisplayByIndex(

 

0 Kudos
Reply

604 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

If you are using i.MX8MM, please use eglfs_kms which using drm api.

The eglfs_vivi is for i.MX6, the gpu library has removed the FB support on i.MX8

Best Regards,
Zhiming

0 Kudos
Reply