Bug 469505 - Chromium applications in Wayland get increasingly slow and unresponsive and ultimately stop working
Summary: Chromium applications in Wayland get increasingly slow and unresponsive and u...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-08 18:27 UTC by Anna
Modified: 2023-05-15 20:26 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 Anna 2023-05-08 18:27:13 UTC
SUMMARY

Applications that use a chromium backend such as discord and steam will be workable for a period of time, but after an indeterminate amount of time (sometimes an hour or two, sometimes far less, it seems to be more on how much you interact with it than time though it's kind of both) the application will become sluggish and unresponsive, and eventually will not change pages/views for whatever that means in the application, such as discord not changing servers/channels, steam not loading or getting stuck on various pages, a chromium-based idle game I play called Increlution will eventually stop loading some modals that e.g. show your progress on the last few runs. The current/stable version of Steam is nigh-unusable, though the linux beta update works a bit better for longer before freezing.

Note that when the UI becomes responsive, the application doesn't seem to be wholly frozen. It feels like a cousin to a memory leak, like further and further delay is added to UI interactions and at some point it causes the UI to take an untenably long time to respond to input or stop it entirely, it's not clear.

This only happens on Wayland it does not happen on X11.

STEPS TO REPRODUCE
1. Run a wayland session
2. Launch Discord, steam, or some other chromium application
3. The longer you use it or the more you try to do, the worse it gets

OBSERVED RESULT
Chromium-based application becomes sluggish and unresponsive, and eventually needs to be restarted to work

EXPECTED RESULT
Chromium-based applications should continue to work responsively and well with extended use

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux 2.13 linux-6.3.1-gentoo 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 32 GB DDR5
GPU: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
Motherboard: ASRock X670E Steel Legend
Comment 1 Nate Graham 2023-05-15 20:26:36 UTC
Given the consistent pattern, I'm somewhat confident this is a Chromium or Electron issue, and not something KDE code is causing. I would recommend reporting it upstream.

In general, when you have problems with apps, it's best to report bugs for the apps' developers, not the desktop environment in which the app is run.