Page 1 of 1
Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 1:18 pm
by JanK
Hi! I have been upgrading the machine today, when the following notice appeared.
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...
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 2:28 pm
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:
... Then (if you're able to boot normally) install the 5.20 (... or go on with Nouveau if you like).
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 2:35 pm
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.
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 3:09 pm
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?
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 3:38 pm
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.
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 3:42 pm
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?
Re: Black screen after Nvidia driver update.
Posted: Wed Mar 08, 2023 3:50 pm
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 ..
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 11:18 am
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!
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 11:22 am
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.
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 11:41 am
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!
Now just open Nvidia Driver Installer, next next Finish..
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 11:43 am
by Huckleberry Finn
Don't worry, you already know (now) how to revert back.. Either Ctrl+Alt+F1 ... or directly
nomodeset , or live session..
You can ask for help again anytime you like.
Just (either now or later) if you see such a file, delete it:
/etc/X11/xorg.conf
It may say "No such file or directory", ... no harm. But if it gives no output: just reboot.
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 12:24 pm
by popjah
510 didn't work at all for me, so I gave up installing the Nvidia driver. After reading this thread, I tried with the newer 520, and it worked flawlessly.
Thanks!
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 12:55 pm
by JanK
Huckleberry Finn wrote: Thu Mar 09, 2023 11:41 am
Now just open Nvidia Driver Installer, next next Finish..
No ( Installation ran without errors, but after restart i received "no input" again"
From the interest i installed MX Test nvidia-driver 470.129.06-6~mx21+1 and... it works. Guess that's the 520 driver is wrong here in my case..?
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:04 pm
by Huckleberry Finn
Just there you can apply the
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:06 pm
by Huckleberry Finn
JanK wrote: Thu Mar 09, 2023 12:55 pm... Guess that's the 520 driver is wrong here in my case..?..
Yes, I was just going to write the same. It's been ok for others so far, but it seems there's something with your card & 5.20 .
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:16 pm
by JanK
Huckleberry Finn wrote: Thu Mar 09, 2023 1:06 pm
JanK wrote: Thu Mar 09, 2023 12:55 pm... Guess that's the 520 driver is wrong here in my case..?..
Yes, I was just going to write the same. It's been ok for others so far, but it seems there's something with your card & 5.20 .
Oops, no, somehow even the install of .470 from test repo was finished without errors, it was not installed really
Code: Select all
Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Gigabyte driver: nouveau v: kernel
bus-ID: 01:00.0 chip-ID: 10de:1c81 class-ID: 0300
Display: wayland server: X.Org 1.20.13 compositor: gnome-shell driver: loaded: nouveau
note: n/a (using device driver) alternate: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: XWAYLAND0 res: 1920x1080 hz: 75 dpi: 102 size: 480x270mm (18.9x10.6")
diag: 551mm (21.7")
OpenGL: renderer: NV137 v: 4.3 Mesa 22.0.5 direct render: Yes
Maybe there is a problem with Wayland?
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:18 pm
by Huckleberry Finn
I was just writing this:
In the meantime you can still post "Quick System Info" from menu when you're able to boot, that may be useful to have an idea, also for devs...
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:20 pm
by JanK
JanK wrote: Thu Mar 09, 2023 1:16 pm
Huckleberry Finn wrote: Thu Mar 09, 2023 1:06 pm
JanK wrote: Thu Mar 09, 2023 12:55 pm... Guess that's the 520 driver is wrong here in my case..?..
Yes, I was just going to write the same. It's been ok for others so far, but it seems there's something with your card & 5.20 .
Oops, no, somehow even the install of .470 from test repo was finished without errors, it was not installed really
Code: Select all
Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Gigabyte driver: nouveau v: kernel
bus-ID: 01:00.0 chip-ID: 10de:1c81 class-ID: 0300
Display: wayland server: X.Org 1.20.13 compositor: gnome-shell driver: loaded: nouveau
note: n/a (using device driver) alternate: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: XWAYLAND0 res: 1920x1080 hz: 75 dpi: 102 size: 480x270mm (18.9x10.6")
diag: 551mm (21.7")
OpenGL: renderer: NV137 v: 4.3 Mesa 22.0.5 direct render: Yes
Maybe there is a problem with Wayland?
UPD. Ooops again, i checked, there WERE problems
Code: Select all
The following packages have unmet dependencies:
libcuda1 : Depends: libnvidia-ptxjitcompiler1 (= 470.129.06-6~mx21+1) but it is not going to be installed
Recommends: nvidia-persistenced
Recommends: libcuda1:i386 (= 470.129.06-6~mx21+1)
libegl-nvidia0 : Depends: libnvidia-eglcore (= 470.129.06-6~mx21+1) but it is not going to be installed
libglx-nvidia0 : Depends: libnvidia-eglcore (= 470.129.06-6~mx21+1) but it is not going to be installed
Depends: libnvidia-glcore (= 470.129.06-6~mx21+1) but it is not going to be installed
nvidia-settings : Depends: libxnvctrl0 (= 470.129.06-1~mx21+1) but 520.56.06-1~mx21+1 is to be installed
xserver-xorg-video-nvidia : Depends: libnvidia-glcore (= 470.129.06-6~mx21+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
POSTINSTALL
symlinks
ln: failed to create symbolic link '/etc/modprobe.d/nvidia-blacklists-nouveau.conf': File exists
ln: failed to create symbolic link '/etc/modprobe.d/nvidia-modprobe.conf': File exists
ln: failed to create symbolic link '/etc/modprobe.d/nvidia-options.conf': File exists
ln: failed to create symbolic link '/etc/modules-load.d/nvidia.conf': File exists
20_nvidia.conf
Can i somehow keep 510?
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:26 pm
by Huckleberry Finn
Oh, I notice this just now:
JanK wrote: Wed Mar 08, 2023 1:18 pm... i use MX-21-KDE with... Gnome ...
Yes, that may be the reason.
(I was thinking it was the original MX KDE / AHS ... )
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 1:33 pm
by JanK
Huckleberry Finn wrote: Thu Mar 09, 2023 1:26 pm
Oh, I notice this just now:
JanK wrote: Wed Mar 08, 2023 1:18 pm... i use MX-21-KDE with... Gnome ...
Yes, that may be the reason.
(I was thinking it was the original MX KDE / AHS ... )
Oh... Ok.
Is it a bad idea to try install Debian Bookworm version?
https://packages.debian.org/bookworm/nvidia-driver
If not, ok, i can live with open-source driver.
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 2:32 pm
by Huckleberry Finn
I would wait. 5.25 may be available soon (I just don't remember where I read that but afaik @Stevo is working on it)
Re: Black screen after Nvidia driver update.
Posted: Thu Mar 09, 2023 3:55 pm
by JanK
Huckleberry Finn wrote: Thu Mar 09, 2023 2:32 pm
I would wait. 5.25 may be available soon (I just don't remember where I read that but afaik @Stevo is working on it)
OK! Thanks for your help!
Looks like i have made a frankenMX)
