Raspbian QML bad performance

梦想与她 提交于 2019-12-20 02:55:06

问题


The same QML program run on Freescale/Yocto and Raspberry/Raspbian, these two test devices have almost same CPU armv7. But the Raspbain side had very bad performance. and give this warning

JIT is disabled for QML. Property bindings and animations will be very slow. 
Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.

Even simple QML example also gives that. So to enable JIT, do I have to rebuild the Qt environment? or it's a bug of Raspbain platform.


回答1:


I found the solution to improve the performance: Enable OpenGL driver solved the problem.

  1. Open raspi-config
  2. Advanced Options
  3. GL Driver
  4. GL(Full KMS)

Now working well, but still get the JIT warning.




回答2:


You must rebuild Qt to get full eglfs or X11/openGL features and crosscompiling features



来源:https://stackoverflow.com/questions/47899501/raspbian-qml-bad-performance

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!