Bug 521737 - Color effects (Color blindness correction, Invert, etc.) have no visual effect on Wayland
Summary: Color effects (Color blindness correction, Invert, etc.) have no visual effec...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.7.0
Platform: CachyOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-06-19 10:33 UTC by Dwote
Modified: 2026-06-25 13:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.1
Sentry Crash Report:


Attachments
kinfo; journalctl --user -b | grep -i colorblind; qdbus6 org.kde.KWin /KWin reconfigure; qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.activeEffects; grep -A5 '\[Effect-colorblindnesscorrectio (2.66 KB, text/x-log)
2026-06-19 10:33 UTC, Dwote
Details
journalctl --user-unit plasma-kwin_wayland --boot 0 (152.21 KB, text/x-log)
2026-06-19 23:45 UTC, Dwote
Details
glxinfo -B; eglinfo | head -50; inxi -Gxx; kwin_wayland --version; pacman -Q kwin mesa plasma-desktop; (5.33 KB, text/x-log)
2026-06-19 23:56 UTC, Dwote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dwote 2026-06-19 10:33:48 UTC
Created attachment 193349 [details]
kinfo;  journalctl --user -b | grep -i colorblind;  qdbus6 org.kde.KWin /KWin reconfigure;  qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.activeEffects;  grep -A5 '\[Effect-colorblindnesscorrectio

DESCRIPTION

After upgrading to Plasma 6.7.0, KWin's accessibility color effects no longer have any visual effect.

This is not limited to the grayscale mode. Other color effects (such as Invert) also fail to affect the display.

The effects appear to be enabled in System Settings and are loaded by KWin, but enabling or disabling them produces no visible change.

The same configuration worked correctly before upgrading to Plasma 6.7.0.

STEPS TO REPRODUCE

1. Log into a Wayland session.
2. Open System Settings -> Accessibility.
3. Enable any color effect (e.g. Grayscale or Invert).

OBSERVED RESULT

The effect is enabled, but the display does not change.
No accessibility color effect appears to be applied.

EXPECTED RESULT

The selected color effect should immediately affect the entire desktop.

SOFTWARE/OS VERSIONS

Linux 7.0.12-1-cachyos-bore-lto

Operating System:

CachyOS x86_64

KDE Plasma Version:
6.7.0

KDE Frameworks Version:
6.27.0

Qt Version:
6.11.1

ADDITIONAL INFORMATION

- Session type: Wayland.
- `colorblindnesscorrection` is listed in `qdbus org.kde.KWin /Effects org.kde.kwin.Effects.loadedEffects`.
- The corresponding KWin plugins are enabled in `~/.config/kwinrc`.
- Toggling the effects via System Settings or D-Bus does not produce any visual change.
- The issue started immediately after upgrading to Plasma 6.7.0.
Comment 1 Zamundaaa 2026-06-19 14:25:56 UTC
I tested this on Intel, AMD and Nvidia and it seems to work correctly everywhere.

Please attach the output of
> journalctl --user-unit plasma-kwin_wayland --boot 0
after trying to enable one of the effects.
Comment 2 Dwote 2026-06-19 23:45:54 UTC
Created attachment 193399 [details]
journalctl --user-unit plasma-kwin_wayland --boot 0

attached.
Comment 3 Dwote 2026-06-19 23:56:30 UTC
Created attachment 193401 [details]
glxinfo -B; eglinfo | head -50; inxi -Gxx; kwin_wayland --version; pacman -Q kwin mesa plasma-desktop;

Other potentially useful information.
Comment 4 Bug Janitor Service 2026-06-22 23:20:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/9457
Comment 5 Zamundaaa 2026-06-22 23:25:48 UTC
Okay, so KWin is using OpenGL ES on your system for some reason, which hits slightly different code paths. I forced KWin to use GLES on my laptop as well, and could replicate the color blindness correction being broken. The MR fixes that.

