recent update fails -- conflicting drivers Nvidia issue

I have Nvidia GTX 1070ti gpu and would like to have some nice performance with it but I am finding Nvidia very tricky and confusing to work with.

after sudo pacman -Syyu I get --

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'nvidia-utils' from target list because it conflicts with 'nvidia-390xx-utils'
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] 
y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-utils=1:418.56' required by linux419-nvidia
n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-390xx-utils and nvidia-utils are in conflict

I am not sure what part of this to troubleshoot. It seems I have a more recent driver anyways, but obviously would not be good to not update system again. I am not sure what to do in this spot, do I try to learn how to ignore this update package, or find out how to remove the newer drivers? I am confused on how to approach troubleshooting this in general

from mine

sudo pacman -Qs nvidia
local/lib32-libvdpau 1.2-1
    Nvidia VDPAU library
local/lib32-nvidia-utils 1:418.56-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.2-1
    Nvidia VDPAU library
local/linux414-nvidia 1:418.56-2 (linux414-extramodules)
    NVIDIA drivers for linux.
local/linux419-nvidia 1:418.56-2 (linux419-extramodules)
    NVIDIA drivers for linux.
local/linux50-nvidia 1:418.56-4 (linux50-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 1:418.56-1
    MHWD module-ids for nvidia 418.56
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.116-1
    MHWD module-ids for nvidia 390.116
local/nvidia-utils 1:418.56-1
    NVIDIA drivers utilities

sudo lsmod | grep -i nvidia
nvidia_drm             57344  7
nvidia_modeset       1089536  11 nvidia_drm
drm_kms_helper        208896  1 nvidia_drm
drm                   499712  10 drm_kms_helper,nvidia_drm
nvidia              17637376  436 nvidia_modeset
ipmi_msghandler        65536  2 ipmi_devintf,nvidia

you can't remove if drivers is used

local/lib32-libvdpau 1.2-1
    Nvidia VDPAU library
local/libvdpau 1.2-1
    Nvidia VDPAU library
local/linux419-nvidia 1:418.43-9 (linux419-extramodules)
    NVIDIA drivers for linux.
local/linux419-nvidia-390xx 390.116-7 (linux419-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 1:418.43-1
    MHWD module-ids for nvidia 418.43
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.116-1
    MHWD module-ids for nvidia 390.116
local/nvidia-utils 1:418.43-2
    NVIDIA drivers utilities


local/lib32-libvdpau 1.2-1
    Nvidia VDPAU library
local/libvdpau 1.2-1
    Nvidia VDPAU library
local/linux419-nvidia 1:418.43-9 (linux419-extramodules)
    NVIDIA drivers for linux.
local/linux419-nvidia-390xx 390.116-7 (linux419-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 1:418.43-1
    MHWD module-ids for nvidia 418.43
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.116-1
    MHWD module-ids for nvidia 390.116
local/nvidia-utils 1:418.43-2
    NVIDIA drivers utilities

this is what mine shows, so many different drivers!

You should be using nvidia or nvidia390, not both.
Given your relatively new card, it would be nvidia, which is latest. At 418 it seems.

what is

mhwd -li
inxi -Fxxxz

Installed PCI configs:

              NAME               VERSION          FREEDRIVER           TYPE

video-nvidia-390xx            2018.08.09               false            PCI

Warning: No installed USB configs!

--

Graphics: Device-1: NVIDIA GP104 [GeForce GTX 1070 Ti] vendor: ASUSTeK driver: nvidia v: 418.43 bus ID: 01:00.0
chip ID: 10de:1b82
Display: x11 server: X.Org 1.20.4 driver: nvidia compositor: kwin_x11 resolution: 1920x1080~60Hz, 2560x1440~144Hz
OpenGL: renderer: GeForce GTX 1070 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.43 direct render: Yes

can you add this

sudo pacman -S lib32-nvidia-utils

if ok try

sudo pacman -Syyu

first ran fine without problems, second same issue:

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'nvidia-utils' from target list because it conflicts with 'nvidia-390xx-utils'
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-utils=1:418.56' required by linux419-nvidia
[user@user-pc ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                                             149.8 KiB   215K/s 00:01 [##########################################] 100%
 extra                                           1807.1 KiB  2037K/s 00:01 [##########################################] 100%
 community                                          5.2 MiB  4.12M/s 00:01 [##########################################] 100%
 multilib                                         184.9 KiB  3.34M/s 00:00 [##########################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'nvidia-utils' from target list because it conflicts with 'nvidia-390xx-utils'
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-390xx-utils and nvidia-utils are in conflict

ok then add another kernel

sudo mhwd-kernel -i linux50

if ok , reboot , press Esc , Grub appears , select in detail version kernel 50x series

I got a very large list of out-of-date packages, followed by a "Do you want to continue?" prompt --> Y --> similar issue

Do you want to continue anyway? [y/N] y
resolving dependencies...
looking for conflicting packages...
warning: removing 'nvidia-utils' from target list because it conflicts with 'nvidia-390xx-utils'
:: nvidia-390xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-utils=1:418.56' required by linux50-nvidia
:: removing nvidia-utils breaks dependency 'nvidia-utils=1:418.43' required by linux419-nvidia

ok we go in chroot then
launch with USB install
open a terminal , and a browser on this topic

The issue here is that in mhwd (they only way you should handle drivers .. not from pacman directly) you have the 390 series. But you are actually running latest nvidia .. which you must have done manually .. and it seems it was also done before you were updated and synced with mirrors.

I dont think chroot is required. I think you need to remove all the 390 stuff, and reinstall video-nvidia in mhwd. (unless of course you want/need the 390 .. then you do the opposite .. but looks like a newer card, so I'm guessing it should be latest)

sudo mhwd -r pci video-nvidia-390xx
sudo pacman -Rns linux419-nvidia-390xx #may not be required
sudo pacman-mirrors -f && sudo pacman -Syyu
sudo mhwd -i pci video-nvidia

..something like that.

3 Likes

I don't recall ever hearing of the mhwd command before but perhaps just forgot it because it was a bunch of random letters at the time --- definitely didn't know you were supposed to use this for drivers, and I had a huge amount of probelms trying to update my nvidia drivers before. I was using sudo pacman -Syyu regularly, but never knew about this mhwd commands. What is the normal process for solving issues like this?

I was able to successfully run those last commands, and it updated the system.

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.08.09               false            PCI
Device-1: NVIDIA GP104 [GeForce GTX 1070 Ti] vendor: ASUSTeK driver: nvidia v: 418.56 bus ID: 01:00.0 
           chip ID: 10de:1b82 
           Display: x11 server: X.Org 1.20.4 driver: nvidia compositor: kwin_x11 resolution: 1920x1080~60Hz, 2560x1440~144Hz 
           OpenGL: renderer: GeForce GTX 1070 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.56 direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 

thanks for the help, I would be totally lost without this forum!

Determine which packages conflict and solve the conflict.

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