Slowness observed running a Quick 3D app on Android only
-
QT Creator : 8.0.1
Android kit: Android Qt 6.2.6 Clang arm64-v8a and Android Qt 6.3.2 Clang arm64-v8a
Build : CMake
androidBuildToolsVersion=33.0.0
androidCompileSdkVersion=33
androidNdkVersion=22.1.7171670
qtMinSdkVersion=23
qtTargetAbiList=arm64-v8a
qtTargetSdkVersion=31Hi,
We are developing a cross platform app dedicated to the sailing community worldwide.
The app is developped with QML and C++ and is using intensively the QT Quick 3D engine.
We are experiencing slowness on all Android devices and Android versions where we have tested the app ( Google Pixel 4a, Poco F2 pro, Xioami Pad 5, Samsun Galaxy tab S5e...)
What we see is the scene is refreshing fine (60fps) when we move it. As soon as we stop moving it, the entire app is frozen up to 5 or 6 seconds on the older devices and up to 1 or 2 seconds on the most recent ones.
If we clear the cache, the app starts to behave OK but after roughly 30 seconds, the slowness is back.
In the main.cpp file, we have tried :- to force OpenGL as the renderer but it does not make a difference: QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
- to set the default format to idealSurfaceFormat but it makes no difference : SurfaceFormat::setDefaultFormat(QQuick3D::idealSurfaceFormat());
What makes it really strange is that we have tested the app on low end Windows PCs with no issue at all, on old iPads (5th generation from 2017) with no issue with a frame rate of 60fps.
Is anyone aware of an issue with the the QT Quick 3D engine on Android?
Can anyone help us sorting this out?Thanks,
Henri