Black screen with cursors after trying to install Nvidia drivers

Thank you for you help. Did both things, but the problem is still there. When I reboot I still get a black screen with only the cursor showing

And the commands were run successful, right? I doubt that. Is your system fully updated?

The first command returns this:

:: Pakket-databases synchroniseren...
 core aan het downloaden...
 extra aan het downloaden...
 community aan het downloaden...
 multilib aan het downloaden...
afhankelijkheden oplossen...
zoeken naar conflicterende pakketten...

Pakketten (2) linux61-6.1.42-1  linux61-virtualbox-host-modules-7.0.10-5

Totale geïnstalleerde grootte:   143,41 MiB
Netto upgrade-grootte:             0,00 MiB

Sleutelbos controleren...
pakketintegriteit controleren...
Pakketbestanden laden...
controleren op bestandsconflicten...
Beschikbare schijfruimte controleren...
:: Pre-transactie-hooks uitvoeren...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Pakketveranderingen verwerken...
linux61 herinstalleren...
linux61-virtualbox-host-modules herinstalleren...
In order to use the new version, reload all virtualbox modules manually.
:: Post-transactie-hooks uitvoeren...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img --microcode /boot/amd-ucode.img
==> Starting build: '6.1.42-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Starting build: '6.1.42-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> Image generation successful
(4/5) Refreshing PackageKit...
(5/5) Updating Grub-Bootmenu
Aanmaken van GRUB-configuratiebestand...
Gevonden thema: /usr/share/grub/themes/manjaro/theme.txt
Linux-image gevonden: /boot/vmlinuz-6.1-x86_64
Initiële RAM-schijf-image gevonden: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Linux-image gevonden: /boot/vmlinuz-5.19-x86_64
Initiële RAM-schijf-image gevonden: /boot/amd-ucode.img /boot/initramfs-5.19-x86_64.img
Found initrd fallback image: /boot/initramfs-5.19-x86_64-fallback.img
Linux-image gevonden: /boot/vmlinuz-4.19-x86_64
Initiële RAM-schijf-image gevonden: /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Waarschuwing: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: waarschuwing: onbekend apparaattype nvme0n1.
voltooid

The second returns this:

