Requesting help to manually install specific nvidia driver

inxi -G
12Graphics:
  12Device-1 Intel 3rd Gen Core processor Graphics 12driver i915 12v kernel
  12Device-2 NVIDIA GK107M [GeForce GT 740M] 12driver nouveau 12v kernel
  12Device-3 Sunplus Innovation Asus Webcam 12driver uvcvideo 12type USB
  12Display 12server X.org 12v 1.21.1.8 12driver 12X 12loaded N/A 12unloaded modesetting 12failed nvidia 12gpu i915
    12resolution 121 1920x1080 122 1920x1080
  12API OpenGL 12Message GL data unavailable for root.

sudo mhwd-kernel -li
Currently running: 6.1.30-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux510
   * linux54
   * linux61
lspci
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. 3rd Gen Core processor Graphics Controller
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. N56VZ
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at f7a10000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel

01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 740M] (rev a1)
        Subsystem: ASUSTeK Computer Inc. GK107M [GeForce GT 740M]
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at f7000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] Secondary PCI Express
        Kernel driver in use: nouveau

01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
        Flags: fast devsel, IRQ 17
        Memory at f7080000 (32-bit, non-prefetchable) [virtual] [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

Affected system is Asus N56VB; running Manjaro with KDE plasma DE

I previously had one nvidia driver working, but i forgot which and also when it stopped working (probably a kernel update, since that has happened before), forcing me to use the intel graphics driver, and didnt tried again to use the propietary driver, until now.

im using a liveusb to try to install nvidia propietary driver, and using “manjaro-chroot -a”. i tried to remove everything nvidia and also the free drivers, to attempt a clean install.

Im trying to install the nvidia driver 470 (using the .run file, but im open to other methods; according to the nvidia site, 470 is the latest driver that still supports my GPU) with kernel 6.1, using a liveusb to try to blacklist nouveau and i keep failing, because the nvidia installer tells me nouveau is still active. i tried to remove all nvidia related files manually, so residual files from other drivers wouldnt create conflict, created multiple versions of the blacklist file in “/etc/modprobe.d/” directory, update grub after adding some lines to blacklist nouveau, and still doesnt work.

sudo nano /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
blacklist rivafb
blacklist rivatv
blacklist nv
blacklist nvidiafb
sudo nano /etc/default/grub
GRUB_DEFAULT="saved"
GRUB_TIMEOUT="5"
GRUB_TIMEOUT_STYLE="menu"
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.blacklist=yes,nouveau.modeset=0,nomodeset,modprobe.blacklist=nouveau"
GRUB_CMDLINE_LINUX="nouveau.modeset=0"

According to a thread elsewhere, i can use this command to check what is calling nouveau, and if it was actually blocked it should give a blank output. the command list a few files using nouveau (or thats what i think it means; im mostly “noob”).

lsmod | grep -E '^Module|nouveau'
Module                  Size  Used by
nouveau              2752512  1
drm_ttm_helper         16384  1 nouveau
ttm                    94208  3 drm_ttm_helper,i915,nouveau
drm_display_helper    184320  2 i915,nouveau
mxm_wmi                16384  1 nouveau
video                  65536  3 asus_wmi,i915,nouveau
wmi                    45056  5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau

I also tried using “sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime” which failed but installed “video-modesetting”; i also tried “pacman -S nvidia” and then selected “linux61-nvidia-470xx”.

I also tried using some bash scripts that someone created to automate the process, but i cancelled since the code was trying to download the most recent nvidia driver rather than offering me the option to install the version i want.

source of bash scripts:
githubDOTcom/lebensterben/awesome-clear-linux/tree/master/NVIDIA-Driver

so, i coming here hoping someone can guide me a bit to figure out how to stop the error related to nouveau with the nvidia installer, or another way to install the version of driver i want using pacman or anything else.

Hi,

…Ok thats a lot.

Can you please start from the beginning…

Remove to the best of your abilities any manual install from the nvidia site or github.

It looks like that github source supplies an uninstall.bash script … use it if you installed from there.

Then we can look at your drivers:

mhwd -l -li

And packages:

pacman -Qs nvidia

We will likely uninstall whatever else we find … but I want to know whats there :wink:

Also … remove the blacklist file(s if multiple) (or back it up, or comment out all of the lines).
And get rid of the options you added to /etc/default/grub (then run sudo update-grub)

thanks for answering.

mhwd -l -li
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-470xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-390xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-470xx-prime/MHWDCONFIG' is invalid!
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0302:10de:0fdf) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


