You are not logged in.
The other day I removed a package, openrgb I think, the instant that I ran the command, everything froze and my caps lock started flashing. After about 15 minutes of waiting, I hard reset my system and when I logged back in, everything was file other than an undiscarded db.lock file. The next day (March 21st) I updated my system and noticed that it wouldn't update my nvidia drivers, so I excluded them from the update. I then rebooted and a few things had stopped working like Firefox and Discord, all giving errors related to .so.0 and .so files having undefined symbols. (libmozgtk.so for firefox, and libtracker-sqarql-3.0.so.0 for discord) After a more recent update, I have been able to update my nvidia drivers so that can be ruled out. Sorry for being so railroady, but I just want to provide as much information as possible. I am using testing repos by the way.
Offline
Sounds like a filesystem corruption, might just be due to the hard reboot, but still check https://wiki.archlinux.org/title/SMART (eg. from a live system like grml)
About the system corruption,
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'Offline