e[1me[31m> e[mUsing config 'video-hybrid-amd-nvidia-prime' for device: 0000:04:00.0 (0300:1002:1638) Display controller ATI Technologies Inc Cezanne
e[1me[31m> e[mInstalling video-hybrid-amd-nvidia-prime...
e[0;32mSourcing /etc/mhwd-x86_64.conf
e[me[0;32mHas lib32 support: true
e[me[0;32mSourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG
e[me[0;32mProcessing classid: 0300
e[me[0;32mSourcing /var/lib/mhwd/scripts/include/0300
e[me[0;32m:: Pakket-databases synchroniseren...
e[me[0;32m core aan het downloaden...
e[me[0;32m extra aan het downloaden...
e[me[0;32m community aan het downloaden...
e[me[0;32m multilib aan het downloaden...
e[me[0;32mfout:kan het bestand 'multilib.db' niet ophalen van ridgewireless.mm.fcix.net : SSL connection timeout
e[me[0;32mfout:doel niet gevonden: linux519-nvidia
e[me[0;32mError: pacman failed!
e[me[1me[31mError: e[mscript failed!

You still need to remove 5.19 after booted into an acceptable kernel, then do the driver install, etc.
(its complaining about not having modules for nonexistent kernel)

And how do I do that? I really have no clue sorry

Once booted into an acceptable kernel (you should be able to select from GRUB at boot), you may double check with uname -a, then when sure not in 5.19 continue with its removal:

sudo mhwd-kernel -r linux519

If that is somehow unsuccessful then you can check the packages:

pacman -Qs linux519

And remove what you found:

sudo pacman -Rns linux519 linux519-headers

Maybe you can throw an update in to be double sure:

sudo pacman -Syu

Then continue with driver install:

sudo mhwd --auto pci nonfree 0300

Sorry for the late response.

This is wat i get back when running sudo mhwd --auto pci nonfree 0300

e[1me[31m> e[mUsing config 'video-hybrid-amd-nvidia-prime' for device: 0000:04:00.0 (0300:1002:1638) Display controller ATI Technologies Inc Cezanne
e[1me[31m> e[mInstalling video-hybrid-amd-nvidia-prime...
e[0;32mSourcing /etc/mhwd-x86_64.conf
e[me[0;32mHas lib32 support: true
e[me[0;32mSourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG
e[me[0;32mProcessing classid: 0300
e[me[0;32mSourcing /var/lib/mhwd/scripts/include/0300
e[me[0;32m:: Pakket-databases synchroniseren...
e[me[0;32m core aan het downloaden...
e[me[0;32m extra aan het downloaden...
e[me[0;32m community aan het downloaden...
e[me[0;32m multilib aan het downloaden...
e[me[0;32mfout:kan het bestand 'multilib.db' niet ophalen van ridgewireless.mm.fcix.net : SSL connection timeout
e[me[0;32mfout:doel niet gevonden: linux519-nvidia
e[me[0;32mError: pacman failed!
e[me[1me[31mError: e[mscript failed!

@Rutgervs

  1. Did you boot with linux61?
uname -r
  1. Did you remove linux519?

Since linux519 is installed, it searches for linux519-nvidia and failed.

I think I removed it. sudo mhwd-kernel -r linux519 returns:

Error: Kernel not installed.
Currently running: 6.1.43-2-MANJARO (linux61)
The following kernels are installed in your system:
   x linux419
   x linux61

And so now ? …

Do the mhwd commands function as expected?

If you still run into errors then search installed packages pacman -Qs linux519

All as shown above :

Remnants of it may still be found:

find /boot/ /etc/mkinitcpio.d/ -maxdepth 1 -type f
pacman -Qqs "^linux"

@megavolt

find /boot/ /etc/mkinitcpio.d/ -maxdepth 1 -type f outputs:

/boot/amd-ucode.img
/boot/initramfs-4.19-x86_64-fallback.img
/boot/vmlinuz-6.1-x86_64
/boot/vmlinuz-4.19-x86_64
/boot/initramfs-6.1-x86_64.img
/boot/initramfs-6.1-x86_64-fallback.img
/boot/linux419-x86_64.kver
/boot/linux61-x86_64.kver
/boot/initramfs-4.19-x86_64.img
/etc/mkinitcpio.d/linux61.preset
/etc/mkinitcpio.d/linux519.preset.pacsave
/etc/mkinitcpio.d/linux419.preset

pacman -Qqs "^linux" outputs:

cpupower
efibootmgr
flatpak
iptables
keyutils
kmod
lib32-keyutils
libtraceevent
libtracefs
liburing
linux-api-headers
linux-firmware
linux-firmware-whence
linux419
linux419-headers
linux419-virtualbox-host-modules
linux510-headers
linux61
linux61-virtualbox-host-modules
man-pages
python-distro

None of that points to 5.19 still existing …

Does the mhwd command still complain?

(PS - you can remove the random 510-headers though: sudo pacman -Rns linux510-headers)

Strange… where did mhwd retrieve that linux519 is installed? :thinking:

Remove this one:

sudo rm -fv /etc/mkinitcpio.d/linux519.preset.pacsave

I have removed the random 510-headers.

After using sudo mhwd --auto pci nonfree 0300 i get this back:

e[1me[31m> e[mUsing config 'video-hybrid-amd-nvidia-prime' for device: 0000:04:00.0 (0300:1002:1638) Display controller ATI Technologies Inc Cezanne
e[1me[31m> e[mInstalling video-hybrid-amd-nvidia-prime...
e[0;32mSourcing /etc/mhwd-x86_64.conf
e[me[0;32mHas lib32 support: true
e[me[0;32mSourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG
e[me[0;32mProcessing classid: 0300
e[me[0;32mSourcing /var/lib/mhwd/scripts/include/0300
e[me[0;32m:: Pakket-databases synchroniseren...
e[me[0;32m core aan het downloaden...
e[me[0;32m extra aan het downloaden...
e[me[0;32m community aan het downloaden...
e[me[0;32m multilib aan het downloaden...
e[me[0;32mafhankelijkheden oplossen...
e[me[0;32mzoeken naar conflicterende pakketten...
e[me[0;32m:: nvidia-utils en nvidia-340xx-utils conflicteren (nvidia-libgl). nvidia-340xx-utils verwijderen? [j/N] fout:onoplosbaar conflict tussen paketten gevonden
e[me[0;32mfout:fout bij het voorbereiden van transactie (conflicterende afhankelijkheden)
e[me[0;32m
e[me[0;32m:: nvidia-utils en nvidia-340xx-utils zijn in conflict
e[me[0;32mError: pacman failed!
e[me[1me[31mError: e[mscript failed!

Got the same output after sudo rm -fv /etc/mkinitcpio.d/linux519.preset.pacsave

Come on, that is now silly. Why is this old 340xx driver installed when you use this GPU?

Remove this driver.

sudo pacman -Rns $(pacman -Qqs nvidia-340)

Then mhwd again.

I don’t know… lol

This worked! After removing it (@cscs thanks for telling me how!) i did this:

And got some postive results back! I rebooted the computer and the screen works again.

@cscs and @megavolt thanks a lot for the help and patience.

Yay, now that things are up and running…

You may want to remove the old 4.19 kernel if 6.1 is working:

sudo mhwd-kernel -r linux419

(this should remove 3 packages, but as before, double check with pacman -Qs linux419)
(( and//or sudo pacman -Rns $(pacman -Qs linux419) ))

And you may want to double check prime:

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

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