Bug 495869 - There is a color mismatch on application's text being rendered when I enable HDR on my monitor (AW3423DW) as I am using an NVIDIA card
Summary: There is a color mismatch on application's text being rendered when I enable...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.2.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-06 09:20 UTC by noreporter
Modified: 2024-11-10 19:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Color mismatch when opening firefox and see the color mismatch in the bookmarks (8.02 KB, image/png)
2024-11-06 09:20 UTC, noreporter
Details
InfoCenter info about wayland (64.39 KB, text/plain)
2024-11-06 09:21 UTC, noreporter
Details
xdpyinfo about color depth of my monitor (82.03 KB, text/plain)
2024-11-06 09:22 UTC, noreporter
Details
Color mismatch in Konsole (177.94 KB, image/png)
2024-11-06 09:25 UTC, noreporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description noreporter 2024-11-06 09:20:04 UTC
Created attachment 175573 [details]
Color mismatch when opening firefox and see the color mismatch in the bookmarks

SUMMARY: When I enable HDR option on my monitor(AW3423DW) under Wayland with my NVIDIA card by adding KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1 in /etc/environment. When I tick the enable HDR option, applications couldn't render with correct colors as I would see some color mixes when I move applications to certain places on my monitor(most noticeable under konsole and firefox). Although the method can solve this issue, I can still see color mismatch but less noticeable. The latest NVIDIA driver I have for this issue is 565. This problem still persists in Plasma 6.2.2 but the black screen when leaving hdr enabled when login into Wayland is fixed after upgrading to 565. I have reported this to NVIDIA developers but they haven't responded(https://forums.developer.nvidia.com/t/565-release-feedback-discussion/310777/113)


STEPS TO REPRODUCE
1. Add KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1 in /etc/environment
2. Enable HDR
3. Open applications under Plasma like Konsole and  Firefox ( See the bookmarks for the effect) 

OBSERVED RESULT
Texts in the applications like Konsole and Firefox would have mixed colors when moving ( can be seen even without moving)

EXPECTED RESULT
 
Applications under Plasma should have their color be consistent regardless of where it was moved

SOFTWARE/OS VERSIONS

(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Comment 1 noreporter 2024-11-06 09:21:33 UTC
Created attachment 175574 [details]
InfoCenter info about wayland
Comment 2 noreporter 2024-11-06 09:22:33 UTC
Created attachment 175575 [details]
xdpyinfo about color depth of my monitor
Comment 3 noreporter 2024-11-06 09:25:12 UTC
Created attachment 175576 [details]
Color mismatch in Konsole
Comment 4 Zamundaaa 2024-11-06 12:53:00 UTC
What's the issue exactly? Your screenshots look okay to me
Comment 5 noreporter 2024-11-06 14:07:36 UTC
(In reply to Zamundaaa from comment #4)
> What's the issue exactly? Your screenshots look okay to me

Really ? I thought the screenshot of my firefox bookmarks when I enable HDR on my monitor would prove my problem
Comment 6 noreporter 2024-11-06 14:13:43 UTC
Maybe I need to elaborate more on how I see this problem. The packages I have installed in order to help me see this problem more clearly is kde-material-you-colors and plasma6-applets-panel-colorizer. Here is the video link(https://www.youtube-nocookie.com/embed/mQh0QE3OW3w). But I can still see this problem even without installing these packages
Comment 7 noreporter 2024-11-08 10:55:16 UTC
Can you see the problem on your part , Zamundaa ?
Comment 8 noreporter 2024-11-09 12:28:21 UTC
I would like to update on this problem,  I have managed to identify the issue with how the text's colors are being displayed on my monitor , which is the refresh rate I set for my monitor( I report this problem when monitor's refresh rate at the time was 175 Hz) . When I decrease the refresh rate of my monitor from 175 Hz to 144 Hz  it solved the problem. I guess this is an NVIDIA problem so I am going to report this to NVIDIA. This problem is solved, thank you
Comment 9 noreporter 2024-11-09 12:49:53 UTC
Zamundaaa , can you report this problem to NVIDIA developers ?. I have run out amount of times I can reply to their post on their website. Thank you
Comment 10 Zamundaaa 2024-11-10 19:48:23 UTC
(In reply to noreporter from comment #7)
> Can you see the problem on your part , Zamundaa ?
No, the screenshots look completely fine. Which makes sense, if the problem is on the screen / GPU scanout side.

(In reply to noreporter from comment #9)
> Zamundaaa , can you report this problem to NVIDIA developers ?. I have run
> out amount of times I can reply to their post on their website. Thank you
No, but afaik you can just make a separate post for the problem.