Bug 477304

Summary: Invert Desktop effect are extremely dim on nvidia GPUs
Product: [Plasma] kwin Reporter: fanzhuyifan
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR Keywords: accessibility, qt6, regression
Version: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot before inversion
screenshot after inversion

Description fanzhuyifan 2023-11-21 00:01:18 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Go to settings - Window Management - Desktop effects
2. Enable Invert and assign shortcuts
3. Press the shortcuts when using firefox

OBSERVED RESULT
Firefox window turns black

EXPECTED RESULT
The colors of the firefox window should be inverted

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Neon unstable
(available in About System)
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
qt6, wayland, nvidia dGPU
Comment 1 fanzhuyifan 2023-11-21 00:04:02 UTC
Uppon closer inspection the window does not turn completely black, but rather extremely dark.
Comment 2 fanzhuyifan 2023-11-21 00:12:17 UTC
I just realized that this happens for all windows placed on the external monitor (they turn extremely dark), and has nothing to do with firefox.
This is a regression in plasma 6.
Comment 3 fanzhuyifan 2023-11-21 05:11:31 UTC
Yet another update: when I reported the problem, I was using a hybrid graphics system (nvidia dGPU and intel iGPU) with dynamic switching (optimus). I tried disabling my iGPU and I discovered that the problem occurs on both screens, instead of just on the external monitar. So this is probably a problem related to nvidia.
Comment 4 fanzhuyifan 2023-11-21 05:18:43 UTC
Created attachment 163334 [details]
screenshot before inversion
Comment 5 fanzhuyifan 2023-11-21 05:19:06 UTC
Created attachment 163335 [details]
screenshot after inversion
Comment 6 fanzhuyifan 2023-11-21 06:48:32 UTC
*** This bug has been marked as a duplicate of bug 443148 ***
Comment 7 David Edmundson 2023-11-23 09:08:50 UTC
*** This bug has been marked as a duplicate of bug 443148 ***