High CPU usage with Qt6/Xwayland v3.32.5.1

QCAD Version: 3.32.5.1
Operating System: Arch Linux / KDE / Wayland

I installed QCAD Pro 3.32.5.1 Qt6 version, and noticed high CPU usage, due some some Xwayland processes. The app works fine and is usable, and I haven’t noticed any slowdowns, but it makes my laptop quite warm, the fans are continuously running and this affects battery life…

I do not observe this with the QCAD Pro 3.32.6 Qt5.14 version.

Can you try to change the qcad launch script from:

QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR:$DIR/plugins" "$binary" -platform xcb "$@"

to

QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR:$DIR/plugins" "$binary" -platform wayland "$@"

Not in front of my personal computer right now, but will try later today.

Thanks!

It does not seem to change a lot…

I now seem to have a single qcad/wayland vs several Xwayland previously, but CPU usage remains very high (in comparison with Qt5 version) :thinking:

Can you share something about your laptop specs (CPU, cores, RAM, etc.)?