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

            Bug ID: 502202
           Summary: HDR with VRR causing Gama/brightness flicker
    Classification: Plasma
           Product: kwin
           Version: 6.3.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: mifoni...@gmail.com
  Target Milestone: ---

***
Hello all,

I am seeing  a weird issue, not sure if this is due to HDR not being yet enough
mature. Or this is the classic VRR gamma flicker issue (which I dont think
cause I see the problem happening on stable Frame-rate and Frametimes).
However;

When Running HDR with VRR enabled (Helldivers 2) via Gamescope, I can see a
persistent strong Gamma/Brightness flicker. This flicker is seen even on a
stale image, meaning no movement with mouse or camera. I tried to CAP the
framerate using for example mangohud or ingame frame limiter but the issue is
still happening.

For example if I CAP the game at 90FPS the flickering is more and strongly
present while the FPS is kept at stable 90FPS.

The only way how to get rid of this is either:
1. Completely disable HDR for the game, meaning removing the steam launch
command. If the command is kept, but instead HDR is disabled in game the
flickering is still present.

2. Disable VRR for the game while HDR is enabled

***

STEPS TO REPRODUCE
1. Enable HDR in KDE

2. Enable HDR for the game
gamescope --force-grab-cursor -w 3440 -h 1440 -f -r 165 --hdr-enabled
--hdr-debug-force-output --xwayland-count 2 -- env STEAM_MULTIPLE_XWAYLANDS=1
DXVK_HDR=1 ENABLE_HDR_WSI=1  %command%

3. CAP the Framerate to 90FPS to see the flickering be more frequent and
present

OBSERVED RESULT
HDR + VRR create an excessive amount of Gamma/Brightness flicker at a stable
framerate

EXPECTED RESULT
At a stable Framerate flickering should not occur. 

If only HDR or VRR is enabled this is not occurring. When Both are running
together flickering start to appear.

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux (Arch)
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.13.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 30,4 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics (9070XT)
Graphics Processor 2: AMD Radeon Graphics (iGPU)
GPU Driver: Mesa 25.0.2-arch1.2 (amdgpu)
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E51
System Version: 1.0


ADDITIONAL INFORMATION
Monitor: 
AW3423DWF variable refresh rate with a 48-165Hz range

Steam launch command: 
gamescope --force-grab-cursor -w 3440 -h 1440 -f -r 165 --hdr-enabled
--hdr-debug-force-output --xwayland-count 2 -- env STEAM_MULTIPLE_XWAYLANDS=1
DXVK_HDR=1 ENABLE_HDR_WSI=1  %command%

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

Reply via email to