Bugzilla – Bug 1223317
Qt applications may suffer from heavy UI stalls
Last modified: 2024-04-28 08:38:01 UTC
My first bug report here, pls. be kind. Facts: * https://bugreports.qt.io/browse/QTBUG-109511 * openSUSE Leap 15.5 is currently shipping Qt 6.4.2 Observed Effects: Qt 6.4.0 has introduced a new "feature", which offloads some parts of rendering activity (blending, RGB conversions, etc.) to the global instance of the QThreadPool. This global instance is public and docs advise applications to use this pool. Any application which uses this pool for offloading several potentially long running tasks, will experience heavy stalls in drawing their UI. Because the UI thread is offloading simple drawing activities into that always crowded pool, and therefore continuously being put asleep by the OS. Solution: There are two: 1. Either update openSUSE Leap 15.5 to ship Qt 6.4.3, or 2. create a patch which removes offloading to the QThreadPool in various place listed e.g. here: https://codereview.qt-project.org/c/qt/qtbase/+/462755