https://bugs.kde.org/show_bug.cgi?id=529231
--- Comment #2 from [email protected] --- can reproduce on RX 9070 XT, KWin 6.8.3, Mesa 26.3.1, DP-3 3440x1440@170 + HDMI 1080p60, with gpu-screen-recorder capturing DP-3 via the portal (maxFramerate 170000/1000): Start the screencast after login: vkcube --wsi wayland --present_mode 2 on DP-3 runs at 169 fps. Change any output setting (e.g. toggle VRR, or probably monitors waking from sleep): vkcube drops to 19 fps until the screencast is stopped. Wine's Wayland driver is affected too. Cause, I think: primaryView() (b145d8b5) picks the view with the highest refreshRate(), and screencast views count. Here the screencast ties with the output at 170000, and handleOutputsChanged() re-adds the output views after it, so max_element returns the screencast. Maybe screencast views shouldn't be considered in primaryView()? -- You are receiving this mail because: You are watching all bug changes.
