[SOLVED] HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
[SOLVED] HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
A new Linux user here.
I was trying to fix something related to Android Studio, which needed for me to install the latest nvidia graphics driver (nvidia-460)
After this, I reboot my system and as soon as I select "Linux Mint 20.1 Cinnamon" from the Grub menu, it shows a black screen.
I also tried pressing "e" and replacing "quiet splash" with "nomodeset", "nvidia.modeset=0", "nouveau.modeset=0", "nouveau.noaccel=1" and many other commands that were shown on the internet forums, but the problem still persisted and nothing changed.
I also tried pressing "ctrl-alt-Fx" and "ctrl-fn-alt-fx" because apparently, it loads a terminal, but that didn't make any difference at all.
My laptop is still stuck on a black screen.
I'm sure it's related to the driver I installed, but I have no idea how to proceed now.
Please please help me out
PS: My Linux mint is installed on an external HDD, and it's dual-booted with Windows 10.
Fast boot is disabled.
Edit: out of curiosity, I tried typing my password on the black screen and after a few seconds, it played the unlock sound, which means that everything is working. Everything except the display.
Edit 2: I forgot to mention that the recovery mode also shows a black screen when I try to boot into it. So trying to use the recovery mode is out of question. It just doesn't open. Everything shows a black screen.
I was trying to fix something related to Android Studio, which needed for me to install the latest nvidia graphics driver (nvidia-460)
After this, I reboot my system and as soon as I select "Linux Mint 20.1 Cinnamon" from the Grub menu, it shows a black screen.
I also tried pressing "e" and replacing "quiet splash" with "nomodeset", "nvidia.modeset=0", "nouveau.modeset=0", "nouveau.noaccel=1" and many other commands that were shown on the internet forums, but the problem still persisted and nothing changed.
I also tried pressing "ctrl-alt-Fx" and "ctrl-fn-alt-fx" because apparently, it loads a terminal, but that didn't make any difference at all.
My laptop is still stuck on a black screen.
I'm sure it's related to the driver I installed, but I have no idea how to proceed now.
Please please help me out
PS: My Linux mint is installed on an external HDD, and it's dual-booted with Windows 10.
Fast boot is disabled.
Edit: out of curiosity, I tried typing my password on the black screen and after a few seconds, it played the unlock sound, which means that everything is working. Everything except the display.
Edit 2: I forgot to mention that the recovery mode also shows a black screen when I try to boot into it. So trying to use the recovery mode is out of question. It just doesn't open. Everything shows a black screen.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Maybe Timeshift in a live session of Mint?
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
I'm sorry, do you mind explaining how exactly it's done? I only read about Timeshift while I was trying to look for ways to fix this issue.
I have a USB drive with an installation (burnt ISO file) of Linux Mint Cinnamon in it, if that helps.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Did you have Timeshift set up before this happened? If not, then it won't help you.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
If you do have a Timeshift snapshot from before this happened, just go to Timeshift from your USB media & install it.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Except for reinstalling Mint, I don't know another way. But, someone else might have an idea.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Did you have an Nvidia driver installed before you did this?ruinedcentipede wrote: ⤴Sun Jun 20, 2021 2:11 pm A new Linux user here.
I was trying to fix something related to Android Studio, which needed for me to install the latest nvidia graphics driver (nvidia-460)
After this, I reboot my system and as soon as I select "Linux Mint 20.1 Cinnamon" from the Grub menu, it shows a black screen.
Is this the same computer as in your other thread [SOLVED] Linux mInt Cinnamon boots to a screen saying "Press Enter to continue (or press ctrl-D)"?
A woman typing on a laptop with LM20.3 Cinnamon.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Additional question: Did you install the Nvidia-460 driver using Driver Manager? If not, let us know how you installed it.
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
I typed this:
Code: Select all
sudo apt install nvidia-driver-460
Code: Select all
sudo reboot
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
In the other thread, you had the default nouveau (open-source) driver installed.ruinedcentipede wrote: ⤴Sun Jun 20, 2021 3:50 pmI probably did, but I can't confirm. My GPU is Nvidia GTX 1060, and my software manager said that everything was updated.
Did you run Update Manager to get your system up to date before installing the Nvidia driver? If not, that may be part of the reason for the black screen since files related to laptops with dual graphics like yours had some bugs which were fixed in recent updates.
I'm trying to determine how to get the Nvidia driver removed given you seem to not be able to get into Recovery Mode or to a tty.
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
I did not run the manager to update anything. That definitely might be an issue.
I tried everything I could find (ctrl-alt-Fx key combinations, etc), but if you still think I should give something else a try, please let me know.
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
I just checked your data again and it does not have dual graphics (my error). It just has the Nvidia card, but I believe there were updates which could affect this situation.
So you are able to boot to grub. And you can select Advanced Options. And when you select the kernel version with (recovery mode) after it you get a black screen?
Using Recovery Mode should disable the graphics drivers and get you into the system using software rendering mode. I am not sure why that is not working, so I do not know the best way to work around it.
By chance, do you have an external monitor that you could connect with an HDMI connection? I'm helping someone in another thread and it seems there are issues with the latest Nvidia drivers and DisplayPort connections. Most laptop screens are a type of DisplayPort connection. I do not know if that is the issue here or something else might be a factor.
So you are able to boot to grub. And you can select Advanced Options. And when you select the kernel version with (recovery mode) after it you get a black screen?
Using Recovery Mode should disable the graphics drivers and get you into the system using software rendering mode. I am not sure why that is not working, so I do not know the best way to work around it.
By chance, do you have an external monitor that you could connect with an HDMI connection? I'm helping someone in another thread and it seems there are issues with the latest Nvidia drivers and DisplayPort connections. Most laptop screens are a type of DisplayPort connection. I do not know if that is the issue here or something else might be a factor.
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Yes I get a black screen with my fans whirring loudly even in the recovery mode.
Yes, do you think I should try connecting to this and see if the display works? If I do, should I boot into normal mode or recovery mode?
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
It's possible only the external display may work. However, if you can get a display for either one, you should be able to get in to remove the Nvidia driver. You should be able to do that in normal mode or recovery mode.ruinedcentipede wrote: ⤴Sun Jun 20, 2021 4:32 pmYes, do you think I should try connecting to this and see if the display works? If I do, should I boot into normal mode or recovery mode?
(This is just a guess on my part based on what happened in the other thread, but keeping my fingers crossed it works.)
A woman typing on a laptop with LM20.3 Cinnamon.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Alright!
I'll try this first thing in the morning and update here. Thank you!
I'll try this first thing in the morning and update here. Thank you!
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Okay so quick update: I tried connecting to an external display through HDMI, but no luck. The display isn't even showing a signal, let alone a black screen.
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Update 2:
I was able to access a command line after pressing "e" in the grub menu and adding "init=/bin/bash" at the end of the line that starts with "linux ..."
Now the terminal shows this:
Is there a way I could reset my graphics drivers from here?
I was able to access a command line after pressing "e" in the grub menu and adding "init=/bin/bash" at the end of the line that starts with "linux ..."
Now the terminal shows this:
Code: Select all
root@(none):/#
-
- Level 1
- Posts: 18
- Joined: Wed Jun 16, 2021 2:58 am
Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers
Update 3:
I almost solved the issue.
In the command line from my previous reply, I typed:
Because removing the driver individually wasn't working.
After this, I rebooted and I'm now able to boot into my laptop normally.
Before I mark this issue as solved, could you please tell me if there's anything I should check and/or update? Because at this point, I'm scared to reboot my system.
I almost solved the issue.
In the command line from my previous reply, I typed:
Code: Select all
sudo apt-get purge nvidia*
After this, I rebooted and I'm now able to boot into my laptop normally.
Before I mark this issue as solved, could you please tell me if there's anything I should check and/or update? Because at this point, I'm scared to reboot my system.