Desktop Effects being disabled after 5.21, only in Manjaro

I’m not a big menu user - I just hit krunner, or menu, and type ‘autostart’… but yes, it’s in Startup and Shutdown.

Hmm…as i said that place is empty. Do you have any other idea of what I can do?

Same problem after updating. But I think that it is not that the animations were deactivated, it is that they happen so quickly that they are imperseptible

I definitely get a notificaiton saying that effects have been disabled. And things like transparency, hot corners, and stuff don’t work. And i get a bunch of screen tearing.

I did try to play around with animation speeds hoping it would resolve it, unfortunately it didn’t seem to.

I also have no desktop effects whatsover since a couple of weeks now. The issue is present at startup and not only after wake from sleep .

Interesting, do you know if its after the 5.21 update?

Also just to cover all bases, I’m sure you already know this, but just making sure all the basics are checked: If you go to Settings → Display and Monitor → Compositor

Is the box “Enable compositor at startup” checked?

Well I’ll be damned that fixed it for me! Thanks dude!
Makes me wonder why the compositor box got unchecked.

I often use the following shortcuts to quickly ‘refresh’ stuff - which I bound to mouse gestures…

  1. Restart kwin - kwin_x11 --replace &
  2. Restart plasmashell plasmashell --replace
  3. Toggle compositing Alt+Shift+F12
  4. Hide decorations ctrl+Alt+j (good when tiling)

So did you try the Alt+Shift+F12 to restart compositing after it’s blocked?

Generally I find replacing kwin kickstarts stuff like compositing if it crashed.

Hiding decorations is a useful one if you use tiling (krohnkite) but don’t want to disable decorations there (menu’s going to globalmenu) - it lets you run an app ‘fullscreen’ when it’s not really fullscreen (issues with some apps, and with ‘always on top’ status).

