Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.11.1, 5.11.2
-
None
-
Gentoo Linux x86_64 (amd64)
Kernel: gentoo-sources-4.14.65
Graphics: nvidia-driver-387.34
Xorg: x11-base/xorg-server-1.19.5-r2
Description
After upgrading from qt-5.9.6 to qt-5.11.1, I've noticed that "kate" application from KDE was starting really slow, with noticeable visual bugs: first it starts in window mode, after a few moments it goes into maximized window mode, but it takes few seconds to actually redraw the window of application.
I've tried downgrading to qt-5.9.6, and performance issues disappeared. I've also tried resizing window of "konsole" application, result was same: qt-5.9.6 works fine, qt-5.11.1 works very slow and with noticeable visual bugs. KDE applications and libraries remained same version, only qt version changed.
After that I've tried running kate and konsole in empty openbox session, issues remained with qt-5.11.1.
After that I've tried qterminal from lxqt (https://github.com/lxqt/qterminal), which is pure qt application, and it had same issues. It uses qtbase, qtdbus and qtx11extras, and it doesn't use qml.
Also, when using qt-5.11.1, in "top" I see a few "kworker" processes consuming high cpu % when gui of qt application is updated/modified (for example, window is resized). I don't observe such cpu consumption with qt-5.9.6.
I've bisected qtbase repository from 5.9.6 to 5.11.1 and found first bad commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=24adaa9a742e6f95ff897d0eb9a2bce0527dd042
I've tried using qt-5.11.2, but it didn't fix issue to me.
Adding following lines to xorg configuration circumvents issue for me:
Section "Extensions" Option "MIT-SHM" "Disable" EndSection
I'm attaching output of xdpyinfo.
Attachments
Issue Links
- relates to
-
QTBUG-72535 Qt applications crash with SIGBUS if /var/tmp directory is too small or out of space
- Closed