Raspbian QML 性能不佳 [英] Raspbian QML bad performance
本文介绍了Raspbian QML 性能不佳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Freescale/Yocto 和 Raspberry/Raspbian 上运行相同的 QML 程序,这两个测试设备具有几乎相同的 CPU armv7
.但是 Raspbain 方面的表现非常糟糕.并发出此警告
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.
即使是简单的 QML 示例也给出了这一点.那么要启用JIT,我是否必须重建Qt环境?或者是 Raspbain 平台的错误.
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.
推荐答案
我找到了提高性能的解决方案:启用OpenGL驱动解决了问题.
I found the solution to improve the performance: Enable OpenGL driver solved the problem.
- 打开
raspi-config
高级选项
GL 驱动
GL(完整 KMS)
现在运行良好,但仍然收到 JIT
警告.
Now working well, but still get the JIT
warning.
这篇关于Raspbian QML 性能不佳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文