https://bugs.kde.org/show_bug.cgi?id=499917
Zamundaaa <xaver.h...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |CONFIRMED Ever confirmed|0 |1 --- Comment #19 from Zamundaaa <xaver.h...@gmail.com> --- Thanks. In that log, gamescope does > [ 478951.190] {Default Queue} -> > xdg_toplevel_icon_manager_v1#13.create_icon(new id xdg_toplevel_icon_v1#163) > [ 478951.213] {Default Queue} -> wl_shm#7.create_pool(new id > wl_shm_pool#167, fd 105, 4096) > [ 478951.216] {Default Queue} -> wl_shm_pool#167.create_buffer(new id > wl_buffer#169, 0, 32, 32, 128, 0) > [ 478951.217] {Default Queue} -> > xdg_toplevel_icon_v1#163.add_buffer(wl_buffer#169, 1) > [ 478951.219] {Default Queue} -> > xdg_toplevel_icon_manager_v1#13.set_icon(xdg_toplevel#118, > xdg_toplevel_icon_v1#163) pretty often, but by far not often enough for plasmashell to use enough fds to cause issues. I guess that when you see the crash, plasmashell happens to be a lot slower than usual, while gamescope changes its icon more often than usual. I used a small test program that sets the icon 100x a second to try to reproduce it, and after quite a while it did happen. Notable there is that plasmashell 1. slowed down a *lot* while running the test program. Opening kickoff took like 10-20 seconds 2. had like 600 open fds sometimes before going back down 3. has a soft fd limit of 1024 4. it felt like the crash was triggered by me switching window focus, but I'm not sure As the simplest workaround for this, plasmashell could raise its file descriptor limit. A nicer fix could be to only allow one pending get_icon request per window, which would also at least reduce the chance for apps to slow it down with excessive icon changes. It would also be good to report this to gamescope as well, I doubt that the icon is actually changing that often. Even with this bug fixed, it'll cause unnecessary CPU usage in gamescope, kwin_wayland and plasmashell. -- You are receiving this mail because: You are watching all bug changes.