My system:
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.17.1-3-MANJARO (64-bit)
Graphics Platform: X11
Processors: 2 × Intel® Core™2 Duo CPU E8400 @ 3.00GHz
Memory: 5.8 ГиБ of RAM
Graphics Processor: NVIDIA GeForce GT 1030/PCIe/SSE2
After the last update and the subsequent reboot of my computer, the system became unstable. This was especially evident after the launch of the Chromium-based browser (Google Chrome, Opera).
Since I am a web developer, these two browsers are extremely important to me.
But when I start Google Chrome, Opera, the system freezes.
After rebooting by physically turning off the computer and turning it on with the button, I found that all my system settings had gone wrong and had taken the default settings.
This all happened on the SSD drive on which I installed the system.
Next to the HDD, I also have manjaro installed, since I recently purchased an SSD and did not delete the system on the HDD.
As is usually the case in such cases, I tried to restore the system (on the SSD with the saved pictures on the SSD in TimeShift on the HDD).
However, after I booted from the HDD and went into TimeShift, selecting the btrfs (file system on the SSD) settings, I found that there was not a single snapshot, although I took at least 4-6 backup snapshots just in case.
When searching for information about my case, I found that there are TimeShift snapshots in my system on the SSD, however, all info.json files are damaged in them
I created a new snapshot, copied the info.json file into the snapshot that was taken earlier, however, I found that I had already (through many recovery attempts and various trials) deleted the snapshot that was before the last update. That is, it was not possible to return to the state of the system before the last update.
After I spent a whole day trying to restore Manjaro and all my settings, I, fortunately, just took and transferred the saved copy of the files in the home / user /. * folder from the stored pokii on the HDD (I a snapshot of the SSD in the HDD /in case something happens to the SSD/), and all the settings were thankfully restored.
However, this recovery did not change the fact that the system stopped responding (generally) when loading Google Chrome (… Opera).
After spending a lot of time, looking at a lot of materials on the Internet on this issue, I still did not understand what happened, and I did not succeed in fully restoring the system from TimeShift (both SSD and HDD copies). Since all copies of the system were damaged on the SSD, and the HDD copy was too large (more than 6 million files) and my system could not cope with so much data (TimeShift stopped working and closed).
That is, the most important part was that the system at some points simply stopped responding. And I couldn’t understand why. I tried various kernels (all available), tried to remove the nvidia driver (but I couldn’t do it at that time).
I had to reinstall the system. Due to the fact that it stopped responding and because deleting TimeShift snapshots, I deleted (accidentally [epicfail]) all data from the SSD…/…home folder, because I did not know that the folders in / run /timeshift/@* are just links to actual folders on the system.
In general (I know that it’s funny to you, but I didn’t feel like laughing), after spending almost a day looking for a solution, I didn’t find it, and I had to reinstall the system, now for two reasons (system hang and deleted files in home).
However, with the reinstallation of the system, too, everything was not so smooth. Since I have an encrypted SSD drive, the system simply refused to install on it!
That is, the system was previously installed on an encrypted (LUKS) SSD drive. I booted into a live USB stick and tried to install the system, but it did not install due to an error I did not understand. The disk layout is:
of 128 GB disk (GPT partition table) -
-122 - system with btrfs (with encryption code)
-6 GB swap (no encryption)
-8 MB unallocated area for bios
after 5 or 6 attempts to install the system (I’ve tried GPT/MBR and also tried BTRFS without encryption), nothing worked for me.
I came up with the brilliant idea to completely format the SSD disk before installation, and only then I was able to fully install the system on it.
That is, with disk encryption already present, the operating system was NOT installed on it with different installation data, before I formatted it completely.
Having installed the new system on the SSD, I booted it up and saw the same freeze, only now at the login (after entering the password). That is, immediately after loading (manjaro … loading … login … fail), it hung and did not react to any keyboard actions.
After I uninstalled the nvidia drivers, the system started working. But without drivers for a video card, I can’t imagine how to live. Only standard drivers (video linux proprietary) were installed.
I installed the nvidia drivers, but this time the system, after entering a 100% correct password, threw me again to enter the password. Googling, I realized that it was the nvidia drivers (maybe)…
After the next reboot and the appearance of the user password entry page, I was surprised to see that you can choose another display server (WayLand was loaded by default), I chose x11 and the system started working stably, even after installing the nvidia drivers.
What is the conclusion? After updating the system, as I understood, the default display server became wayland, which did not allow my system to work stably. However, on my system, when entering the password, there was no option to select the display server, perhaps because the theme was not standard, perhaps this function was simply not available on my old system, since the update affected only some parts, but not this one . I mean, they did not programmatically make the display server selection function show up when entering a password when the computer is turned on.
I hope you had fun while reading my article.
It does not require specific answers, however, I hope that the development team will be able to draw important information for themselves from it.
RU:
После последнего обновления и последующей перезагрузки моего компьютера, система стала работать нестабильно. Особенно это было видно после запуска браузера на базе Chromium (Google Chrome, Opera).
Так как я являюсь веб-разработчиком, то мне эти оба браузера крайне важны.
Но при запуске Google Chrome, Opera система зависла.
После перезагрузки с помощью физического отключения компьютера и включения кнопкой, я обнаружил, что все мои настройки системы сбились и приняли стандартные настройки.
Это всё происходило на SSD диске, на котором у меня установлена система.
Рядом на HDD у меня также установлена manjaro, так как SSD я недавно приобрёл и не удалял систему на HDD.Как и обычно бывает в таких случаях, я постарался восстановить систему (на SSD с сохранёнными снимками на SSD в TimeShift на HDD).
Однако, после того, как я загрузился с HDD и зашёл в TimeShift, выбрав настройки btrfs (файловая система на SSD), я обнаружил, что там нет ни одного снимка, хотя я делал как минмум 4-6 резервных снимков на всякий случай.При поиске информации о моём случае, я обнаружил, что снимки TimeShift в моей системе на SSD есть, однако, в них повреждены все файлы info.json
Я создал новый снимок, скопировал файл info.json в снимок, который делался ранее, однако, обнаружил, что я уже (при многих попытках восстановления и различных проб), удалил тот снимок, который был до последнего обновления. То есть возвратиться к состоянию системы до последнего обновления не представлялось возможным.
После того, как я потратил целый день на то, чтобы попытаться восстановить Manjaro и все мои настройки, я, к своему счастью, просто взял и перенёс сохранённую копию файлов папки home/user/.* из сохранённой их покии на диске HDD (я сделал снимок SSD в HDD /на случай, если что-то случится с SSD/), и все настройки, к счастью, были восстановлены.
Однако, это восстановление никак не отменяло того, что система переставала отвечать (вообще), при загрузке Google Chrome (… Opera).
Потратив массу времени, посмотрев массу материалов в интернете по этому вопросу, я так и не понял, что произошло, а полноценно восстановить систему из TimeShift (и SSD, и HDD копий) у меня не получилось. Так как на SSD все копии системы были повреждены, а HDD копия была слишком большая (более 6 миллионов файлов) и моя система не справилась с таким количеством данных (TimeShift переставал работать и закрывался).
То есть, самой важной частью было то, что система в некоторые моменты просто переставала отвечать. И я не мог понять почему. Я пробовал различные ядра (все доступные), пробовал убрать драайвера nvidia (но у меня это не получилось сделать на тот момент).
Мне пришлось переустановить систему. Из-за того, что она переставала отвечать и из-за того, что удаляя снимки TimeShift, я удалил (случайно [epicfail]) все данные из папки SSD…/…home, так как не знал, что папки в /run/timeshift/@* - это просто ссылки на настоящие папки в системе.
В общем (я знаю, что вам смешно, но мне было не до смеха), потратив почи сутки на поиск решения, я его так и не нашёл, и мне пришлось переустанавливать систему, теперь уже по двум причинам (зависание системы и удалённые файлы в home).
Однако, с переустановкой системы тоже было не всё так гладко. Так как у меня зашифрованный SSD диск, то система на него просто отказывалась ставиться!
То есть, ранее система была установлена на зашифрованном (LUKS) диске SSD. Я загрузился в USB-живой флешки и постарался установить систему, но она не устанавливалась из-за непонятной для меня ошибки. Разметка диска такая:
из 128 ГБ диска (GPT таблицей разделов)-
-122 - система с btrfs (с кодом шифрования)
-6 ГБ swap (без шифра)
-8 MB неразмеченной области для biosпосле 5 или 6 попыток установить систему (я пробовал GPT/MBR, а также пробовал BTRFS без шифрования) у меня так ничего и не получилось.
Мне пришла в голову гениальная идея отформатировать полностью диса SSD перед установкой и только тогда я смог полноценно установить на него систему.
То есть, при присутствующем ранее шифровании диска, операционная система НЕ устанавливалась на него с разными данными для установки, до того, как я его не отформатировал полностью.Установив новую систему на SSD, я загрузил её и увидел всё тоже самое зависание, только теперь уже при входе в систему (после ввода пароля). То есть сразу после загрузки (manjaro … loading … login … fail) она зависала и никак не реагировала ни на какие действия клавиатуры.
После того, как я удалил драйвера на nvidia, система начала работать. Но без драйверов на видео карту я не представляю как жить. Был установлены лишь стандартные драйвера (video linux proprietary).
Я установил драйвера nvidia, но на этот раз система, после ввода 100% правильного пароля меня снова перекидывала на ввод пароля. Погуглив, я понял, что дело в драйверах nvidia (возможно)…
После очередной перезагрузки и появления страницы ввода пароля пользователя, я для себя с удивлением увидел то, что можно выбрать другой сервер отображения (по умолчанию загружался WayLand), я выбрал x11 и система начала работать стабильно, даже после установки драйверов nvidia.
Какой вывод? После обновления системы, как я понял, сервер отображения по умолчанию стал wayland, что не давало моей системе работать стабильно. Однако, в моей системе во время ввода пароля не было варианта выбора сервера отображения, возможно, потому, что тема оформления была не стандартной, возможно, эта функция у меня на старой системе просто отсутствовала, так как обновление коснулось лишь некоторых частей, но не этой. В смысле, программно не сделали так, чтобы функция выбора сервера отображения показывалась при вводе пароля при включении компьютера.
Надеюсь, вы весело провели время, когда читали мою статью.
Она не требует особых ответов, однако, надеюсь, что команда разработчиков сможет почерпнуть для себя из неё важную информацию.