Windows turning black sometimes

Found similar posts about the same issue, couldn’t find a proper solution. They all have been closed without a proper solution.

inxi:

System:
  Host: shto Kernel: 6.5.3-1-MANJARO arch: x86_64 bits: 64 Desktop: KDE Plasma
    v: 5.27.8 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 2.F0
    date: 05/18/2023
CPU:
  Info: 6-core AMD Ryzen 5 5600X [MT MCP] speed (MHz): avg: 4132
    min/max: 2200/4650
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] driver: nvidia
    v: 535.104.05
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: nvidia gpu: nvidia
    resolution: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce RTX
    3060/PCIe/SSE2
Network:
  Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 2.73 TiB used: 245.71 GiB (8.8%)
Info:
  Processes: 417 Uptime: 1d 4h 45m Memory: total: 32 GiB available: 31.27 GiB
  used: 26.84 GiB (85.8%) Shell: Zsh inxi: 3.3.29

An example:

Hi @friedpan, and welcome!

I’m taking a guess from experience that that is because of the compositor, kwin crashing. Mine also did it, but stopped for some reason unknown to me.

However, I did have an workaround. To restart the compositor, simply run:

kwin_x11 --replace >/dev/null 2>&1 &

I did that whenever it happened. (Usually after resume from suspend.)

2 Likes

If you have the Desktop Effect: Slide Back activated, deactivate it.

1 Like

Hello, I am new here, can i ask a question?

1 Like

I see this is your first post here:

This is the first time RicharddWoodward has posted — let’s welcome them to our community!

So please, rather start a new thread. And see:

2 Likes

Not sure where to check this, can you help me here please?

LauncherSystem SettingsWorkspace behaviourDesktop Effects:

https://i.imgur.com/uuczN1N.png

1 Like

Slide back is not enabled, can confirm that kwin_x11 --replace >/dev/null 2>&1 & resolves it once it actually happened, though.

yeah,it work for me ,everything began to be fast again

2 Likes