Bug 497737 - Adaptive Sync doesn't work properly when you open 2 or more 3d applications
Summary: Adaptive Sync doesn't work properly when you open 2 or more 3d applications
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 03:34 UTC by username
Modified: 2024-12-21 06:28 UTC (History)
1 user (show)

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 username 2024-12-21 03:34:05 UTC
SUMMARY
Adaptive Sync is working fine when only one 3d application is active. When you open more apps that utilize 3d graphics, the fps start jumping like crazy

STEPS TO REPRODUCE
1. Set Adaptive Sync to Automatic
2. Open some 3d game
3. Open VRRTest or any other 3d game
4. Make sure the fps is different in both games. For example, you can cap the game to 60 fps and set 100 fps in VRRTest
5. Loot at your display OSD menu, it will dynamically show adaptive refresh rate

OBSERVED RESULT
FPS is jumping like crazy. It looks like VRR is active for both applications at the same time. If you try to minimize one of app, this will not help

EXPECTED RESULT
VRR should be active only on focused application. For some reason if you open just 2 instances of VRRTest, it will work as expected. But if you open game + VRRTest/any other game, the issue will happen

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6900 XT