Why can’t the notification specify WHICH app (e.g. when exiting Plasma I used to get specific message saying 'qbittorrent disabled it; not ‘an application’).

This is something that a quick search didn’t reveal…

Any clues in the journal? something like journalctl -p 3 -x

That’s awesome, glad it worked :slight_smile:

Hey Ben,

Thank you so much for the detailed suggestions.

  1. I didn’t mention it in this post, but in the Kwin notification, it also says “Press alt+shift+f12 to reenable desktop effects.”

I tried that for about 3 weeks, but it just became so unbelievably cumbersome. I know that sounds unbelievable, but my initial reaction was: “fine if there’s no solution, its only a 3 button combo, I can do it everytime.”

But it just wore me down. Which is utterly bizarre, but I did try to just live with it for a long time.

I perfectly agree with you on why won’t the notificaiton just tell me which app is doing it. I even tried on a fresh install of Manjaro (well that’s not exactly true, after a fresh install and my basic setup which includes installing a few things like feathernotes)

Also thanks for the journal command (I’m not proficient in the terminal so I didn’t know about it) but it doesnt’ seem to turn up anything.

I also tried looking through the x.org logs, but they didn’t seem to say anything either.

I have another interesting update: I just installed Manjaro again, and walked away for a second.

Meaning that no software installed, no updates done on my end, all settings as default.

I came back to a locked screen (which I disable as this is my home computer).

And I found the same message and that desktop effects were disabled.

I have no idea what’s going on, screen locking isn’t a power saving feature (is it?). The computer isn’t going to sleep (as that isn’t a default setting), its just the screen is “shutting off/switching” to either off mode or lock mode.

Default installation sets screen off after 5 minutes and lock by default.

No idea why desktop effects were disabled though.

Hello,
I’m facing the same problem. First I thought it was a configuration problem so I made a fresh install (when I say fresh it is totally fresh I’ve formated everything including config files in home) and the problem persists.

  • Every time the screen saver tries to start, desktop effects are suspended and the monitors light up again. Then i f I wait again the monitors goes to sleep 5 minutes later. I say monitors as I’m using two monitors.
  • It can happens sometimes when I play a game in full screen but this isn’t systematic.
  • Something else every window displayed on the second screen moves to first screen ??? (the first time it tries to go to sleep mode)

I had’nt this bug with the same hardware and the previous version.

I too have an amd graphic card and use free drivers.

I’d like to chime in and say that I’ve experienced this same issue with Plasma 5.21, however not on my Manjaro system but rather my Kubuntu system (had this in 20.04, 20.10, and 21.04). I’ve also experienced KDE messing up the configuration of my desktop panels of my left-most monitor when waking up from sleep.

I’m not sure if these are related, since I was able to track down the issue with the panel with the plasmashellrc not properly assigning the connectors, however fixing that does not fix the desktop effects and transparency (this includes a restart of plasmashell). The only way that I’ve been able to fix the desktop effects not working is to go to “System Settings → Display and Monitor → Compositor” and to switch the “Rendering backend” to another option and hit “Apply.” This happens on both OpenGL 3.1 and OpenGL 2.1, but switching from one to the other resolves the problem. Restarting the compositor, either by “Shift+Alt+F12”, or running qdbus org.kde.KWin /Compositor suspend; qdbus org.kde.KWin /Compositor resume, does not fix this problem.

I’ve done enough to that Kubuntu system that any of these kind of bugs I chalk up to running a less standard configuration since this wasn’t an issue for me on my Manjaro laptop.

To outline the Kubuntu system:

OS: Kubuntu 21.04
Kernel: 5.11
Resolution: 1920x1080 x3
WM: Kwin
DE: KDE Plasma 5.21.4
CPU: AMD Ryzen 9 3900x
GPU: AMD Radeon Pro WX 2100 (amdgpu driver)
GPU: Nvidia GTX 1080 (proprietary 460.91.03)

Some of the quirks of this system:

  • Both the AMD and Nvidia drivers are loaded on boot, however amdgpu is tagged as the default GPU for X. Nvidia is left around for PRIME offloading, and is dynamically unloaded for a GPU passthrough.
  • The left display is connected to both GPUs, and can be effectively hot swapped by changing the source whenever I launch the VM.
  • The middle display is connected only to the AMD GPU.
  • The right display is connected to the AMD GPU through a KVM which can be hot-swapped between two other systems.

This happens when I have booted and only ever run the system from the amdgpu driver (no nvidia unloads/reloads), and when I haven’t toggled to another system through my KVM. It basically always happens when resuming from being locked when I step away, but I know can happen under other circumstances where I can’t identify a culprit. “Enable compositor on startup” is enabled, and “Allow applications to block compositing” is disabled.

I figured I’d leave this here since it isn’t a Manjaro only issue, and figured that it might be helpful to see what the similarities are (multi monitor/amgpu etc).

I have to confess I skipped most of the thread, but on KDE there is an old issue with the desktop effect disabling after some specific condition (like plugging a secondary monitor, enabling/changing screen resolution, things like that…). The bug can be avoided if you enable a Desktop Effect called Background Contrast. After enabling it I don’t see a change in the desktop itself, what it changes seem to be minimal, however it fixed ALL the related crashes of desktop effect in my case. Just try and see.

So thank you for keeping this thread going.

I’d like to chime in and share a “solution” I’ve discovered.

I noticed that desktop effects were disabled whenever power saving feature was “interrupted.”

So as I said in my post, screen off at 10 min, sleep at 15 min.

Screen-off never worked right for me for a long time (definitely pre 5.21, but can’t say when). Screen would flicker after 10 min, but come back on, and then go to sleep with the system at 15.

I noticed one time when I sat down at my computer just as the screensaver was being turned “on,” that as it flickered, desktop effects were disabled.

If I deactivated screen-off and just left sleep (main pwoer saving feature) activated, desktop effects are working fine for me for several days now.

Another data point (though its sporadic) is I have qbittorent set to over system sleep…the same thing happens with it (I think, as I don’t torrent too much so I can’t say with certainty). If qbit goes on for long enough, system begins to sleep, qbit itnerrupts and keeps system awake.

From a user point of view, what I see is the screen temporarily flicker.

But again, desktop effects are disabled!

There’s something of value here, maybe poeple who know more than me can use it to debug.

But the solution for me has been: deactivate screen-off and only rely on sleep

you activate the animation by Alt+shift+f12 , also you can go to Setting → Display and monitor → Compositor and check Enable compositor on Startup , also test with “Allow applications to block Compositor”

I just want to say that I stumbled across a solution on another forum post here, and it seemed to fix the issue that I was having when coming out of sleep.

Same issue here, as long as I remember with Intel iGPU and (currently) AMD GPU.
The solution I found and stopped it from happening, was to enable “Workspace Behavior > Desktop Effects > Background contrast
Have no idea what it does, or why it works, but works for me and many others (found the solution in reddit I think)

The original forum post was called “Compositor keeps on crashing after waking from sleep post update” if you’re interested in checking it out since I couldn’t post the link.

you mean this, that I already posted here and nobody replied to?