Black screen with cursors after trying to install Nvidia drivers

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.