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

            Bug ID: 477016
           Summary: VRR always enabled in full-screen, ignores/overrides
                    drirc.d config
    Classification: Plasma
           Product: kwin
           Version: 5.27.9
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: mequer...@gmail.com
  Target Milestone: ---

When adaptive sync / VRR is set to "Automatic" in "Display Configuration", it's
always enabled in full-screen programs, even when `adaptive_sync` is set to
`false` for that particular program in
`/usr/share/drirc.d/00-mesa-defaults.conf`. E.g. adaptive sync is blocked by
default for Firefox in `00-mesa-defaults.conf`, but adaptive sync still gets
enabled when setting Firefox to full-screen in KDE. Because of this, moving
(and stopping) the cursor in full-screen mode in Firefox causes the refresh
rate to rapidly fluctuate between the lowest refresh rate (e.g. 48 Hz) and
highest refresh rate (e.g. 240 Hz). This causes a lot of brightness flickering
on VA monitors (and possibly some IPS monitors as well). There also doesn't
seem to be a way in KDE to disable VRR for a specific program. The only related
rule property that can be added in "Window Rules" is to block compositing,
which doesn't help.

So two problems:
1. KDE seems to ignore `/usr/share/drirc.d/*.conf`, at least for
`adaptive_sync`. Is this a KDE bug or is there a problem somewhere else?
2. KDE doesn't have any way to force disable (nor enable) VRR just for a
specific program. Adding an "adaptive sync" rule property to "Window Rules"
seems like a simple solution.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6650 XT (driver: amdgpu)

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

Reply via email to