pacman -Qs nvidia
local/egl-wayland 2:1.1.11-4
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/mhwd-nvidia 530.41.03-4
    MHWD module-ids for nvidia 530.41.03
local/mhwd-nvidia-390xx 390.157-6
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.182.03-2
    MHWD module-ids for nvidia 470.182.03

…which are the default values for these ones?

GRUB_CMDLINE_LINUX_DEFAULT=“”
GRUB_CMDLINE_LINUX=“”

Depends on the system …
Maybe something like

quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3

For the DEFAULT, leaving the other blank.

Then:

sudo pacman -Syu mhwd mhwd-db mhwd-nvidia mhwd-nvidia-390xx mhwd-nvidia-470xx --overwrite '*'

Please report any errors.
Then again:

mhwd -l -li
sudo pacman -Syu mhwd mhwd-db mhwd-nvidia mhwd-nvidia-390xx mhwd-nvidia-470xx --overwrite '*'
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: mhwd-0.6.5-25 is up to date -- reinstalling
warning: mhwd-db-0.6.5-25 is up to date -- reinstalling
warning: mhwd-nvidia-530.41.03-4 is up to date -- reinstalling
warning: mhwd-nvidia-390xx-390.157-6 is up to date -- reinstalling
warning: mhwd-nvidia-470xx-470.182.03-2 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mhwd-nvidia will be installed before its mhwd dependency
warning: dependency cycle detected:
warning: mhwd-nvidia-390xx will be installed before its mhwd dependency
warning: dependency cycle detected:
warning: mhwd-nvidia-470xx will be installed before its mhwd dependency

Packages (5) mhwd-0.6.5-25  mhwd-db-0.6.5-25  mhwd-nvidia-530.41.03-4  mhwd-nvidia-390xx-390.157-6  mhwd-nvidia-470xx-470.182.03-2

