mhwd install fails - nvidia files exist in filesystem

Hi gang. I'm running my graphics card (GTX 1060) with nouveau drivers right now. The graphics lock up and crash my computer every now and then, so I went to change drivers to nvidia and ran into an issue...

sudo mhwd -f -i pci video-nvidia-440xx
> Installing video-nvidia-440xx...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: false
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-440xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 online-repo is up to date
resolving dependencies...
looking for conflicting packages...

Packages (4) linux419-nvidia-440xx-440.100-4  linux54-nvidia-440xx-440.100-4  linux57-nvidia-440xx-440.100-6  nvidia-440xx-utils-440.100-1

Total Installed Size:  335.27 MiB

:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
nvidia-440xx-utils: /etc/vulkan/icd.d/nvidia_icd.json exists in filesystem
nvidia-440xx-utils: /etc/vulkan/implicit_layer.d/nvidia_layers.json exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-cuda-mps-server exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-debugdump exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-modprobe exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-persistenced exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-settings exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-sleep.sh exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-smi exists in filesystem
nvidia-440xx-utils: /usr/bin/nvidia-xconfig exists in filesystem
nvidia-440xx-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-440xx-utils: /usr/lib/libEGL_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLESv2_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-440xx-utils: /usr/lib/libGLX_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libcuda.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libcuda.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvcuvid.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvcuvid.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-allocator.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-allocator.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-allocator.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-cbl.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-cfg.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-cfg.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-compiler.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-eglcore.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-encode.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-encode.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-fatbinaryloader.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-fbc.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-fbc.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-glcore.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-glsi.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-glvkspirv.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-gtk2.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-gtk3.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ifr.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ifr.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ifr.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ml.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ml.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-opticalflow.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-opticalflow.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-opticalflow.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-rtcore.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvidia-tls.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvoptix.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/libnvoptix.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/libvdpau_nvidia.so exists in filesystem
nvidia-440xx-utils: /usr/lib/systemd/system-sleep/nvidia exists in filesystem
nvidia-440xx-utils: /usr/lib/systemd/system/nvidia-hibernate.service exists in filesystem
nvidia-440xx-utils: /usr/lib/systemd/system/nvidia-resume.service exists in filesystem
nvidia-440xx-utils: /usr/lib/systemd/system/nvidia-suspend.service exists in filesystem
nvidia-440xx-utils: /usr/lib/sysusers.d/nvidia-440xx-utils.conf exists in filesystem
nvidia-440xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so.1 exists in filesystem
nvidia-440xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/lib/xorg/modules/drivers/nvidia_drv.so exists in filesystem
nvidia-440xx-utils: /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so exists in filesystem
nvidia-440xx-utils: /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so.440.100 exists in filesystem
nvidia-440xx-utils: /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conf exists in filesystem
nvidia-440xx-utils: /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf exists in filesystem
nvidia-440xx-utils: /usr/share/applications/nvidia-settings.desktop exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia-utils exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/LICENSE exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/NVIDIA_Changelog exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/README.txt exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/acknowledgements.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/addressingcapabilities.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/addtlresources.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/appendices.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/audiosupport.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/commonproblems.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/configlaptop.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/configmultxscreens.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/configtwinview.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/depth30.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/displaydevicenames.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/dma_issues.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/dpi.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/dynamicpowermanagement.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/editxconfig.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/egpu.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/faq.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/flippingubb.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/framelock.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/glxsupport.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/gpunames.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/i2c.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/index.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/installationandconfiguration.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/installdriver.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/installedcomponents.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/introduction.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/kms.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/knownissues.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/minimumrequirements.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/newusertips.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/nvidia-debugdump.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/nvidia-ml.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/nvidia-persistenced.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/nvidia-smi.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/nvidiasettings.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/openglenvvariables.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/optimus.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/powermanagement.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/primerenderoffload.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/procinterface.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/profiles.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/programmingmodes.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/randr14.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/retpoline.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/selectdriver.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/sli.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/supportedchips.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/vdpausupport.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/xcompositeextension.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/xconfigoptions.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/xineramaglx.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/html/xrandrextension.html exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/nvidia-settings.png exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/nvidia-persistenced-init.tar.bz2 exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/systemd/nvidia exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/systemd/nvidia-hibernate.service exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/systemd/nvidia-resume.service exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/systemd/nvidia-sleep.sh exists in filesystem
nvidia-440xx-utils: /usr/share/doc/nvidia/samples/systemd/nvidia-suspend.service exists in filesystem
nvidia-440xx-utils: /usr/share/glvnd/egl_vendor.d/10_nvidia.json exists in filesystem
nvidia-440xx-utils: /usr/share/libalpm/hooks/90-nvidia-utils.hook exists in filesystem
nvidia-440xx-utils: /usr/share/licenses/nvidia-440xx-utils exists in filesystem
nvidia-440xx-utils: /usr/share/licenses/nvidia/LICENSE exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-cuda-mps-control.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-installer.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-modprobe.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-persistenced.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-settings.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-smi.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/man/man1/nvidia-xconfig.1.gz exists in filesystem
nvidia-440xx-utils: /usr/share/nvidia/nvidia-application-profiles-440.100-key-documentation exists in filesystem
nvidia-440xx-utils: /usr/share/nvidia/nvidia-application-profiles-440.100-rc exists in filesystem
linux54-nvidia-440xx: /usr/lib/modules/extramodules-5.4-MANJARO/nvidia-drm.ko.gz exists in filesystem
linux54-nvidia-440xx: /usr/lib/modules/extramodules-5.4-MANJARO/nvidia-modeset.ko.gz exists in filesystem
linux54-nvidia-440xx: /usr/lib/modules/extramodules-5.4-MANJARO/nvidia-uvm.ko.gz exists in filesystem
linux54-nvidia-440xx: /usr/lib/modules/extramodules-5.4-MANJARO/nvidia.ko.gz exists in filesystem
Errors occurred, no packages were upgraded.
Error: pacman failed!