The invert effect works fine here though. Can you also get me a log of that one?
Comment 6 Dwote 2026-06-23 05:24:30 UTC
(In reply to Zamundaaa from comment #5)
> Okay, so KWin is using OpenGL ES on your system for some reason, which hits
> slightly different code paths. I forced KWin to use GLES on my laptop as
> well, and could replicate the color blindness correction being broken. The
> MR fixes that.
> 
> The invert effect works fine here though. Can you also get me a log of that
> one?

Invert loads successfully, but toggling it causes it to be unloaded immediately. No relevant log entries appear during the toggle.

❯ qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.toggleEffect invert
❯ qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.isEffectLoaded invert
true
❯ qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.toggleEffect invert
❯ qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.isEffectLoaded invert
false
❯ journalctl --user-unit plasma-kwin_wayland -b --since "2026-06-23 11:50:00"
-- No entries --
Comment 7 Vlad Zahorodnii 2026-06-23 06:19:22 UTC
Git commit dba5395637e472b8a9e96b31fcaa78ccb937fad6 by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 23/06/2026 at 06:06.
Pushed by vladz into branch 'master'.

plugins/colorblindnesscorrection: fix the shader for OpenGL ES

It used gl_FragColor instead of fragColor.

M  +1    -1    src/plugins/colorblindnesscorrection/shaders/colorblindnesscorrection.frag
M  +1    -1    src/plugins/colorblindnesscorrection/shaders/monochrome.frag

https://invent.kde.org/plasma/kwin/-/commit/dba5395637e472b8a9e96b31fcaa78ccb937fad6
Comment 8 Vlad Zahorodnii 2026-06-23 06:19:23 UTC
Git commit 2accb19b2742c447ad2685b45ebfed93e3bc6dc7 by Vlad Zahorodnii.
Committed on 23/06/2026 at 06:06.
Pushed by vladz into branch 'master'.

plugins/systembell: fix the shader for OpenGL ES

M  +5    -1    src/plugins/systembell/shaders/color.frag

https://invent.kde.org/plasma/kwin/-/commit/2accb19b2742c447ad2685b45ebfed93e3bc6dc7
Comment 9 Vlad Zahorodnii 2026-06-23 07:32:03 UTC
Git commit 51c1ca0a6d2da29b7e985fbb149ed2f761643551 by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 23/06/2026 at 07:01.
Pushed by vladz into branch 'Plasma/6.7'.

plugins/colorblindnesscorrection: fix the shader for OpenGL ES

It used gl_FragColor instead of fragColor.
(cherry picked from commit dba5395637e472b8a9e96b31fcaa78ccb937fad6)

M  +1    -1    src/plugins/colorblindnesscorrection/shaders/colorblindnesscorrection.frag
M  +1    -1    src/plugins/colorblindnesscorrection/shaders/monochrome.frag

https://invent.kde.org/plasma/kwin/-/commit/51c1ca0a6d2da29b7e985fbb149ed2f761643551
Comment 10 Vlad Zahorodnii 2026-06-23 07:32:05 UTC
Git commit 50e626f4dea3477ad97f15de65d5ef6eedb47f38 by Vlad Zahorodnii.
Committed on 23/06/2026 at 07:01.
Pushed by vladz into branch 'Plasma/6.7'.

plugins/systembell: fix the shader for OpenGL ES
(cherry picked from commit 2accb19b2742c447ad2685b45ebfed93e3bc6dc7)

M  +5    -1    src/plugins/systembell/shaders/color.frag

https://invent.kde.org/plasma/kwin/-/commit/50e626f4dea3477ad97f15de65d5ef6eedb47f38
Comment 11 Zamundaaa 2026-06-23 11:28:28 UTC
(In reply to Dwote from comment #6)
> Invert loads successfully, but toggling it causes it to be unloaded
> immediately. No relevant log entries appear during the toggle.
You need to use the shortcuts to actually trigger it on a window or screen, just loading or unloading the effect doesn't do anything on its own.
Comment 12 Dwote 2026-06-23 14:39:11 UTC
(In reply to Zamundaaa from comment #11)
> (In reply to Dwote from comment #6)
> > Invert loads successfully, but toggling it causes it to be unloaded
> > immediately. No relevant log entries appear during the toggle.
> You need to use the shortcuts to actually trigger it on a window or screen,
> just loading or unloading the effect doesn't do anything on its own.

Oh, I see. I thought it worked like Windows and would invert the screen immediately. I didn't realize it has to be triggered via a shortcut. In that case, the invert effect works correctly for me.
Comment 13 Zamundaaa 2026-06-23 15:28:49 UTC
Great, then this should be fully fixed in 6.7.1