代码之家  ›  专栏  ›  技术社区  ›  JustWe

Raspbian QML性能不佳

  •  2
  • JustWe  · 技术社区  · 8 年前

    在飞思卡尔/约克托和树莓/树莓上运行相同的QML程序,这两个测试设备的CPU几乎相同 armv7 . 但拉斯班队的表现非常糟糕。并发出警告

    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平台的bug。

    2 回复  |  直到 8 年前
        1
  •  3
  •   JustWe    8 年前

    我找到了提高性能的解决方案: 启用OpenGL驱动程序解决了这个问题。

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

    现在工作正常,但仍然可以 JIT 警告

        2
  •  0
  •   Miguel Angel Pons    8 年前

    必须重建Qt才能获得完整的eglfs或X11/openGL功能 和交叉编译功能