viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
285 stars 64 forks source link

USB Connection Listener eats CPU #64

Closed aselafernando closed 2 years ago

aselafernando commented 2 years ago

Debian 11 x64 QT5.15.2

CPU i5-6500

All plugins disabled except libusbconnectionlistener-plugin.so

asela@debian:~/hud$ QT_QPA_PLATFORM=eglfs QT_QPA_EGLFS_ALWAYS_SET_MODE=1 QT_QPA_EGLFS_KMS_ATOMIC=1 ./headunit-app
364 ms : loading plugins
Plugin Object: Plugin loaded :  "UsbConnectionListenerPlugin"
371 ms : loading theme
Theme Manager: Theme loaded :  "/home/asela/hud/themes/default-theme/libdefault-theme.so"
Theme Manager: Theme init finished
387 ms : Loading theme loader
qrc:/qml/DashView.qml:121:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///home/asela/hud/themes/default-theme/HUDTheme/BackgroundImage.qml:29:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qml: Loader loaded
517 ms : Starting main loop

image