https://bugs.kde.org/show_bug.cgi?id=508999
Bug ID: 508999
Summary: Old screen content sometimes not updated with color
blindness correction enabled
Classification: Plasma
Product: kwin
Version First 6.3.4
Reported In:
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: platform-drm
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 184622
--> https://bugs.kde.org/attachment.cgi?id=184622&action=edit
Demonstrates the bug, with closed context menus still visible
SUMMARY
When Colour blindness correction or the invert effect is enabled,
I see a number of graphical glitches.
The most obvious is that when reading a PDF in Firefox, context
menus do not disappear from the screen when closed.
STEPS TO REPRODUCE
1. Enable Colour blindness correction
2. Start Firefox (using Wayland)
3. Open a PDF file
4. Zoom out so that the pdf.js background is visible
5. Right click in various places on the background
OBSERVED RESULT
The old context menus stay on the screen and do not disappear after being
dismissed.
EXPECTED RESULT
The context menus disappear when closed.
SOFTWARE/OS VERSIONS
Operating System: Ubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Graphics Processor: Adreno X1-85
ADDITIONAL INFORMATION
Bisected to
commit 6bd07ad6b30e34f43652934630d30234ad65ac7c (HEAD)
Author: Xaver Hugl <[email protected]>
Date: Tue Jul 9 12:09:33 2024 +0200
backends/drm: remove the shadow buffer when possible, and reduce it to
10bpc when not
Using the custom values for min. and max. luminance in transfer functions,
we can reduce the
ranges of values in the shadow buffer to be limited to [0, 1], and with
that we can switch
from a floating point buffer back to a normalized format. As gamma 2.2
encoding is much more
efficient at storing color values, this also drops the buffer from 16bpc
down to 10bpc.
Furthermore, this offloads the gamma 2.2 -> PQ conversion to KMS when
possible, and then uses
the scanout buffer with gamma 2.2 encoding directly. This way the shadow
buffer gets completely
skipped and performance and efficiency get improved a lot.
BUG: 491452
CCBUG: 477223
--
You are receiving this mail because:
You are watching all bug changes.