Black screen on boot after installing updates

Hello,

I recently installed updates and when I rebooted, I got a black screen (did not reach the login screen). I tried rebooting again a few times: same result.

I searched for a solution on the forum. I booted up from a live Manjaro environment on a USB key and used chroot to access my system.

I ran the following commands:

sudo pacman-mirrors -f 5
sudo pacman -Syyu 

but that didn’t fix the problem when I rebooted.

I went back and I did some research and noticed that there’s a few commands that can help troubleshoot this problem. Below are the commands I ran and their respective output:

startx
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
(EE) 
Please consult the The X.Org Foundation support 
       at http://wiki.x.org
for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
Invalid MIT-MAGIC-COOKIE-1 key
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
mhwd-kernel -li
Currently running: 6.1.11-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux61
mhwd -l
> 0000:01:00.0 (0300:10de:2504) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI

inxi -Fyza
12System:
  12Kernel 6.1.11-1-MANJARO 12arch x86_64 12bits 64 12compiler gcc 12v 12.2.1
    12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_KDE_2203 quiet systemd.show_status=1
    splash driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  12Console N/A 12Distro Manjaro Linux 12base Arch Linux
12Machine:
  12Type Desktop 12Mobo Micro-Star 12model Z590 PRO WIFI (MS-7D09) 12v 1.0
    12serial <filter> 12UEFI American Megatrends LLC. 12v 1.00 12date 01/14/2021
12CPU:
  12Info 12model 11th Gen Intel Core i5-11600K 12socket U3E1 12bits 64 12type MT MCP
    12arch Rocket Lake 12gen core 11 12level v4 12note check 12built 2021+
    12process Intel 14nm 12family 6 12model-id 0xA7 (167) 12stepping 1 12microcode 0x56
  12Topology 12cpus 1x 12cores 6 12tpc 2 12threads 12 12smt enabled 12cache 12L1 480 KiB
    12desc d-6x48 KiB; i-6x32 KiB 12L2 3 MiB 12desc 6x512 KiB 12L3 12 MiB 12desc 1x12 MiB
  12Speed (MHz) 12avg 4551 12high 4806 12min/max 800/4900 12base/boost 3900/8500
    12scaling 12driver intel_pstate 12governor powersave 12volts 1.1 V 12ext-clock 100 MHz
    12cores 121 4625 122 4603 123 4601 124 4680 125 4611 126 4366 127 4590 128 4600 129 4630
    1210 3900 1211 4806 1212 4600 12bogomips 93924
  12Flags avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  12Vulnerabilities
  12Type itlb_multihit 12status Not affected
  12Type l1tf 12status Not affected
  12Type mds 12status Not affected
  12Type meltdown 12status Not affected
  12Type mmio_stale_data 12mitigation Clear CPU buffers; SMT vulnerable
  12Type retbleed 12mitigation Enhanced IBRS
  12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via
    prctl
  12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer
    sanitization
  12Type spectre_v2 12mitigation Enhanced IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: SW sequence
  12Type srbds 12status Not affected
  12Type tsx_async_abort 12status Not affected
