Suddenly frequent freezes/lags on both X11 and Wayland

Hello, I need some help from more knowledgeable users.

I use Tumbleweed with Hyprland (and KDE Plasma 6 as secondary DE) and had yesterday absolutely no issues whatsoever.

However since today, for some reason, no matter whether it’s Hyprland, KDE, Wayland or X11 - I keep getting very frequent freezes.
I use Neovim for a good minute? - sudden freeze for up to a minute.
I start up KDE Plasma? - freezes right after starting up.
I run btop and open another instance of Alacritty? Alacritty doesn’t load the bash prompt.
It even happened in SDDM.
These freezes seem to be occuring OS-wide, since I wasn’t able to pinpoint what exactly causes the issue.
I also don’t know when/why freezes occur. They just happen every now and then when I try to do something.
Also, shutting down takes a lot longer than usual.

What also happened once, is that when I booted up, it took a long time and then I was greeted by an “emergency mode”, which told me to login as root and reboot.
When I booted up another time, I checked the debugging info while booting up (by pressing escape) and it seems like it tries to start a job, but fails, which then leads me to this “emergency mode”
The error messages (red text) that I saw when monitoring the boot process were the following:
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/e711888c-3bb6-4068-a50d-f3bcc8be7f95
[ DEPEND ] Dependency failed for /home
[ DEPEND ] Dependency failed for Local File System

I also got the following error message sometimes when logging out:
[FAILED] failed to start Postfix Mail Transport Agent

And sometimes got an error message just before finishing booting up and right after shutting down, saying something about having issues with dbus connection.

And it seems like this isn’t caused by a recent update. I tried rolling back, but the issue persists even when rolling back days before it started freezing.

System Information:
OS: openSUSE Tumbleweed
DE/WM: KDE Plasma (both X11 and Wayland) and Hyprland
CPU: AMD Ryzen 5 5600H
GPU0: NVIDIA GeForce RTX 3050Ti
GPU1: AMD Radeon
RAM: 15GB
Swap Partition Size: 2GB

If it might be relevant to know: I recently (a week ago) installed a second nvme drive that I mounted at /home/disk2

I would be extremely grateful, if anyone is able to help me solve this issue.

I don’t understand exactly why, but it seems like I was able to fix it.

I went through the logs and saw, that apparently some files, that were supposed to be writeable, were read-only. So I ran sudo snapper rollback, rebooted and that seemed to have fixed the issue. This wasn’t a simple case of I forgot to rollback though. I was able to install software, after all, zypper would usually prompt me that I can’t install anything to a read-only snapshot, but that wasn’t the case.

Confusing to me as to how this could even happen (and how it even started), but in case someone has a similar issue, your filesystem might be set on read-only, i.e. you booted a read-only snapshot and didn’t rollback properly.

I’d be inclined to make a thorough check of your system hard drive. It might be failing.

Could you please give me some pointers, as to how I should go about it? Some kind of software I should use?

There is ‘smartmontools’, which provides the smartctl utility. If using Gnome, there is also a ‘Disks’ GUI (outlined in one of the links below, although I am not familiar with using it). For NVMe SSDs there is ‘nvme-cli’. It can be installed with

zypper in nvme-cli

More info

man nvme
nvme --help

There are a lot of “how to” guides, so two of many…

I see, thank you very much.

Using nvme-cli, I discovered more than 5*10^23 media_errors.
As far as I’ve read, this number should stay low (which is clearly not the case)

The drive is probably failing soon, so my solution is to buy a new ssd to replace the old one. (And copy my home folder over to the new ssd)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.