Total Download Size:   0.03 MiB
Total Installed Size:  0.25 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mhwd-nvidia-530.41.03-4-any                                                               24.7 KiB  59.1 KiB/s 00:00 [#######################################################################] 100%
 mhwd-nvidia-390xx-390.157-6-any                                                            3.2 KiB  39.1 KiB/s 00:00 [#######################################################################] 100%
 mhwd-nvidia-470xx-470.182.03-2-any                                                         3.1 KiB  37.3 KiB/s 00:00 [#######################################################################] 100%
 Total (3/3)                                                                               31.0 KiB  37.5 KiB/s 00:01 [#######################################################################] 100%
(5/5) checking keys in keyring                                                                                        [#######################################################################] 100%
(5/5) checking package integrity                                                                                      [#######################################################################] 100%
(5/5) loading package files                                                                                           [#######################################################################] 100%
(5/5) checking for file conflicts                                                                                     [#######################################################################] 100%
(5/5) checking available disk space                                                                                   [#######################################################################] 100%
warning: could not get file information for var/lib/mhwd/ids/pci/nvidia.ids
warning: could not get file information for var/lib/mhwd/ids/pci/nvidia-390xx.ids
warning: could not get file information for var/lib/mhwd/ids/pci/nvidia-470xx.ids
:: Processing package changes...
(1/5) reinstalling mhwd-nvidia                                                                                        [#######################################################################] 100%
(2/5) reinstalling mhwd-nvidia-390xx                                                                                  [#######################################################################] 100%
(3/5) reinstalling mhwd-nvidia-470xx                                                                                  [#######################################################################] 100%
(4/5) reinstalling mhwd-db                                                                                            [#######################################################################] 100%
(5/5) reinstalling mhwd                                                                                               [#######################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: '5.10.181-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: '5.10.181-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: '5.4.244-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.4-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: '5.4.244-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.4-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.31-2-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: [filesystems]
==> 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'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.1.31-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> Image generation successful

.

mhwd -l -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0302:10de:0fdf) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
    video-nvidia-390xx            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Great.
But … it appears the highest available driver is the 390:

sudo mhwd -f -i pci video-hybrid-intel-nvidia-390xx-bumblebee

yes, but i want to run the 470 available in the official nvidia site if possible (which is the one that appears compatible with my gpu), so im able to run more things and maybe have slightly better performance.

in pacman there are options to install the 470 driver, but i ignore the process to do it properly rather than trying the basic options (ie the 390). my guess is that if nvidia site offers me the 470 version of the driver, then i should be able to install one of the 470 drivers available via pacman.

also, i dont mind if the driver isnt hybrid if it can allow the nvidia gpu to run. also, if theres a chance of having both intel graphics and nvidia gpu available (ie to save battery when i dont need the dedicated gpu), which version should be better: bumblebee or prime?

Hope im not bothering you much.

Where do you get the info that 490 is available/suggested?
Looking at the website the highest offered for your card is 418, which was not a longlasting series.
390 then is the highest available … besides which bumblebee also makes sense for your older intel.

Speaking of … if you wish to try and disable the lesser iGPU … your best hope is an option in BIOS … though its availability is rare.

sorry, i forgot where. i believed it was from nvidia site, but you are right 418 is the latest drive for my gpu according to it.

Anyway, if thats the case, should i change the number of your previous command to “418” and then change “bumblebee” with “prime”? i think i prefer performance over battery life, but if prime also allows switching, i think that would be better.

According to Linux x64 (AMD64/EM64T) Display Driver | 470.103.01 | Linux 64-bit | NVIDIA - 470.x support GeForce GT 740M which is also supported by mhwd.

GeForce 700 Series:

GeForce GTX 780 Ti, GeForce GTX 780, GeForce GTX 770, GeForce GTX 760, GeForce GTX 760 Ti (OEM), GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745, GeForce GT 740, GeForce GT 730, GeForce GT 720, GeForce GT 710

so, how i should proceed? should i do this (?):

sudo mhwd -f -i pci video-hybrid-intel-nvidia-418xx-prime

and also, if installation fails, what should i do?

That is the wrong card, he has the mobile variant.
700M not 700.

i guess maybe i made the same mistake (confusing the desktop version with mobile one).

so same command but 418?

No … the highest available/best has already been suggested - the 390-bumblebee profile.
(there is no 418 in mhwd or in the repos or AUR … it was not an LTS release)

so even if the 418 driver is listed, is not compatible with lts kernel?

I mean the driver itself was not … what does nvidia call it … WHQL ? or whatever equivalent of LTS.
In your case the highest of those long lasting legacy drivers that is compatible is 390.

So …

sudo mhwd -f -i pci video-hybrid-intel-nvidia-390xx-bumblebee

Then reboot and you can check:

glxinfo | grep 'renderer string'
optirun glxinfo | grep 'renderer string'
primusrun glxinfo | grep 'renderer string'

If you believe there is major difference between GTX 740 and GTX 740m - you only have one choice which is the 390 driver series supported by mhwd.

I have a thinkpad with Intel 5500/Nvidia 940M - and it works great using the oss nouveau driver.

I mean, even nvidia states the 4.18 so yes, I think it is a big difference.

so if i tried to install “sudo mhwd -f -i pci video-hybrid-intel-nvidia-390xx-bumblebee” using “manjaro-chroot -a” (im currently in a liveusb), can it work?

> Installing video-hybrid-intel-nvidia-390xx-bumblebee...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: primus will be installed before its bumblebee dependency

Packages (14) primus-20151110-9  bumblebee-3.2.1-23  lib32-nvidia-390xx-utils-390.157-4  lib32-primus-20151110-5  libxnvctrl-390xx-390.157-4  linux510-bbswitch-0.8-212  linux510-nvidia-390xx-390.157-35  linux54-bbswitch-0.8-268  linux54-nvidia-390xx-390.157-26  linux61-bbswitch-0.8-38  linux61-nvidia-390xx-390.157-38  nvidia-390xx-settings-390.157-4  nvidia-390xx-utils-390.157-6  xf86-video-intel-1:2.99.917+923+gb74b67f0-1

Total Download Size:   103.33 MiB
Total Installed Size:  241.86 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...

 nvidia-390xx-utils-390.157-6-x86_64 downloading...
 lib32-nvidia-390xx-utils-390.157-4-x86_64 downloading...
 linux61-nvidia-390xx-390.157-38-x86_64 downloading...
 linux510-nvidia-390xx-390.157-35-x86_64 downloading...
 linux54-nvidia-390xx-390.157-26-x86_64 downloading...
 nvidia-390xx-settings-390.157-4-x86_64 downloading...
 libxnvctrl-390xx-390.157-4-x86_64 downloading...
 primus-20151110-9-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
nvidia-390xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libcuda.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvcuvid.so.1 exists in filesystem
Errors occurred, no packages were upgraded.
Error: pacman failed!

installation failed. i ignore if it should try this using “ctrl+alt+f2” rather than chroot.