Created attachment 175154 [details] I have to record from phone. because not visible from screenshots and screenvideos. SUMMARY When you switch to night mode, the pattern of grey and white of files (e.g. Dolphin) disappears. this also effects on shadowing of windows too. refer to attachment. This bug appear with Plasma 6.2.0 update. STEPS TO REPRODUCE 1. open Dolphin 2. turn on night mode 3. gray-white pattern of files disappear SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: AMD Ryzen 5 5600H with Radeon Graphics
*** Bug 495252 has been marked as a duplicate of this bug. ***
UPDATE: It seems to be Wayland issue. no issue with x11; also shadowing of windows is not smooth.
UPDATE: I did fresh install on Virtualbox and no issues, but fresh install on my actual hardware, have the issues.
UPDATE: I tested on KDE Neon Live - unstable edition (neon-unstable-20241110-1149.iso). The bug persists on normal boot mode, but in "KDE Neon (safe graphics)", I didn't see the issue. This bug is even visible from windows screenshot. When you turn on night mode on opened image from Gwenview, the issue is visible. refer to new attachment.
Created attachment 175754 [details] New video from bug. KDE Neon
Can't reproduce, the contrast between the lines is good with the exact same color temperature. Are you using an ICC profile?
(In reply to Zamundaaa from comment #6) > Can't reproduce, the contrast between the lines is good with the exact same > color temperature. > Are you using an ICC profile? Thanks for your reply. No; Color profile setting is "None". Even with fresh install and default settings from multiple distributions, the result is same.
*** Bug 495370 has been marked as a duplicate of this bug. ***
Created attachment 176025 [details] identity ICC profile There's one more thing you could test: As this sounds like it's somehow caused by kms offloading, what happens if you set an ICC profile? The one I attached has the same color information as selecting "none" for the color profile, so it shouldn't change colors in any way except disabling kms offloading.
(In reply to Zamundaaa from comment #9) > Created attachment 176025 [details] > identity ICC profile > > There's one more thing you could test: As this sounds like it's somehow > caused by kms offloading, what happens if you set an ICC profile? > The one I attached has the same color information as selecting "none" for > the color profile, so it shouldn't change colors in any way except disabling > kms offloading. Thanks; setting this ICC profile resolves all issues regarding this bug and its duplicate (Bug 495370).
I'm the user opening one of the duplicate issues, I tested the attached ICC profile too, and can confirm that by using it, the issue seems solved.
okay, then please attach the output of drm_info, once with the ICC profile, and once with the color profile set to "none" and night light enabled
Created attachment 176044 [details] drm_info output (In reply to Zamundaaa from comment #12) > okay, then please attach the output of drm_info, once with the ICC profile, > and once with the color profile set to "none" and night light enabled I've attached it. The outputs is based on KDE Neon unstable edition (neon-unstable-20241110-1149). Software KDE Plasma Version: 6.2.80 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.0 Kernel Version: 6.8.0-48-generic (64-bit) Graphics Platform: Wayland
Created attachment 176358 [details] 2nd drm_info output (In reply to Zamundaaa from comment #12) > okay, then please attach the output of drm_info, once with the ICC profile, > and once with the color profile set to "none" and night light enabled I've made another output, but this time on my main OS. It is little different output than last time. I don't know if this normal. but I've attached it maybe it is worthy. Operating System: Arch Linux KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.1 Kernel Version: 6.12.1-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics Graphics Processor: AMD Radeon Graphics
Okay, I suspect that this is a driver bug, triggered by KWin using the degamma lut instead of the gamma lut like it did before. Could you test a small patch for KWin, on top of 6.2, to find out if that's correct?
(In reply to Zamundaaa from comment #15) > Okay, I suspect that this is a driver bug, triggered by KWin using the > degamma lut instead of the gamma lut like it did before. > > Could you test a small patch for KWin, on top of 6.2, to find out if that's > correct? Sure, thank you.
Created attachment 176685 [details] patch to disable the degamma lut Okay, here you go. Let me know if the issue still happens with that
(In reply to Zamundaaa from comment #17) > Created attachment 176685 [details] > patch to disable the degamma lut > > Okay, here you go. Let me know if the issue still happens with that Thanks. It resolves the issue.
Okay, then please report this at https://gitlab.freedesktop.org/drm/amd/-/issues. In the hopefully near future this problem might solve itself by having better kernel APIs that would replace DEGAMMA_LUT, but until then it still needs to work correctly
(In reply to Zamundaaa from comment #15) > Okay, I suspect that this is a driver bug, triggered by KWin using the > degamma lut instead of the gamma lut like it did before. hello, I update my system from 6.2.4 to 6.3.3 and custom icc profile doesn't work anymore. I would love to hear any solution. I changed 'Color accuracy' from 'Prefer efficiency' to 'Prefer color accuracy' and seems to be OK, but it comes with warning that impact on performance. how big deal this is? > Okay, then please report this at https://gitlab.freedesktop.org/drm/amd/-/issues. > In the hopefully near future this problem might solve itself > by having better kernel APIs that would replace DEGAMMA_LUT, > but until then it still needs to work correctly I checked the issues page but reporting it was too much technical for me.
> I changed 'Color accuracy' from 'Prefer efficiency' to 'Prefer color accuracy' and seems to be OK, but it comes with warning that impact on performance. how big deal this is? It has similar performance to just using an ICC profile in 6.2. If that was fine for you, this will be too. > I checked the issues page but reporting it was too much technical for me. We still can't do anything about it here. Unless it's fixed in the driver, the issue will just persist until those mentioned APIs are finally merged.
(In reply to Zamundaaa from comment #21) > > I changed 'Color accuracy' from 'Prefer efficiency' to 'Prefer color accuracy' and seems to be OK, but it comes with warning that impact on performance. how big deal this is? > It has similar performance to just using an ICC profile in 6.2. If that was > fine for you, this will be too. > > > I checked the issues page but reporting it was too much technical for me. > We still can't do anything about it here. Unless it's fixed in the driver, > the issue will just persist until those mentioned APIs are finally merged. Thank you very much