https://bugs.kde.org/show_bug.cgi?id=514454

            Bug ID: 514454
           Summary: Disabling AMS (KWIN_DRM_NO_AMS=1) breaks VRR when HDR
                    is enabled
    Classification: Plasma
           Product: kwin
      Version First 6.5.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
As soon as you disable AMS in KDE with KWIN_DRM_NO_AMS=1 VRR is broken in games
when HDR is active. This is not the case when HDR is not active and AMS is
disabled.

This can be observed in different games, we used Cronos the new Dawn demo on
steam

STEPS TO REPRODUCE
1. Install Cronos: The New Dawn demo on steam
2. Make sure KWIN_DRM_NO_AMS=1 is set for KDE and enable HDR in KDE
3. Start the game with proton experimental

OBSERVED RESULT
- VRR does not work at all

EXPECTED RESULT
- VRR works

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.19.0-rc4-273-tkg-eevdf (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 48 GiB of RAM (46.6 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT

ADDITIONAL INFORMATION
- VRR works fine with AMS enabled + HDR enabled
- VRR works fine with AMS enabled + HDR disabled
- VRR works fine with AMS disabled + HDR disabled
- The issues also happens on older kernels.
- Mesa version doesn't matter, for the test i used: 25.3.3-1
- It happens when you play the game with proton experimental in xwayland and
also happens if you play the game with proton-ge with winewayland.
- You do not need to enable HDR in game for the issue to show up
- We could confirm that issue also on a 7900XTX.

Many thx !

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to