https://bugs.kde.org/show_bug.cgi?id=524582

            Bug ID: 524582
           Summary: External monitor (HDMI) appears pink/magenta after
                    resuming from suspend
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 195363
  --> https://bugs.kde.org/attachment.cgi?id=195363&action=edit
Kwin tint

External monitor (HDMI) shows pink color tint after resuming from suspend.
Unplugging/replugging the cable does not fix it. Forcing RGB range to Full does
not fix it. Forcing max bpc to 8 does not fix it. Logging out and back in
mostly fixes it, but reboot always fixes it.

Journal shows repeated "kwin_wayland_drm: Atomic modeset test failed! Invalid
argument" errors around the time the tint occurs, across multiple separate
days. The errors stop after the KWin process is restarted (logout/login).

To reproduce connect external monitor via HDMI, use normally, suspend (lid
close or manual suspend) and
resume, but is does not reproduce it consistently.

Night Color set to allways off.

External monitor colors are pink/magenta-tinted after resume. Internal display
unaffected. Persists until logout/login or reboot.

SOFTWARE/OS VERSIONS Operating System: Tuxedo OS, kernel 7.0.0-108029-tuxedo
KDE Plasma Version: 6.6.5 KDE Frameworks Version: 6.24.0 Qt Version: 6.10.2

ADDITIONAL INFORMATION Hardware: Tuxedo Infinity Pro 14 GPU: AMD Radeon 780M
(Phoenix), driver amdgpu (in-kernel) Mesa: 26.1.4-1~24.04-tux1 External
monitor: LG UltraGear, 3840x2160@60Hz, HDMI

journalctl --user -b | grep -iE 'kwin|color|icc':

aug 21 18:59:51 tuxedo-os kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic
modeset test failed! Invalid argument aug 21 18:59:51 tuxedo-os
kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic modeset test failed!
Invalid argument

aug 22 08:59:29 tuxedo-os kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic
modeset test failed! Invalid argument aug 22 08:59:29 tuxedo-os
kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic modeset test failed!
Invalid argument aug 22 08:59:29 tuxedo-os kwin_wayland_wrapper[48259]:
qt.qpa.wayland: There are no outputs - creating placeholder screen ... aug 22
09:00:15 tuxedo-os kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic modeset
test failed! Invalid argument aug 22 09:00:23 tuxedo-os
kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic modeset test failed!
Invalid argument aug 22 09:01:43 tuxedo-os kwin_wayland_wrapper[1863]:
kwin_wayland_drm: Atomic modeset test failed! Invalid argument aug 22 09:11:34
tuxedo-os kwin_wayland_wrapper[1863]: kwin_wayland_drm: Atomic modeset test
failed! Invalid argument aug 22 09:11:42 tuxedo-os kwin_wayland_wrapper[1863]:
kwin_wayland_drm: Atomic modeset test failed! Invalid argument

aug 22 09:14:34 tuxedo-os systemd[1760]: Stopping plasma-kwin_wayland.service -
KDE Wayland Compositor... aug 22 09:14:34 tuxedo-os kwin_wayland_wrapper[1863]:
kwin_scene_opengl: Could not delete render time query because no context is
current aug 22 09:14:34 tuxedo-os systemd[1760]: Stopped
plasma-kwin_wayland.service - KDE Wayland Compositor. aug 22 09:14:57 tuxedo-os
systemd[53351]: Starting plasma-kwin_wayland.service - KDE Wayland
Compositor... aug 22 09:14:57 tuxedo-os systemd[53351]: Started
plasma-kwin_wayland.service - KDE Wayland Compositor.

Also seeing repeated color-manager errors from other Wayland clients (Proton
Mail, RStudio) around the same time, but don't  if it is relevant to this
issue:

[proton-mail]
ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:296] Unable to
set image transfer function. [rstudio]
ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:277] Unable to
set image transfer function.

relevant modetest -c properties for HDMI-A-1 (LG UltraGear) at time of issue:

Broadcast RGB: value 1 (Full) max bpc: value 10 (range 8-16) Colorspace: value
0 (Default)

Full modetest dump and kernel-side (drm/amdgpu) journal available on request.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to