Black screen after update, nvidia driver removed

Hi everyone.

I’m having some trouble after I updated my system, now I when I boot I get a black screen. I can still use the tty to login, and I did so to try some solutions I saw on the forum here, but nothing is working…

I think the problem comes from the ‘removed linux59-nvidia (460.73.01-1)’ on the update, so I tried installing new drivers, but nothing seems to work. After one of these installs, a new kernel version showed up, * linux59-rt, with the rt on it.

I can get to the login screen on it, and it displays just fine, but when I log in the system freezes.

I made a repo with some logs, cause some of them are pretty big, like the pacman log that shows everything that the update did, so I’ll post the link here.

The pacman log also shows a lot of things I was doing after the update to try and fix the system…

If anyone can tell me what the update did that broke my system and how I can fix that I would be really grateful! Thanks guys

Hello @brunorasera :wink:

Correct. Linux59 is now dropped completely from the official Repo. It last very long although it was dropped by the kernel developer… Stable kernels are dropped normally after 3 months lifetime.

I guess you missed the time to change it and now it is removed. Some configs need to be removed by hand now to remove it completely.

I suggest to remove linux59 completely and rely on LTS kernel versions: https://www.kernel.org/

I installed 5.10, wich seems to be the latest LTS from the link you posted, with ‘sudo mhwd-kernel -i linux510’ on tty2, and it seemed to work fine.

I booted into it, but the screen is still black. How can I make sure I have the right nvidia drivers installed and working?

@brunorasera

Check that:

cat /etc/modules-load.d/mhwd-gpu.conf 
cat /etc/modprobe.d/mhwd-gpu.conf
cat /etc/X11/xorg.conf.d/90-mhwd.conf

Packages:

pamac list --installed | grep nvidia | grep -v mhwd

Xorg on gnome:

journalctl --since=yesterday --grep="\([A-Z]{2}\)" --no-pager

gdm configs:

cat /etc/gdm/custom.conf

Rules to prevent using the nvidia driver on xwayland:

cat /usr/lib/udev/rules.d/61-gdm.rules

BTW… are you using ONLY nvidia or both gpus in hybrid mode? I see… you use both…

Since you have a 2 gpus, i would suggest to install:

sudo mhwd -i pci video-hybrid-intel-nvidia-prime

instead of video-nvidia, which is “nvdia only” and intel will not be used for the display.

Generated by mhwd - Manjaro Hardware Detection

nvidia
nvidia-drm

Generated by mhwd - Manjaro Hardware Detection

blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm

nvidia-xconfig: X configuration file generated by nvidia-xconfig
nvidia-xconfig: version 455.45.01

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection

Section “Files”
EndSection

Section “InputDevice”
# generated from default
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
# generated from default
Identifier “Keyboard0”
Driver “kbd”
EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
Option “DPMS”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
Option “NoLogo” “1”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
EndSubSection
EndSection

Section “Extensions”
Option “COMPOSITE” “Enable”
EndSection

Section “InputClass”
Identifier “Keyboard Defaults”
MatchIsKeyboard “yes”
Option “XkbOptions” “terminate:ctrl_alt_bksp”
EndSection

lib32-nvidia-utils 460.80-1 multilib 113.0 MB
linux59-rt-nvidia 460.80-1 community 26.5 MB
mhwd-nvidia 460.80-1 core 1.7 kB
mhwd-nvidia-390xx 390.143-1 core 1.9 kB
nvidia-utils 460.80-1 extra 329.6 MB

lib32-nvidia-utils 460.80-1 multilib 113.0 MB
linux59-rt-nvidia 460.80-1 community 26.5 MB
nvidia-utils 460.80-1 extra 329.6 MB

This one is huge, but it’s on the github link below:

#GDM configuration storage

[daemon]
AutomaticLoginEnable=False

#Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

[security]
[xdmcp]
[chooser]
[debug]

#Uncomment the line below to turn on debugging
#Enable=true

#disable Wayland on Hi1710 chipsets

ATTR{vendor}==“0x19e5”, ATTR{device}==“0x1711”, RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"

#disable Wayland when using the proprietary nvidia driver

DRIVER==“nvidia”, RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"

#disable Wayland if modesetting is disabled

IMPORT{cmdline}=“nomodeset”, RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"

Hmm, I only have a GTX 1050 Ti and my CPU doesn’t have integrated graphics, so I dont know why it seems like I do. I installed some more drivers after I got this problem, so that might be it.

If using linux510 then there must also be installed linux510-nvidia, which is the module for the kernel. At the moment there is only the module for linux59-rt installed. Thus it cannot load the driver:

Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE) NVIDIA:     system's kernel log for additional error messages and
Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE) NVIDIA:     consult the NVIDIA README for details.
Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE) No devices detected.
Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE)
Jun 06 20:14:49 manjaro /usr/lib/gdm-x-session[1095]: (EE) no screens found(EE)

I wrote to fast. I had another problem in mind and have it mixed up with yours. Sorry :wink: