libEGL warning: MESA-LOADER: failed to open vivante: /usr/lib/dri/vivante_dri.so: cannot open shared object file

I’m trying to run a QT application. The following warning comes up and the application is lagging. I think it is related to the vivante graphics driver.

libEGL warning: MESA-LOADER: failed to open vivante: /usr/lib/dri/vivante_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

It seems to detect OpenGL ES.

qt3ds.trace_info: GLSL version: OpenGL ES GLSL ES 3.20
qt3ds.trace_info: GL version: OpenGL ES 3.2 Mesa 22.3.6
qt3ds.trace_info: HW vendor: Mesa/X.org
qt3ds.trace_info: Vendor renderer: llvmpipe (LLVM 15.0.6, 128 bits)

This application uses Qt 3D Studio and it is lagging at 1 to 3 fps. Can you please help me with this?

Application is running in “torizon/qt5-wayland-examples-vivante:3” docker container.

Thank you.

Hardware
Apalis iMX8QM 4GB WB IT v1.1 B
Ixora V1.1A
with TorizonCore 6.3.0+build.4

Hi @imeshsps,

Thanks for posting to Toradex Community!

Regarding you question, We see you are using Qt5 with TC6, please note with TC6 we have updated Debian to bookworm.

Will it be possible for you to test with Qt6 with TC 6.4.0 which should support hw acceleration and see if you are getting same issue.

Best Regards
Ritesh Kumar

Hey @ritesh.tx

I was able to overcome that by installing imx-gpu-viv-wayland-dev package in qt building process.

Thanks.