Bug 500429 - krfb starts gobbling cpu when gaming
Summary: krfb starts gobbling cpu when gaming
Status: REPORTED
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-19 18:39 UTC by saunders
Modified: 2025-02-19 18:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description saunders 2025-02-19 18:39:50 UTC
SUMMARY
krfb starts gobbling around 50-60% of one thread when starting a game, much like https://bugs.kde.org/show_bug.cgi?id=464800 . krfb also had no clients connected so could be related to https://bugs.kde.org/show_bug.cgi?id=464802 as well. Could be related to using gamescope https://github.com/ValveSoftware/gamescope .

STEPS TO REPRODUCE
1. load steam, start helldivers 2. using gamescope.
2. looking into whats making it laggy I discovered krfb gobbling lots of cpu for no reason.

OBSERVED RESULT
gobbling cpu. stopping this gave me ~5fps back. go figure.

EXPECTED RESULT
krfb justs sits there eating nothing since no client is connected.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 3950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070