Bug 492174 - Adaptive Sync is deactivated when the window goes out of focus
Summary: Adaptive Sync is deactivated when the window goes out of focus
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-25 18:15 UTC by Wyatt Childers
Modified: 2025-02-10 17:27 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 Wyatt Childers 2024-08-25 18:15:24 UTC
SUMMARY
When in a multi-monitor setup (using automatic adaptive sync), if a full screen window goes out of focus, adaptive sync is disabled even if it remains an otherwise exclusive full screen application

STEPS TO REPRODUCE
1. Put a window into full screen, ensure adaptive sync is on
2. Change the currently focused window to a window on a different monitor

OBSERVED RESULT
Adaptive sync is disabled for the full screen application

EXPECTED RESULT
Adaptive sync stays on for the full screen window

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 61.9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASUS

ADDITIONAL INFORMATION
This is made slightly more annoying than "just not benefiting from adaptive sync" as (at least on my machine) there is a disruptive flicker to black whenever adaptive sync is toggled on/off.
Comment 1 Zamundaaa 2025-02-10 17:27:50 UTC
Yeah, the code currently only checks the active window. It should probably search for the topmost window and check if that's fullscreen instead.