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

            Bug ID: 485742
           Summary: HDR Colors Incorrect in Comparison to DRM Gamescope
                    Session
    Classification: Plasma
           Product: kwin
           Version: 6.0.4
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: abhi...@praveen.org.uk
  Target Milestone: ---

Created attachment 168649
  --> https://bugs.kde.org/attachment.cgi?id=168649&action=edit
EDID Dump of the FO32U2P

SUMMARY
HDR Colors using a nested Gamescope session in games under KDE Plasma look
clearly incorrect. I tested at least the following games:
Plague Tale Requiem
FF7 Remake
God of War

In each, I was able to explicitly enable HDR but there were clear issues with
the color. In God of War, reds looked halfway in between red and orange. Blues
in FF7 Remake were closer to a turqoise and Plague Tale Requiem looked as if a
fog was covering the screen. In comparison, running God of War in a DRM
(Embedded) Gamescope Session did not produce these issues. I think that this
indicates that this is a KDE Plasma Bug because HDR seems to be working under a
different compositor (gamescope).

STEPS TO REPRODUCE
1. A HDR monitor, I guess?
2. Start steam
3. Start one of the games listed above under steam with DXVK_HDR=1 and under
gamescope -W 3840 -w 3840 -H 2160 -h 2160 -f -r 165 --hdr-enabled

Also, I have tried many permutations of enabling different HDR layers and
setting different gamescope arguments and nothing seems to solve this issue.
Let me know if there is a specifc setup that I should test.

OBSERVED RESULT
As described above, significant color distortion.

EXPECTED RESULT
Good color output.

SOFTWARE/OS VERSIONS
Linux: 6.8.7
KDE Plasma Version: 6.0.4 
KDE Frameworks Version: 6.1.0? I have some 5.115.0 packages too though
Qt Version: qtbase is at 6.7.0
Mesa: 24.0.5
Monitor: Aorus FO32U2P (one other monitor is plugged in but not HDR capable)
over DisplayPort 2.1 at 165hz

ADDITIONAL INFORMATION
For comparison, the gamescope arguments I used for the DRM session were:
ENABLE_GAMESCOPE_WSI=1 gamescope -W 3840 -H 2160 -r 165 -O DP-1 --hdr-enabled

And, in this case I just set DXVK_HDR=1 in the launch arguments for the game
and nothing else (that is relevant).

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

Reply via email to