KDE desktop repainted by some Dalì demoniac presence

Hello,
back from suspend to RAM my desktop on an external monitor of a laptop looks…confused. Text is unreadable, fancy colours all around and stripes instead of icons…

here is the picture: https://susepaste.org/14764186
(don’t be fooled by the Debian logo, that’s just my Konsole’s background).

What’s worse is that this doesn’t happen always, and when it does all I have to do is log out and then log in and everything is fine.
Can’t find a pattern.
Any clue?

Desktop used?? video card/driver.

KDE 5.79.0 / Plasma 5.21.0

inxi -Gxx

Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:0126
Device-2: NVIDIA GF119M [GeForce 610M] vendor: ASUSTeK driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1058
Device-3: Alcor Micro Asus Integrated Webcam type: USB driver: uvcvideo bus ID: 1-1.2:3 chip ID: 058f:a014
Display: server: X.Org 1.20.3 compositor: kwin_x11 driver: modesetting,nouveau unloaded: fbdev,vesa
alternate: intel,nv,nvidia resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 19.3.4 compat-v: 3.0 direct render: Yes

@mauro.marghe:

Is it, possibly, similar to the following openSUSE Bug Report? – <https://bugzilla.opensuse.org/show_bug.cgi?id=1183424>.

Hybrid graphics on a laptop. Are you using some form of GPU switcher?? (Bumblebee, Suse-Prime, Switcheroo)

Not sure, this is Leap not Tumbleweed, and here everything works perfectly fine, with the only exeption (sometimes) after rewakening

no, never used those, I’ve never been actually much GPU-aware since i don’t run games.
Nouveau always set me straight, so I thought the only gpu in use were the nvidia one. Was I mistaken?

If Leap 15.2 then why updating KDE?
Nouveau drivers always cause troubles with KDE.

'tis is new to me, never ever had any

You have an Intel GPU on the CPU and NVIDIA GPU also.This is known as Optimus and is a special hardware setup. In most cases Intel will be the default GPU. But something may be getting confused in some cases and trying to run the NVIDIA .May be worth installing suse-prime which manages the GPU usage even if you never use the NVIDIA, simply to be sure that only one GPU is used at a time

thank you gogalthorp, i’ll try this suse-prime, but uhmmm i’ve ancient fuzzy memories of an Intel gpu greyed out from last time i visited the BIOS, i’ll check it tomorrow. Besides, the fact that the issue happens not always and only back from sleep and only on the external monitor…it seems to me it could be more like a multi-monitor case. Found a post from a KDE dev from 5 years ago:

maybe not all the folds are ironed out yet?

I was wrong, the Intel GPU grayed out is not in this computer. Here UEFI is disabled and the BIOS has no GPU options.

I noticed that in
~/.local/share/kscreen
there was a mess of files, I deleted them all and rebooted. Now there are only 3 files in folder “outputs” (names are alphanumeric strings) that refer to the monitors:
LVDS-1 1366x768 (laptop monitor)
HDMI-1 1920x1080 (external monitor)
VGA-1-2 1024x768 (no idea why is there, I long ago disabled it in the System Settings>Display & Monitor>Display configuration

In
/root/etc/X11/xorg.conf.d/50-monitor.conf
I’ve nothing configured

I’ll see how it goes and if the issue reappears I’ll try suse-prime