https://bugs.kde.org/show_bug.cgi?id=528749
Bug ID: 528749
Summary: Checkerboard/dot pattern on dark areas, only on DP
monitor not my DVI monitor. Dithering? Can't turn off
in wayland.
Classification: Plasma
Product: kwin
Version First 6.8.2
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: compositing
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198397
--> https://bugs.kde.org/attachment.cgi?id=198397&action=edit
nvidia-bug-report
TITLE: Fixed dot/checker pattern in dark areas on one output only (DP, AOC
2460G4);
DVI output clean; KWin Wayland + GTX 1070 + 580.196.07; present in screenshots;
clean on Windows
SUMMARY
A fixed, regular pattern of slightly lighter pixels (diamond/checker-like) is
visible in
dark, flat areas on one of two monitors, on the desktop and in games. It is
present in
screenshots (cropped examples attached), not only on the physical screen. It
appears on
the DisplayPort monitor (AOC 2460G4) and not on the DVI-D monitor (Dell
E207WFP). The same
monitor and DP cable do not show it under Windows. Both outputs run an 8 bpc
(24bpp 4:4:4)
link, and KWin scans out a 16-bit floating-point framebuffer to both. The
NVIDIA DRM
driver exposes no bit depth, color range or dithering property on Wayland.
SYSTEM
- GPU: GeForce GTX 1070 (GP104, 10de:1b81)
- Driver: NVIDIA 580.196.07
- Kernel: 7.3.3-1-cachyos
- OS: CachyOS
- Session: KDE Plasma 6.8.2 on Wayland (KWin)
- Monitor A (affected): AOC 2460G4, DisplayPort (DP-0), 1920x1080 @ 144 Hz
- Monitor B (not affected): Dell E207WFP, DVI-D (DVI-D-0), 1680x1050 @ 59.88 Hz
- KWin settings on monitor A at time of capture: Adaptive sync "Always", Color
accuracy
"Prefer color accuracy", ICC profile loaded (AOC G2460PF.icm), Brightness 25%
SYMPTOM
- Regular repeating lattice of slightly lighter pixels in dark flat areas (dark
snow in
a game, dark desktop backgrounds).
- Visible on the desktop and in games, most noticeable in dark scenes.
- Visible only on monitor A. Monitor B shows nothing comparable.
- Also present when monitor A is set to 60 Hz, so it is not specific to 144 Hz.
- Present in screenshots taken on this system (cropped examples attached). A
downscaled
full-resolution screenshot hides it; a native-resolution crop shows it.
WHAT I MEASURED
1) /proc/driver/nvidia-modeset/heads:
head 2 : AOC 2460G4 (DP-0) protocol DP 1920 x 1080 @ 144.0008 Hz
depth 24bpp 4:4:4
head 3 : DELL E207WFP (DVI-D-0) protocol TMDS 1680 x 1050 @ 59.8833 Hz
depth 24bpp 4:4:4
(captured at 144 Hz; not captured at 60 Hz)
2) drm_info (attached): the active primary planes use framebuffer format
ABGR16161616F. Pitch 15360 bytes (1920 x 8) on monitor A's plane, 13440
bytes
(1680 x 8) on monitor B's plane.
3) drm_info on nvidia-drm: no "max bpc", "Broadcast RGB" or dithering property.
Connector properties are limited to EDID, DPMS, link-status, non-desktop,
TILE,
CRTC_ID, Colorspace, HDR_OUTPUT_METADATA, vrr_capable. link-status is Good
on both.
4) Monitor A's EDID (in the attached nvidia-bug-report) advertises a digital 8
bits-per-color
input over DisplayPort (byte 0x14 = 0xa5), consistent with the 24bpp link
above.
5) KWIN_DRM_PREFER_COLOR_DEPTH=24 in /etc/environment plus a reboot had no
effect:
drm_info still reported ABGR16161616F afterwards (variable since removed).
6) nvidia-bug-report shows no Xid, nvidia-modeset or nvidia-drm errors.
TRIED, NO CHANGE
- Same DP cable and monitor under Windows: no pattern (so not the cable or
monitor)
- Refresh rate lowered, including to 60 Hz
- ICC profile removed (the profile is otherwise kept, it corrects the monitor's
colors)
- Night Light off
- Adaptive sync set to "Never"
- Color accuracy setting changed
- Brightness slider set to 100% (normally 25% because the monitor is too
bright): no change
- KWIN_DRM_PREFER_COLOR_DEPTH=24 (see above)
- Plasma X11 session tried earlier: same pattern. I did not record whether
dithering was
changed during that test.
UNKNOWN / NOT TESTED
- Which component adds the pattern: KWin's rendering, or the driver's FP16 -> 8
bpc
conversion. Because it appears in screenshots, I cannot assume it is added
after
KWin's output.
- Whether KWin applies dithering to this output, and whether it can be
disabled.
- Whether the driver dithers on the DP head and not on the DVI-D head.
- Behavior with an 8-bit framebuffer: I could not get KWin to scan out anything
other
than FP16 on NVIDIA.
QUESTIONS
For KWin:
1. Does KWin apply dithering (or another per-output post-process) when
rendering this
output? If so, is there a way to disable it? Why would it apply to only one
of two
outputs that both use ABGR16161616F?
For NVIDIA:
2. Does the display engine dither the FP16 -> 8 bpc conversion on DP, and not
on TMDS?
3. Is there a supported way on Wayland to disable or select the dithering mode
(the
equivalent of the nvidia-settings Dithering attributes on X11)?
4. Is there a known issue with ABGR16161616F scanout on Pascal on the 580
branch?
ATTACHMENTS
- drm.txt (full drm_info output)
- nvidia-bug-report.log.gz
- Cropped screenshots showing the pattern
POSSIBLY RELATED (not confirmed to be the same issue)
- KDE bug 510846, "Checkerboard artifacts in dark colors on NVIDIA" (Plasma
Wayland;
that reporter triggered it with Night Light)
- KDE bug 499987: a KWin developer noted that odd dot artifacts could be a
driver bug
with the 16-bit-per-color formats used by "Prefer color accuracy"
--
You are receiving this mail because:
You are watching all bug changes.