Black screen after removing linux59-nvidia during update

Hello everyone,

I just installed the last two stable updates during which linux59-nvidia was deinstalled. I thought that would not be a big deal but now the system boots into a black screen.
I booted from a live usb and used chroot to access the system. But now I don’t really know what to do. I tried removing the nvidia packages with pacman -Qq | grep -e 'nvidia' as recommended here (NVIDIA drivers, boot to black screen) but I get the error that removing some of these packages brakes dependencies required by mhwd-db.

I hope someone can help me,
David

[manjaro-gnome david]# inxi -Fazy
12System:
  12Kernel 5.9.11-3-MANJARO x86_64 12bits 64 12compiler gcc 12v 10.2.0 
  12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=de tz=UTC 
  misobasedir=manjaro misolabel=MANJARO_GNOME_202 quiet systemd.show_status=1 
  driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 
  12Desktop GNOME 3.38.4 12tk GTK 3.24.29 12wm gnome-shell 12dm N/A 
  12Distro Manjaro Linux 12base Arch Linux 
12Machine:
  12Type Desktop 12Mobo ASUSTeK 12model P8B75-M LX PLUS 12v Rev X.0x 12serial <filter> 
  12UEFI American Megatrends 12v 0501 12date 10/10/2012 
12CPU:
  12Info Quad Core 12model Intel Core i5-3330 12socket LGA1155 12bits 64 12type MCP 
  12arch Ivy Bridge 12family 6 12model-id 3A (58) 12stepping 9 12microcode 21 12cache 
  12L1 256 KiB 12L2 6 MiB 12L3 6 MiB 
  12flags avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 12bogomips 23954 
  12Speed 1596 MHz 12min/max 1600/3200 MHz 12base/boost 3000/3800 12volts 1.0 V 
  12ext-clock 100 MHz 12Core speeds (MHz) 121 1596 122 1597 123 1597 124 1597 
  12Vulnerabilities 12Type itlb_multihit 12status KVM: VMX unsupported 
  12Type l1tf 12mitigation PTE Inversion 
  12Type mds 12mitigation Clear CPU buffers; SMT disabled 
  12Type meltdown 12mitigation PTI 
  12Type spec_store_bypass 
  12mitigation Speculative Store Bypass disabled via prctl and seccomp 
  12Type spectre_v1 
  12mitigation usercopy/swapgs barriers and __user pointer sanitization 
  12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  12Type srbds 12status Vulnerable: No microcode 
  12Type tsx_async_abort 12status Not affected 
12Graphics:
  12Device-1 Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  12vendor ASUSTeK P8H77-I 12driver i915 12v kernel 12bus-ID 00:02.0 12chip-ID 8086:0152 
  12class-ID 0380 
  12Device-2 NVIDIA GK106 [GeForce GTX 650 Ti] 12vendor Gigabyte 12driver nouveau 
  12v kernel 12bus-ID 01:00.0 12chip-ID 10de:11c6 12class-ID 0300 
  12Device-3 Microdia Webcam Vitade AF 12type USB 12driver snd-usb-audio,uvcvideo 
  12bus-ID 2-1.6:4 12chip-ID 0c45:6366 12class-ID 0102 12serial <filter> 
  12Display wayland 12server X.org 1.20.11 12compositor gnome-shell 12driver 
  12loaded nouveau 12note n/a (using device driver) 12failed nvidia 12display-ID 0 
  12resolution <missing: xdpyinfo> 
  12Message Advanced graphics data unavailable for root. 
12Audio:
  12Device-1 Intel 7 Series/C216 Family High Definition Audio 
  12vendor ASUSTeK P8Z77-V LX 12driver snd_hda_intel 12v kernel 12bus-ID 00:1b.0 
  12chip-ID 8086:1e20 12class-ID 0403 
  12Device-2 NVIDIA GK106 HDMI Audio 12vendor Gigabyte 12driver snd_hda_intel 
  12v kernel 12bus-ID 01:00.1 12chip-ID 10de:0e0b 12class-ID 0403 
  12Device-3 Microdia Webcam Vitade AF 12type USB 12driver snd-usb-audio,uvcvideo 
  12bus-ID 2-1.6:4 12chip-ID 0c45:6366 12class-ID 0102 12serial <filter> 
  12Sound Server-1 ALSA 12v k5.9.11-3-MANJARO 12running yes 
  12Sound Server-2 JACK 12v 0.125.0 12running no 
  12Sound Server-3 PulseAudio 12v 14.2 12running yes 
  12Sound Server-4 PipeWire 12v 0.3.26 12running no 
12Network:
  12Device-1 Realtek RTL8192CE PCIe Wireless Network Adapter 12vendor ASUSTeK 
  12driver rtl8192ce 12v kernel 12port d000 12bus-ID 03:00.0 12chip-ID 10ec:8178 
  12class-ID 0280 
  12IF wlp3s0 12state up 12mac <filter> 
  12Device-2 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  12vendor ASUSTeK P8 series 12driver r8169 12v kernel 12port c000 12bus-ID 04:00.0 
  12chip-ID 10ec:8168 12class-ID 0200 
  12IF enp4s0 12state down 12mac <filter> 
