Black screen after Nvidia driver update.

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Black screen after Nvidia driver update.

#1 Post by JanK »

Hi! I have been upgrading the machine today, when the following notice appeared.

Image

I clicked "continue" and it was a mistake.

Now i must mention that i use MX-21-KDE with... Gnome and with... systemd.

When i restarted i had the black screen with "no input avaliable". I tried to Ctrl-Alt-F1/F3 with no result.

Through advanced options i managed to log in to the previous kernel version, but with 1024-768 resolution. I was able to use CLI after Ctrl-Alt-F, and with systemctl commands i have stopped GDM, wrote "modprobe -r nvidia", the same with sudo and restarted the xserver with systemd commands again. That was no help.

I logged in the old kernel version again and tried to reinstall nvidia driver with MX Nvidia driver install. It was a bad move. After that i was not even able to login anywhere. Latest version of kernel (normal boot) gives me "no input" and older version boot options show me strange things. I see the blinking cursor on the black screen and nothing else. If i try to type it is like letters are erased instantly, if i press Ctrl-Alt-F1..F3 it gives me nothing or i shortly see the normal CLI but it vanishes again very quickly.

I don't know what to do and i am fine with using open-source drivers...

I have Intel Core i5 with GTX1050

UPD. Forgot to say, i have a home folder encrypted and initial login manager password disabled, at start i just type disk password, it could have influence on the situation...

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#2 Post by Huckleberry Finn »

Just "purge" the current one (5.10) (which was already problematic and though Nvidia Driver Installer should've already done so).

If you mean you can manually login after Ctrl+Alt+F1 , just:

Code: Select all

sudo ddm-mx -p nvidia

Code: Select all

sudo reboot
... Then (if you're able to boot normally) install the 5.20 (... or go on with Nouveau if you like).

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#3 Post by Huckleberry Finn »

Or, if you can't do that (when logged in this or that way) and if you have any MX or antiX live usb (that can even be your snapshot iso), tell us and we'll go on according to that.

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Black screen after Nvidia driver update.

#4 Post by JanK »

Huckleberry Finn wrote: Wed Mar 08, 2023 2:28 pm If you mean you can manually login after Ctrl+Alt+F1 , just:
No, unfortunately i can't...

Yes, i have an opportunity to make an MX-Live--usb.

But, what do you think about the following solution made for Ubuntu?

" Highlight the Ubuntu option and press E. Add nouveau.modeset=0 to the end of the line beginning with linux. Press F10 to boot : after F10 I got a flash (for like a second) of an ultra-low resolution command terminal (with very fast successive commands) then it became black.
Similarly, replace quiet splash with nomodeset, and boot with F10: same result."

https://askubuntu.com/questions/1129516 ... 8-04-2-lts

It was unsuccessful in that thread, but maybe worth a try?

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#5 Post by Huckleberry Finn »

You can press E on grub than add nomodeset after ... ro quiet splash ... and press F10 to go on boot.

(splash isn't needed so you can even delete that if you like: ... ro quiet nomodeset ... )

In case of success purge Nvidia with the above command.

User avatar
Stevo
Developer
Posts: 14773
Joined: Fri Dec 15, 2006 7:07 pm

Re: Black screen after Nvidia driver update.

#6 Post by Stevo »

The 520 driver update was supposed to fix the problems that the 510 driver had with single Nvidia GPU systems...are you saying that 510 was working for you?
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#7 Post by Huckleberry Finn »

JanK wrote: Wed Mar 08, 2023 3:09 pm
Huckleberry Finn wrote: Wed Mar 08, 2023 2:28 pm If you mean you can manually login after Ctrl+Alt+F1 , just:
No, unfortunately i can't...
Then, in fact, it looks like it's not just an Nvidia / Graphics driver problem ..

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Black screen after Nvidia driver update.

#8 Post by JanK »

Huckleberry Finn wrote: Wed Mar 08, 2023 3:38 pm You can press E on grub than add nomodeset after ... ro quiet splash ... and press F10 to go on boot.
(splash isn't needed so you can even delete that if you like: ... ro quiet nomodeset ... )
Yeah, it worked. Thx!

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Black screen after Nvidia driver update.

#9 Post by JanK »

Stevo wrote: Wed Mar 08, 2023 3:42 pm The 520 driver update was supposed to fix the problems that the 510 driver had with single Nvidia GPU systems...are you saying that 510 was working for you?
Probably yes, i didn't have a need to check the version i have been using. It worked all fine from the moment MX21 was installed.

I am able to use computer now, but unfortunately i have noticed a significant decrease in video performance with open-source driver. What should be my steps to safely upgrade nvidia proprietary driver?

UPD. I am a little bit confused now. Kernel module and drivers are the different things? From the first search link: "Kernel modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. A module can be configured as built-in or loadable".

https://eng.libretexts.org/Bookshelves/ ... el_Modules

But also i can read that: "Device drivers are part of the kernel..."

https://tldp.org/LDP/tlk/dd/drivers.html

In my case the warning says "Driver... doesn't match... current kernel module..." (see first post)

What should i do? I am afraid to break things again.

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#10 Post by Huckleberry Finn »

JanK wrote: Thu Mar 09, 2023 11:18 am
Huckleberry Finn wrote: Wed Mar 08, 2023 3:38 pm You can press E on grub than add nomodeset after ... ro quiet splash ... and press F10 to go on boot.
(splash isn't needed so you can even delete that if you like: ... ro quiet nomodeset ... )
Yeah, it worked. Thx!
:number1:

Now just open Nvidia Driver Installer, next next Finish..

Post Reply

Return to “MX Help”