Black screen after manjaro update

My PC turned to be black screen after Manjaro update yesterday. I finished pacman -Syy and pacman -Syu from manjaro-chroot and now I am able to log into TTY. The login GUI is still blank.
I guess it’s the problem with the Nvidia driver.

$ inxi --full --verbosity=7 --filter --no-host

           System:    Kernel: 5.4.97-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 Console: tty 2 DM: LightDM 1.30.0 
           Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: B85 Pro4 serial: <filter> UEFI [Legacy]: American Megatrends v: P2.40 
           date: 12/21/2015 
Memory:    RAM: total: 15.56 GiB used: 468.7 MiB (2.9%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Info: Quad Core model: Intel Core i5-4570 bits: 64 type: MCP arch: Haswell rev: 3 L2 cache: 6 MiB bogomips: 25605 
           Speed: 1200 MHz min/max: 800/3600 MHz Core speeds (MHz): 1: 1200 2: 1200 3: 1200 4: 1200 
           Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts clflush cmov constant_tsc cpuid 
           cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase 
           fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr mtrr nonstop_tsc 
           nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good 
           sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
           tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr 
Graphics:  Device-1: NVIDIA GK104 [GeForce GTX 770] vendor: Micro-Star MSI driver: nvidia v: 460.39 bus ID: 01:00.0 
           chip ID: 10de:1184 class ID: 0300 
           Display: server: N/A driver: loaded: nvidia tty: 160x64 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:8c20 class ID: 0403 
           Device-2: NVIDIA GK104 HDMI Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:0e0a class ID: 0403 
           Sound Server: ALSA v: k5.4.97-1-MANJARO 
Network:   Device-1: Intel Ethernet I217-V vendor: ASRock driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:19.0 
           chip ID: 8086:153b class ID: 0200 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Ralink RT5392 PCIe Wireless Network Adapter driver: rt2800pci v: 2.3.0 port: e000 bus ID: 02:00.0 
           chip ID: 1814:5392 class ID: 0280 
           IF: wlp2s0 state: up mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: noprefixroute scope: link 
           WAN IP: <filter> 
Bluetooth: Message: No Bluetooth data was found. 
RAID:      Message: No RAID data was found. 
Drives:    Local Storage: total: 1.14 TiB used: 387.91 GiB (33.1%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 2B6Q scheme: MBR 
           ID-2: /dev/sdb vendor: Seagate model: ST1000DM003-1CH162 size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: CC49 scheme: MBR 
           ID-3: /dev/sdc type: USB model: 090c 1000 size: 7.38 GiB serial: <filter> scheme: MBR 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 48.09 GiB used: 40.43 GiB (84.1%) fs: ext4 dev: /dev/sda4 label: N/A 
           uuid: 4f9e1c6f-7ff9-49c1-a2b3-059de2b8e992 
           ID-2: /home/<filter>/Desktop/500G size: 507.81 GiB used: 347.48 GiB (68.4%) fs: ntfs dev: /dev/sdb3 label: N/A 
           uuid: 621E50D61E50A537 
Swap:      Alert: No Swap data was found. 
Unmounted: ID-1: /dev/sda1 size: 500 MiB fs: ntfs label: N/A uuid: 5C22E42822E408BA 
           ID-2: /dev/sda2 size: 182.49 GiB fs: ntfs label: N/A uuid: 7682D52E82D4F399 
           ID-3: /dev/sda3 size: 809 MiB fs: ntfs label: N/A uuid: 28F4E0F0F4E0C0E4 
           ID-4: /dev/sdb1 size: 350 MiB fs: ntfs label: \xe7\xb3\xbb\xe7\xbb\x9f\xe4\xbf\x9d\xe7\x95\x99 
           uuid: DCB09DCCB09DAD90 
           ID-5: /dev/sdb2 size: 116.84 GiB fs: <superuser required> label: N/A uuid: N/A 
           ID-6: /dev/sdb4 size: 306.51 GiB fs: ntfs label: N/A uuid: EA20537820534AA9 
           ID-7: /dev/sdc1 size: 2.73 GiB fs: iso9660 label: MANJARO_XFCE_2021 uuid: 2021-01-03-08-16-14-00 
           ID-8: /dev/sdc2 size: 4 MiB fs: vfat label: MISO_EFI uuid: C274-6DF3 
USB:       Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
           Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s chip ID: 8087:8008 
           class ID: 0900 
           Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
           Device-1: 2-9:2 info: Silicon Motion - Taiwan (formerly Feiya ) Flash Drive type: Mass Storage driver: usb-storage 
           interfaces: 1 rev: 2.0 speed: 480 Mb/s chip ID: 090c:1000 class ID: 0806 serial: <filter> 
           Device-2: 2-11:3 info: Trust Gaming Mouse type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 2 rev: 2.0 
           speed: 12 Mb/s chip ID: 145f:01de class ID: 0300 
           Device-3: 2-12:4 info: Trust Keyboard [GXT 830] type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 
           rev: 1.1 speed: 1.5 Mb/s chip ID: 145f:01e5 class ID: 0300 
           Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900 
           Hub-5: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s chip ID: 8087:8000 
           class ID: 0900 
           Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s chip ID: 1d6b:0003 class ID: 0900 
Sensors:   System Temperatures: cpu: 39.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 140 Uptime: 4m wakeups: 0 Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.0.1 Packages: 1322 
           pacman: 1314 flatpak: 8 Shell: Bash v: 5.1.0 running in: tty 2 inxi: 3.3.01 

$ mhwd -li listed I am using Nvidia nonfree driver.

e[1me[31m> e[mInstalled PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI


e[1me[31mWarning: e[mNo installed USB configs!

I tried to remove the nonfree driver and install the free Nvidia driver by mhwd -r pci video-nvidia and mhwd -i pci video-linux, the black screen remained.

This is the kernel version I am using

Linux PC 5.4.97-1-MANJARO #1 SMP PREEMPT Wed Feb 10 10:24:32 UTC 2021 x86_64 GNU/Linux

$startx

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

if you use only video-linux driver, without any nvidia4xx or 3xx drivers, blank screen is too?

@AlGil
I removed video-nvidia using mhwd -r pci video-nvidia and install video-linux using mhwd -i pci video-linux.

The black screen remained.

$ inxi -G
Graphics:  Device-1: NVIDIA GK104 [GeForce GTX 770] driver: nouveau v: kernel 
           Display: server: N/A driver: loaded: nvidia tty: 240x67 
           Message: Advanced graphics data unavailable in console. Try -G --display 

$ mhwd -li
e[1me[31m> e[mInstalled PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


e[1me[31mWarning: e[mNo installed USB configs!

$ pamac list | grep nvidia
mhwd-nvidia                       460.39-1                    core       1,6 kB
mhwd-nvidia-390xx                 390.141-1                   core       1,9 kB

$ startx
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I see the pamac still shows that mhwd-nvidia and mhwd-nvidia-390xx are installed. Removing them requires removing mhwd package, should I uninstall them?
What should I do to use nouveau properly?

This is your problem, not the drivers. Try reinstalling your Display Manager (for example sddm for KDE) which will install xorg-server as well.

Thank you for your reply @tuxmanjarino
Since I am using XFCE for Manjaro, I reinstalled lightdm

$ sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
resolving dependencies...
error: could not open file /var/lib/pacman/local/xorg-server-1.20.10-3/desc: No such file or directory
looking for conflicting packages...

Packages (3) lightdm-1:1.30.0-4  lightdm-gtk-greeter-1:2.0.8-1  lightdm-gtk-greeter-settings-1.2.2-5

Total Installed Size:  2,31 MiB
Net Upgrade Size:      0,00 MiB

checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
reinstalling lightdm...
reinstalling lightdm-gtk-greeter...
reinstalling lightdm-gtk-greeter-settings...
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Creating temporary files...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Reloading system bus configuration...
(6/7) Updating icon theme caches...
(7/7) Updating the desktop file MIME type cache...

$ inxi -G

Graphics:  Device-1: NVIDIA GK104 [GeForce GTX 770] driver: nouveau v: kernel 
           Display: server: N/A driver: loaded: nvidia tty: 240x67 
           Message: Advanced graphics data unavailable in console. Try -G --display 

I rebooted my PC and the screen remained black. What should I do to set X server?

I see the error when reinstalling lightdm: error: could not open file /var/lib/pacman/local/xorg-server-1.20.10-3/desc: No such file or directory. Should I resolve this problem?

yes, install xorg-server with sudo pacman -S xorg-server then reboot.

If lightdm.service is not enabled enable with sudo systemctl enable lightdm.service --force

Great! This solution solved the problem!

The xorg-server is the problem, I tried to reinstall xorg-server and the nouveau is working now.

To deal with the error error: could not open file /var/lib/pacman/local/xorg-server-1.20.10-3/desc: No such file or directory

$ sudo touch /var/lib/pacman/local/xorg-server-1.20.10-3/desc

By executing pacman -S xorg-server I got a few errors files exit in the filesystem, simply rename those files and rerun pacman -S xorg-server and reboot.
The login page is displayed again.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.