12Drives:
  12Local Storage 12total 935.26 GiB 12used 64.55 GiB (6.9%) 
  12SMART Message Required tool smartctl not installed. Check --recommends 
  12ID-1 /dev/sda 12maj-min 8:0 12vendor Hitachi 12model HDS721010DLE630 
  12size 931.51 GiB 12block-size 12physical 4096 B 12logical 512 B 12speed 6.0 Gb/s 
  12serial <filter> 12rev A650 
  12ID-2 /dev/sdb 12maj-min 8:16 12type USB 12model N/A 12size 3.75 GiB 12block-size 
  12physical 512 B 12logical 512 B 12serial <filter> 12rev
2.00 
12Partition:
  12ID-1 / 12raw-size 48.83 GiB 12size 47.81 GiB (97.92%) 12used 27.75 GiB (58.0%) 
  12fs ext4 12block-size 4096 B 12dev /dev/sda9 12maj-min 8:9 
  12ID-2 /boot/efi 12raw-size 512 MiB 12size 511 MiB (99.80%) 12used 324 KiB (0.1%) 
  12fs vfat 12block-size 512 B 12dev /dev/sda7 12maj-min 8:7 
  12ID-3 /home 12raw-size 50.63 GiB 12size 49.59 GiB (97.94%) 12used 36.79 GiB (74.2%) 
  12fs ext4 12block-size 4096 B 12dev /dev/sda10 12maj-min 8:10 
12Swap:
  12Alert No swap data was found. 
12Sensors:
  12System Temperatures 12cpu 29.8 C 12mobo 27.8 C 12gpu nouveau 12temp 30.0 C 
  12Fan Speeds (RPM) N/A 12gpu nouveau 12fan 1320 
12Info:
  12Processes 240 12Uptime 42m 12wakeups 0 12Memory 7.64 GiB 12used 1.79 GiB (23.4%) 
  12Init systemd 12v 247 12tool systemctl 12Compilers 12gcc 10.2.0 12Packages 12pacman 1583 
  12lib 431 12rpm 0 12flatpak 0 12Client Unknown Client: systemd 12inxi 3.3.04

NEVER remove packages manually from pacman for Nvidia, Manjaro has a tool to manage properly Nvidia, it is called mhwd (if you actually know exactly what you are doing then I guess it could be fine to directly work with pacman, but you seem to not know exactly what you are doing).
Same goes for managing kernels, use the Manjaro tool called mhwd-kernel.

Try installing kernel 5.10 (linux510) from chroot, and reboot. Manjaro Kernels - Manjaro
If it doesn’t reboot properly, then from chroot again, reinstall Nvidia. Configure Graphics Cards - Manjaro

You issue is that you had a kernel that doesn’t exist anymore I suppose (kernel 5.9), Kernel 5.10 is a LTS kernel so install and keep that one it will last you many years without issues.

1 Like

When trying to install the kernel 5.10 there is a huge amount of “could not resolve host” error messages. I am connected to the internet on the live usb.

I had the same thing, Try Ctrl+alt+f3 and there was i think a post 'bout it

"Copied:

  • Remove the NVIDIA driver by entering the following command into your terminal:
    sudo mhwd -r pci video-nvidia
  • Reboot your computer
  • Enter the following into your terminal:
    sudo gedit /etc/mkinitcpio.conf
  • delete the word nouveau from the following line:
    MODULES=" nouveau"
    It should now look like this (i.e. keep the speech marks ("")):
    MODULES=""
  • Save and close the file.
  • It is now necessary to reconfigure your existing kernel to take into account this change. The syntax of the necessary command to enter into your terminal is:
    sudo mkinitcpio -p [linux kernel version]
    For example, if you are currently using Kernel 5.10, you would enter the following:
    sudo mkinitcpio -p linux510
  • Now re-install the NVIDIA driver by entering the following command into your terminal:
    sudo mhwd -a pci nonfree 0300
  • Reboot your system. Now it should work

"

(U may have to reinstall manjaro cuz 5.9 is not supported in any way by nvidia so u can’t even install drivers (And yes, i did reinstall manjaro cuz of it))
It should make your pc usable but i dont think it will make drivers possible to work

Refresh your mirrors then when in chroot.

pacman-mirrors --fasttrack 5 && pacman -Syyu

No you shouldn’t have to reinstall Manjaro at all this is wrong. Also your mkinitcpio is wrong, you apparently do not maintain your system and you do not follow the new changes in the config files from the .pacnew file. It doesn’t use "" anymore.

Anyway, david2 if you follow what I explained you should be up and running quick.

1 Like

That did the job. My system is running again.
Thank you so much for your help! That was a really nice birthday present :slightly_smiling_face:

1 Like

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