Bug 500429

Summary: krfb starts gobbling cpu when gaming
Product: [Applications] krfb Reporter: saunders
Component: generalAssignee: George Goldberg <grundleborg>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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