Some info.

mhwd -li && mhwd -l
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!
> 0000:2d:00.0 (0300:10de:1c03) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-440xx            2019.10.25               false            PCI
    video-nvidia-435xx            2019.10.25               false            PCI
    video-nvidia-430xx            2019.10.25               false            PCI
    video-nvidia-418xx            2019.10.25               false            PCI
    video-nvidia-390xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

pacman -Ss nvidia | grep installed
pacman -Ss nvidia | grep installed
core/mhwd-nvidia-340xx 340.108-1 [installed]
core/mhwd-nvidia-390xx 390.132-1 [installed]
core/mhwd-nvidia-418xx 418.113-1 [installed]
core/mhwd-nvidia-430xx 430.64-1.0 [installed]
core/mhwd-nvidia-435xx 435.21-1.0 [installed]
core/mhwd-nvidia-440xx 440.100-1 [installed]
extra/libvdpau 1.4-1 [installed]
extra/libxnvctrl 450.57-1 [installed]
extra/xf86-video-nouveau 1.0.16-2 (xorg-drivers) [installed]
inxi -G
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel
           Display: x11 server: X.Org 1.20.8 driver: nouveau unloaded: modesetting tty: N/A
           OpenGL: renderer: NV136 v: 4.3 Mesa 20.1.3

Not sure what I did to end up like this. Should I remove the aforementioned files and re-run mhwd? Should I use pacman -Rcns to remove mhwd-nvidia drivers and then reinstall?

Also, nvidia-settings and nvidia-xconfig as well as other nvidia tools are installed, but running them produces no output.

This is probably what you are after:

Thanks @cscs, that was a solid read.

(For those interested. I ended up checking the majority of the "existing files." They were missing data, so I removed them. Install via mhwd proceeded smoothly. Lesson? If you use mhwd, let it manage your video packages - don't make changes yourself through pacman.)

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

Forum kindly sponsored by