Raspbian QML bad performance

2019-02-27 12:31发布

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.

2条回答
三岁会撩人
2楼-- · 2019-02-27 13:10

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

查看更多
▲ chillily
3楼-- · 2019-02-27 13:11

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.

查看更多
登录 后发表回答