Introduction #
Recently, i got stuck in the splash screen of Linux Mint (Version 22) while booting, after trying to install DaVinci Resolve. I looked a lot through different posts about this problem and got a fix in the end - this guide sums up my way of getting rid of the problem. I hope i can save some people the time i had to spend on this problem. This guide was tested on the following system:
- Linux Mint 22
- with Wayland
- NVIDIA graphic card (GTX 1070)
How to get rid of the problem #
Get logs #
First of all, we need to know, WHAT exactly is the problem. The splash screen does not help us, because we cant see failing services behind it. How to get the helpful logs to analyse the problem:
- Boot your PC
- When you get to the boot selection menu, select your kernel with “(recovery mode)” behind it. If this entry does not appear for you, try search for the entry with “compatibility mode” or “advanced options” and choose this.
- If you dont get to the selection menu, press the arrow keys up and down while booting. This will leave you in the menu, even if your display doesnt boot fast enough to show it.
- Now you get in the recovery Menu. First, select
networkto enable network access on your system. - Then select
root, to open a root shell to your system: -
- In the root-shell, type in
journalctl -n 200to get the latest logs. - If there are services like
nvidia-persictencedorlightdmthat crash, this guide is correct for you. If it is something else, im sorry - you still can try this guide, but i wont know, if it is the solution to your particular problem. Try googling it. The Problem in this case is, that your computer fails to start the drivers for your (NVIDIA) graphic card.
Workaround for the graphic drivers #
- Still in the root shell, type in
sudo apt purge 'nvidia-*'to uninstall all nvidia-drivers. - After that, type in
sudo apt autoremove --purgeto completely remove them. - use
apt update && apt upgrade-y to get the latest updates. - use
sudo apt install --reinstall xserver-xorg-video-nouveauto install the standard driver. - Rebuild your Initramfs with
sudo update-initramfs -u - And finally, reboot your computer with
sudo reboot - Now it should reboot fine into the GUI - but it may will look horrible, because the correct drivers are now missing of course.
- Reinstall them through the
drivers-menufrom Linux Mint “Driver Manager”. - Choose the recommended drivers for your computer and hit “Apply Changes”:
-
- Now everything should work like a charm again.
If you get the problem again after rebooting, redo the steps from this guide until you are in the driver manager again. Then DONT choose the recommended driver, and try another one - maybe that recommended driver does not work for you. Feel free to leave a comment below if you have any questions or suggestions for the guide.