12Graphics:
  12Device-1 NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] 12vendor Gigabyte
    12driver nouveau 12v kernel 12non-free 525.xx+ 12status current (as of 2023-02)
    12arch Ampere 12code GAxxx 12process TSMC n7 (7nm) 12built 2020-22 12pcie 12gen 4
    12speed 16 GT/s 12lanes 16 12ports 12active HDMI-A-2 12empty DP-1,DP-2,HDMI-A-1
    12bus-ID 01:00.0 12chip-ID 10de:2504 12class-ID 0300
  12Display 12server X.org 12v 1.21.1.7 12compositor kwin_x11 12driver 12gpu nouveau
    12note X driver n/a 12tty 80x40
  12Monitor-1 HDMI-A-2 12model LG (GoldStar) ULTRAGEAR 12serial <filter> 12built 2021
    12res 1920x1080 12dpi 93 12gamma 1.2 12size 527x296mm (20.75x11.65")
    12diag 604mm (23.8") 12ratio 16:9 12modes 12max 1920x1080 12min 640x480
  12API OpenGL 12Message GL data unavailable in console for root.
12Audio:
  12Device-1 Intel Tiger Lake-H HD Audio 12vendor Micro-Star MSI
    12driver snd_hda_intel 12bus-ID 1-8:7 12v kernel 12bus-ID 00:1f.3 12chip-ID 046d:0a37
    12chip-ID 8086:43c8 12class-ID 0300 12serial <filter> 12class-ID 0403
  12Device-2 NVIDIA GA106 High Definition Audio 12vendor Gigabyte
    12driver snd_hda_intel 12v kernel 12pcie 12gen 4 12speed 16 GT/s 12lanes 16
    12bus-ID 01:00.1 12chip-ID 10de:228e 12class-ID 0403
  12Device-3 Logitech USB Headset H540 12type USB
    12driver hid-generic,snd-usb-audio,usbhid
  12Sound API ALSA 12v k6.1.11-1-MANJARO 12running yes
  12Sound Server-1 JACK 12v 1.9.22 12running no
  12Sound Server-2 PulseAudio 12v 16.1 12running yes
  12Sound Server-3 PipeWire 12v 0.3.65 12running yes
12Network:
  12Device-1 Intel Ethernet I225-V 12vendor Micro-Star MSI 12driver igc 12v kernel 12pcie
    12gen 2 12speed 5 GT/s 12lanes 1 12port N/A 12bus-ID 04:00.0 12chip-ID 8086:15f3
    12class-ID 0200
  12IF enp4s0 12state down 12mac <filter>
  12Device-2 Intel Wi-Fi 6 AX210/AX211/AX411 160MHz 12driver iwlwifi 12v kernel
    12pcie 12gen 2 12speed 5 GT/s 12lanes 1 12bus-ID 05:00.0 12chip-ID 8086:2725
    12class-ID 0280
  12IF wlp5s0 12state up 12mac <filter>
12Bluetooth:
  12Device-1 Intel AX210 Bluetooth 12type USB 12driver btusb 12v 0.8 12bus-ID 1-14:11
    12chip-ID 8087:0032 12class-ID e001
  12Report rfkill 12ID hci0 12rfk-id 0 12state up 12address see --recommends
12Drives:
  12Local Storage 12total 983.68 GiB 12used 28.07 GiB (2.9%)
  12ID-1 /dev/nvme0n1 12maj-min 259:0 12vendor Intel 12model SSDPEKNW010T8
    12size 953.87 GiB 12block-size 12physical 512 B 12logical 512 B 12speed 31.6 Gb/s
    12lanes 4 12type SSD 12serial <filter> 12rev 004C 12temp 37.9 C
  12SMART yes 12health PASSED 12on 205d 21h 12cycles 930
    12read-units 15,522,518 [7.94 TB] 12written-units 15,808,397 [8.09 TB]
  12ID-2 /dev/sda 12maj-min 8:0 12type USB 12vendor Lexar 12model USB Flash Drive
    12size 29.81 GiB 12block-size 12physical 512 B 12logical 512 B 12type SSD
    12serial <filter> 12rev 8.07
  12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
  12ID-1 / 12raw-size 292.97 GiB 12size 287.31 GiB (98.07%) 12used 28.04 GiB (9.8%)
    12fs ext4 12block-size 4096 B 12dev /dev/nvme0n1p5 12maj-min 259:5
  12ID-2 /boot/efi 12raw-size 100 MiB 12size 96 MiB (96.00%) 12used 25.4 MiB (26.4%)
    12fs vfat 12block-size 512 B 12dev /dev/nvme0n1p1 12maj-min 259:1
12Swap:
  12Alert No swap data was found.
12Sensors:
  12System Temperatures 12cpu 36.0 C 12mobo N/A
  12Fan Speeds (RPM) N/A
12Info:
  12Processes 305 12Uptime 1h 40m 12wakeups 0 12Memory 15.52 GiB 12used 4 GiB (25.8%)
  12Init systemd 12v 252 12default graphical 12tool systemctl 12Compilers 12gcc 12.2.1
  12clang 15.0.7 12Packages 12pm pacman 12pkgs 1273 12libs 330 12tools pamac 12pm flatpak
  12pkgs 0 12Client Unknown Client: systemd 12inxi 3.3.25

Any help would be appreciated. Thank you.

P.S. I’m not a Linux expert and I’ve been using Manjaro for over a month

is the mhwd-kernel -li/ mhwd -l -li output from chroot?
also from chroot provide logs:
journalctl -b-1 -p4 --no-pager

Yes those are from chroot

Here are the logs:

journalctl -b-1 -p4 --no-pager
Feb 21 18:48:04 AlexPC kernel: MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
Feb 21 18:48:04 AlexPC kernel:   #7  #8  #9 #10 #11
Feb 21 18:48:04 AlexPC kernel: usb: port power management may be unreliable
Feb 21 18:48:04 AlexPC kernel: usb 1-4.1: device descriptor read/64, error -32
Feb 21 18:48:04 AlexPC kernel: iwlwifi 0000:05:00.0: api flags index 2 larger than supported by driver
Feb 21 18:48:04 AlexPC kernel: MXM: GUID detected in BIOS
Feb 21 18:48:04 AlexPC kernel: thermal thermal_zone1: failed to read out thermal zone (-61)
Feb 21 18:48:04 AlexPC kernel: hdaudio hdaudioC0D2: Unable to configure, disabling
Feb 21 18:48:05 AlexPC bluetoothd[544]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Feb 21 18:48:05 AlexPC bluetoothd[544]: src/plugin.c:plugin_init() Failed to init vcp plugin
Feb 21 18:48:05 AlexPC bluetoothd[544]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Feb 21 18:48:05 AlexPC bluetoothd[544]: src/plugin.c:plugin_init() Failed to init mcp plugin
Feb 21 18:48:05 AlexPC bluetoothd[544]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Feb 21 18:48:05 AlexPC bluetoothd[544]: src/plugin.c:plugin_init() Failed to init bap plugin
Feb 21 18:48:05 AlexPC kernel: usb 1-8: Warning! Unlikely big volume range (=4096), cval->res is probably wrong.
Feb 21 18:48:05 AlexPC kernel: usb 1-8: [11] FU [Sidetone Playback Volume] ch = 1, val = 0/4096/1
Feb 21 18:48:07 AlexPC kernel: nouveau 0000:01:00.0: DRM: core notifier timeout
Feb 21 18:48:09 AlexPC sddm[551]: Could not setup default cursor
Feb 21 18:48:09 AlexPC kernel: kauditd_printk_skb: 25 callbacks suppressed
Feb 21 18:48:09 AlexPC systemd[649]: xdg-user-dirs-update.service: Failed with result 'exit-code'.
Feb 21 18:48:09 AlexPC systemd[649]: Failed to start Update XDG user dir configuration.
Feb 21 18:48:10 AlexPC kernel: nouveau 0000:01:00.0: DRM: core notifier timeout
Feb 21 18:48:12 AlexPC kernel: nouveau 0000:01:00.0: DRM: wndw-0: timeout
Feb 21 18:48:12 AlexPC sddm-greeter[658]: QFont::fromString: Invalid description '(empty)'
Feb 21 18:48:12 AlexPC sddm-greeter[658]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc877eb100), parent's thread is QThread(0x55adfec5d490), current thread is QThread(0x55adff09b2c0)
Feb 21 18:48:12 AlexPC sddm-greeter[658]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc877eb100), parent's thread is QThread(0x55adfec5d490), current thread is QThread(0x55adff09b2c0)
Feb 21 18:48:12 AlexPC sddm-greeter[658]: QObject: Cannot create children for a parent that is in a different thread.
                                          (Parent is QGuiApplication(0x7ffc877eb100), parent's thread is QThread(0x55adfec5d490), current thread is QThread(0x55adff09b2c0)
Feb 21 18:48:12 AlexPC sddm-greeter[658]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/components/VirtualKeyboard.qml:11:1: Type InputPanel unavailable
Feb 21 18:48:13 AlexPC sddm-greeter[658]: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:138:5: Type Keyboard unavailable
Feb 21 18:48:13 AlexPC sddm-greeter[658]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.18'
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:13 AlexPC sddm-greeter[658]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Feb 21 18:48:15 AlexPC kernel: kauditd_printk_skb: 7 callbacks suppressed
Feb 21 18:48:18 AlexPC kernel: nouveau 0000:01:00.0: DRM: core notifier timeout
Feb 21 18:48:20 AlexPC kernel: nouveau 0000:01:00.0: DRM: wndw-0: timeout
Feb 21 18:50:06 AlexPC sddm[551]: Error from greeter session: "Process crashed"
Feb 21 18:50:06 AlexPC sddm[551]: Auth: sddm-helper crashed (exit code 15)
Feb 21 18:50:06 AlexPC sddm[551]: Error from greeter session: "Process crashed"
Feb 21 18:50:06 AlexPC sddm[551]: Auth: sddm-helper exited with 15
Feb 21 18:50:06 AlexPC sddm[551]: Signal received: SIGTERM
Feb 21 18:50:06 AlexPC systemd-coredump[748]: Failed to connect to coredump service: Connection refused
Feb 21 18:50:07 AlexPC systemd[1]: udisks2.service: Main process exited, code=dumped, status=6/ABRT
Feb 21 18:50:07 AlexPC systemd[1]: udisks2.service: Failed with result 'core-dump'.
Feb 21 18:50:07 AlexPC NetworkManager[516]: <warn>  [1677027007.7682] dispatcher: (10) failed (after 0.000 sec): Refusing activation, D-Bus is shutting down.
Feb 21 18:50:08 AlexPC systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount: Failed with result 'exit-code'.

so you are running on the open source nvidia drivers, which is probably the reason for the black screen…
so from chroot add the ibt parameter (you need to add it on nvidia+intel systems, at least on newer ones):
nano /etc/default/grub
and inside this line: GRUB_CMDLINE_LINUX_DEFAULT inside the quotes add this parameter:
ibt=off
dont remove anything, just add it to existing parameters, save the file with ctrl+x, press Y, update grub:
update-grub

install nvidia drivers:
mhwd -i pci video-nvidia
exit chroot, reboot and see if you can boot

It worked, thank you. But now the GRUB menu doesn’t show anymore so I can’t choose to boot Windows, it goes straight to Manjaro

I fixed it. I have to edit the same file and change the value of GRUB_TIMEOUT_STYLE from hidden to menu and run update-grub again