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
Huckleberry Finn

Re: Black screen after Nvidia driver update.

#11 Post 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

Code: Select all

sudo rm /etc/X11/xorg.conf
It may say "No such file or directory", ... no harm. But if it gives no output: just reboot.

popjah
Posts: 36
Joined: Wed Oct 16, 2019 2:11 pm

Re: Black screen after Nvidia driver update.

#12 Post 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!

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

Re: Black screen after Nvidia driver update.

#13 Post 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"

Image

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..?

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#14 Post by Huckleberry Finn »

Just there you can apply the

Code: Select all

sudo ddm-mx -p nvidia

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#15 Post 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 .

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

Re: Black screen after Nvidia driver update.

#16 Post 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?

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#17 Post 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...

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

Re: Black screen after Nvidia driver update.

#18 Post 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?

Huckleberry Finn

Re: Black screen after Nvidia driver update.

#19 Post 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 ... )

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

Re: Black screen after Nvidia driver update.

#20 Post 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.

Post Reply

Return to “MX Help”