[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.
User avatar
SMG
Level 25
Level 25
Posts: 31966
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by SMG »

ruinedcentipede wrote: Mon Jun 21, 2021 2:33 amBefore I mark this issue as solved, could you please tell me if there's anything I should check and/or update?
Please post the output of inxi -Fxxxrz and enclose the results within the code tags. That will give us an idea of how your system is currently seen by Mint.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
motoryzen
Level 10
Level 10
Posts: 3486
Joined: Sun Dec 08, 2019 12:25 am

Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by motoryzen »

ruinedcentipede wrote: Mon Jun 21, 2021 2:33 am Update 3:
I almost solved the issue.
In the command line from my previous reply, I typed:

Code: Select all

sudo apt-get purge nvidia*
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.
Well if you know...currently your system is working as it should, if I were you..I would do a system image backup/Timeshift backup( I mention system image backup part in case there is another program you'd rather use..such as Foxclone for example ).

And of course point the backup to target a different/separate storage drive. At least this way, you can easily restore your system to a known 100% working like a champ- state.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
ruinedcentipede
Level 1
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

Post by ruinedcentipede »

SMG wrote: Mon Jun 21, 2021 11:09 am
ruinedcentipede wrote: Mon Jun 21, 2021 2:33 amBefore I mark this issue as solved, could you please tell me if there's anything I should check and/or update?
Please post the output of inxi -Fxxxrz and enclose the results within the code tags. That will give us an idea of how your system is currently seen by Mint.

I'm so sorry for the late response, but here:

Code: Select all

System:
  Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 info: plank wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: ASUSTeK product: GL502VMZ v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: GL502VMZ v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: GL502VMZ.301 date: 03/29/2017 
Battery:
  ID-1: BAT0 charge: 51.5 Wh condition: 51.8/64.4 Wh (80%) volts: 15.2/15.2 
  model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> 
  status: Not charging cycles: 643 
CPU:
  Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44798 
  Speed: 985 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 1000 2: 1000 
  3: 1000 4: 1000 5: 983 6: 999 7: 989 8: 981 
Graphics:
  Device-1: NVIDIA GP106M [GeForce GTX 1060 Mobile] vendor: ASUSTeK 
  driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c20 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: NV136 v: 4.3 Mesa 20.2.6 direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
  Device-2: NVIDIA GP106 High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 10de:10f1 
  Sound Server: ALSA v: k5.4.0-74-generic 
Network:
  Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel port: e000 
  bus ID: 03:00.0 chip ID: 8086:24f3 
  IF: wlp3s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 04:00.0 
  chip ID: 10ec:8168 
  IF: enp4s0 state: down mac: <filter> 
  IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 3.76 TiB used: 88.31 GiB (2.3%) 
  ID-1: /dev/sda vendor: SanDisk model: SD8SNAT128G1002 size: 119.24 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 7002 scheme: GPT 
  ID-2: /dev/sdb vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
  speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 5J scheme: GPT 
  ID-3: /dev/sdc type: USB model: USB Hard Drive size: 931.51 GiB 
  serial: N/A rev: 0A scheme: MBR 
  ID-4: /dev/sdd type: USB vendor: Lenovo model: USB Hard Drive 
  size: 1.82 TiB serial: <filter> rev: 0U scheme: MBR 
Partition:
  ID-1: / size: 457.33 GiB used: 14.46 GiB (3.2%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 7.63 GiB used: 243.1 MiB (3.1%) fs: ext4 dev: /dev/sdc2 
  ID-3: /home size: 445.02 GiB used: 31.67 GiB (7.1%) fs: ext4 
  dev: /dev/dm-3 
Sensors:
  System Temperatures: cpu: 64.0 C mobo: N/A gpu: nouveau temp: 53 C 
  Fan Speeds (RPM): cpu: 4000 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  1: deb http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/maarten-fonville-android-studio-focal.list 
  1: deb http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb https://mirrors.piconets.webwerks.in/linuxmint-mirror/packages ulyssa main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/vscode.list 
  1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Info:
  Processes: 320 Uptime: 4h 35m Memory: 15.59 GiB used: 5.41 GiB (34.7%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 8/9 
  Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 

PS: My laptop reboots fine. I just hope that this command shows no issues.
ruinedcentipede
Level 1
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

Post by ruinedcentipede »

ruinedcentipede wrote: Tue Jun 22, 2021 2:05 pm Well if you know...currently your system is working as it should, if I were you..I would do a system image backup/Timeshift backup( I mention system image backup part in case there is another program you'd rather use..such as Foxclone for example ).

And of course point the backup to target a different/separate storage drive. At least this way, you can easily restore your system to a known 100% working like a champ- state.
Yes, thank you. This is the first thing I did. Learnt it the hard way haha
User avatar
SMG
Level 25
Level 25
Posts: 31966
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by SMG »

ruinedcentipede wrote: Tue Jun 22, 2021 2:05 pmPS: My laptop reboots fine. I just hope that this command shows no issues.
I do not see any issues.

If you want to try the nvidia driver again and end up with a black screen, after you enter your password (blindly enter it since you can not see the screen), try restarting X Server with Ctl-Alt-Backspace. If the screen comes back, a more permanent solution is described in this post [SOLVED] NVIDIA driver failing sometimes on boot ("no hardware acceleration").

It's possible that may not work, but if you have a Timeshift snapshot of the working system before you try the Nvidia driver, then you can easily return to your computer's current state.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ruinedcentipede
Level 1
Level 1
Posts: 18
Joined: Wed Jun 16, 2021 2:58 am

Re: [SOLVED] HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by ruinedcentipede »

SMG wrote: Tue Jun 22, 2021 2:56 pm I do not see any issues.

If you want to try the nvidia driver again and end up with a black screen, after you enter your password (blindly enter it since you can not see the screen), try restarting X Server with Ctl-Alt-Backspace. If the screen comes back, a more permanent solution is described in this post [SOLVED] NVIDIA driver failing sometimes on boot ("no hardware acceleration").

It's possible that may not work, but if you have a Timeshift snapshot of the working system before you try the Nvidia driver, then you can easily return to your computer's current state.
Alright sure I'll try this
I've marked the issue as solved.
Thank you so much for helping me out. Lots of love to the entire community :)
FrankN209
Level 2
Level 2
Posts: 55
Joined: Mon Mar 02, 2015 8:46 pm

Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by FrankN209 »

ruinedcentipede wrote: Mon Jun 21, 2021 2:33 am Update 3:
I almost solved the issue.
In the command line from my previous reply, I typed:

Code: Select all

sudo apt-get purge nvidia*
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.
Old post, but this solved my problem, thanks.
User avatar
SMG
Level 25
Level 25
Posts: 31966
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HELP! Linux Mint Cinnamon stuck on black screen after installing nvidia drivers

Post by SMG »

FrankN209 wrote: Sun Jul 31, 2022 6:09 pmOld post, but this solved my problem, thanks.
If you have a laptop and you ran that command, then you removed more than just the Nvidia driver.

If you want help with your issue, please create a new topic and supply the information about your system.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”