I’m not sure then why it fails, I’m no expert so I can’t help more to install this specific package. However, there is an alternative, it is to install the same kind of package manually, following this guide here
But you will also need to manually add a configuration file to bypass incompatibility with the current xorg in Manjaro, following these instruction, before rebooting:
Create the file /etc/X11/xorg.conf.d/30-nvidia-ignoreabi.conf
from terminal
sudo nano /etc/X11/xorg.conf.d/30-nvidia-ignoreabi.conf
Copy and paste the following to this file
Section "Files"
ModulePath "/usr/lib64/nvidia/xorg"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "ServerFlags"
Option "IgnoreABI" "1"
EndSection
Save the file and exit nano
text editor by pressing CTRL+X then Y (you can follow at the bottom what it does). It should bring you back to the terminal.
Reboot and see if it works. it may not work in which case we could revert changes from terminal, but I’ll add info if needed in that case (tell us if you can access the forum in case your computer can not properly boot then, or make sure you can access forum from another device before trying these instructions).
//EDIT: It may also be required to make sure the Nouveau driver is blacklisted so it doesn’t load, to do that first create a config file for modprobe
:
sudo nano /usr/lib/modprobe.d/blacklist-nouveau.conf
then copy and paste the following in it
blacklist nouveau
then save and exit nano editor with CTRL+X then Y
But first try without blacklisting Nouveau, if it all works verify in inxi that the Nvidia driver is properly loaded and working for your video card, and then you could blacklist it to make sure it never loads.
//EDIT: also another needed step is to add the Nvidia packages to the ignore list to avoid the similar AUR packages to try to install/update and replace these ones just installed manually (which they can’t install install/update/replace because of the difference in kernel between Arch and Manjaro, example above for failure), easy to do directly from Pamac preferences → Advanced → Ignore List (searching for Nvidia and selecting the packages)