https://bugs.kde.org/show_bug.cgi?id=452726
Vlad Zahorodnii <vlad.zahorod...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/kwin/commit/1d8c9c62cffe |ma/kwin/commit/b870ec804b23 |74d60636d6840d486a50b7b8200 |a727bc926777820107dc5f2567a |3 |0 --- Comment #13 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit b870ec804b23a727bc926777820107dc5f2567a0 by Vlad Zahorodnii. Committed on 27/09/2022 at 07:48. Pushed by vladz into branch 'Plasma/5.26'. backends/drm: Fix 100% cpu usage after tty switch The drm fd can get stuck in readable state, in which case the QSocketNotifier will fire the activated signal as often as it can leading to high cpu usage. We need to read() the drm fd in order to make the socket notifier stop firing QSocketNotifier::activated. This change removes the m_platform->isActive() check to ensure that drmHandleEvent() gets called, in general, it should be safe as we only notify the outputs about completed pageflips. (cherry picked from commit 1d8c9c62cffe74d60636d6840d486a50b7b82003) M +0 -3 src/backends/drm/drm_gpu.cpp https://invent.kde.org/plasma/kwin/commit/b870ec804b23a727bc926777820107dc5f2567a0 -- You are receiving this mail because: You are watching all bug changes.