Bug 364268 - krunner puts system under heavy load when playing (OpenGL) games
Summary: krunner puts system under heavy load when playing (OpenGL) games
Status: RESOLVED DUPLICATE of bug 374909
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-13 09:51 UTC by Janek Bevendorff
Modified: 2020-10-11 18:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2016-06-13 09:51:52 UTC
When playing games, kwin usually automatically disables compositing (and if not I have a window rule for it). At some point I wondered why my gaming performance was so bad. I was playing at about 15 FPS instead of 60-100FPS. Opening htop revealed that krunner was hogging all my CPU cores at 100% until I killed it.

I cannot reproduce this behavior on demand, but it has happened ever since. Disabling compositing doesn't directly start this behavior in every case, but it happens quite often. On some days I get lucky and cannot even reproduce it when toggling compositing all the time, on other days it starts as soon as compositing is disabled almost reliably. It has never happened when compositing was on, but once krunner has gone wild, it doesn't stop only because I turn it back on (i.e. I have to kill it in any case).

Reproducible: Sometimes
Comment 1 Janek Bevendorff 2016-06-14 17:31:53 UTC
After some days where I played with an explicit window rule NOT to disable compositing I noticed (to my surprise) that the issue still occurs. So I looks like it's not the compositing but the game itself (in this case Dota2) that causes krunner to run at 100% CPU on all cores.
Comment 2 Alexander Lohnau 2020-10-11 18:27:10 UTC
*** This bug has been marked as a duplicate of bug 374909 ***