this post was submitted on 11 Aug 2023
2 points (75.0% liked)

Debian operating system

2868 readers
8 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 5 years ago
MODERATORS
 

[Solved by going to X11]

I am working with my Debian 12 system and suddenly the whole screen goes blank and comes right back. I am not sure what triggers it, it seems to happen when I am exiting a program, I think when It comes back any program I had running is gone now. This is very intermittent and does not happen very often.

Here as a start have a neofetch:

OS: Debian GNU/Linux 12 (bookworm) x86_64

Host: VivoBook_ASUSLaptop S5402ZA_S5402ZA 1.0

Kernel: 6.1.0-11-amd64

Uptime: 12 hours, 2 mins

Packages: 2361 (dpkg)

Shell: bash 5.2.15

Resolution: 2880x1800

DE: Plasma 5.27.5

WM: kwin

WM Theme: plastik

Theme: [Plasma], Breeze [GTK2/3]

Icons: [Plasma], breeze-dark [GTK2/3]

Terminal: konsole

Terminal Font: Hack 19

CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz

GPU: Intel Alder Lake-P Memory: 3406MiB / 11577MiB

I did journalctl -b - there is a crazy amount of detail in there.

If there is anything specific I can do, please let me know - I am more than a noob, but a lot of the time I only know just enough to be dangerous.

Thanks!

all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

Thanks for your input, I am not getting up though. In this last instance, I had just closed LibreOffice after editing a document.

[–] [email protected] 2 points 2 years ago (1 children)

Here is a clue perhaps from Journalctl:

Aug 11 17:25:17 adam plasmashell[14949]: This plugin supports grabbing the mouse only for popup windows
Aug 11 17:25:18 adam plasmashell[14949]: This plugin supports grabbing the mouse only for popup windows
Aug 11 17:25:18 adam plasmashell[14949]: QWaylandShmBuffer: mmap failed (Invalid argument)
Aug 11 17:25:18 adam plasmashell[14949]: QWaylandShmBuffer: mmap failed (Invalid argument)
Aug 11 17:25:19 adam plasmashell[14949]: QWaylandShmBuffer: mmap failed (Invalid argument)
Aug 11 17:25:23 adam kwin_wayland_wrapper[2483]: error in client communication (pid 12396)
Aug 11 17:25:23 adam plasmashell[12396]: wl_display@1: error 0: invalid object 213
Aug 11 17:25:23 adam plasmashell[12396]: The Wayland connection experienced a fatal error: Invalid argum>
Aug 11 17:25:23 adam plasmashell[12396]: The Wayland connection experienced a fatal error: Invalid argum>
Aug 11 17:25:23 adam systemd[2384]: plasma-plasmashell.service: Main process exited, code=exited, status>
Aug 11 17:25:23 adam systemd[2384]: plasma-plasmashell.service: Failed with result 'exit-code'.
Aug 11 17:25:23 adam systemd[2384]: plasma-plasmashell.service: Consumed 1min 59.306s CPU time.
Aug 11 17:25:24 adam systemd[2384]: plasma-plasmashell.service: Scheduled restart job, restart counter i>
Aug 11 17:25:24 adam systemd[2384]: Stopped plasma-plasmashell.service - KDE Plasma Workspace.
Aug 11 17:25:24 adam systemd[2384]: plasma-plasmashell.service: Consumed 1min 59.306s CPU time.
Aug 11 17:25:24 adam systemd[2384]: Starting plasma-plasmashell.service - KDE Plasma Workspace...
lines 907-931/975 94%

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)
> Aug 11 17:25:23 adam kwin_wayland_wrapper[2483]: error in client communication (pid 12396)
> Aug 11 17:25:23 adam plasmashell[12396]: wl_display@1: error 0: invalid object 213
> Aug 11 17:25:23 adam plasmashell[12396]: The Wayland connection experienced a fatal error: Invalid argum>
> Aug 11 17:25:23 adam plasmashell[12396]: The Wayland connection experienced a fatal error: Invalid argum>
> Aug 11 17:25:23 adam systemd[2384]: plasma-plasmashell.service: Main process exited, code=exited, status>
> Aug 11 17:25:23 adam systemd[2384]: plasma-plasmashell.service: Failed with result 'exit-code'.

KDE's crashing and getting started back up. Due to how Wayland works this will also take down most programs you were running.

Why is KDE crashing? No idea. You may have better luck with Xorg if you aren't reliant on any Wayland niceties (proper multiple monitor support, for example)

edit: https://bugs.kde.org/show_bug.cgi?id=447717 looks like a candidate, but there isn't enough detail to make sure

[–] [email protected] 1 points 2 years ago

I have rebooted into X11, we will see if there are any more instances.

[–] [email protected] 1 points 2 years ago (1 children)

This can also happen if your GPU isn't getting enough power. Try unplugging some components to test if the reduction in power draw helps or swapping your PSU out for one with a higher wattage.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

I am not sure I can do that with a laptop.

[–] [email protected] 1 points 2 years ago (1 children)

Oh, haha I seem to have only skimmed your post and missed that point.

[–] [email protected] 1 points 1 year ago

I can't tell you why but it seems like plasma crashed (-> screen black and all opened programs gone) and restarted (-> came back). That's what I can tell from your description. In your logs you can look for errors from plasma, kwin and maybe something with the gpu driver.