Nvidia-dkms and linux515-nvidia are in conflict

When I am trying to update I am getting:

error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-dkms and linux515-nvidia are in conflict

Should I manually remove linux515-nvidia?

  • Output of inxi -Fazy
  Kernel: 5.17.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/vmlinuz-5.17-x86_64
    root=/dev/mapper/CryptContainer-ROOT rw
    root=/dev/CryptContainer/ROOT resume=/dev/CryptContainer/SWAP
    rd.luks.key=/CryptLVM.key video=efifb:nobgrt quiet splash rw
    rd.systemd.show_status=auto rd.udev.log_level=3 sysrq_always_enabled=1
    net.ifnames=0 apparmor=1 intel_iommu=1 security=apparmor
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: Dell product: Precision 3551 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 033T3Y v: A00 serial: <superuser required> UEFI: Dell
    v: 1.6.0 date: 05/28/2021
  ID-1: BAT0 charge: 94.1 Wh (100.0%) condition: 94.1/97.0 Wh (97.0%)
    volts: 12.5 min: 11.4 model: LGC-LGC8.509 DELL 1WJT014 type: Li-poly
    serial: <filter> status: full
  Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
    family: 6 model-id: 0xA5 (165) stepping: 2 microcode: 0xEA
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1325 high: 2791 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 1060 4: 900
    5: 900 6: 900 7: 900 8: 900 9: 1155 10: 2791 11: 2679 12: 2120
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:9bc4 class-ID: 0300
  Device-2: NVIDIA GP107GLM [Quadro P620] vendor: Dell driver: nvidia
    v: 510.68.02 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-05) arch: Pascal pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
    chip-ID: 10de:1cbd class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-11:3 chip-ID: 0c45:6a09 class-ID: 0e02
  Display: wayland server: X.org v: with: Xwayland v: 22.1.1
    compositors: 1: kwin_x11 2: kwin_wayland driver: X:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa
    gpu: i915,nvidia display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.0.3
    direct render: Yes
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Sound Server-1: ALSA v: k5.17.6-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.51 running: yes
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: Dell driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:0d4d class-ID: 0200
  IF: eth0 state: down mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:4 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Local Storage: total: 931.51 GiB used: 472.16 GiB (50.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 46.9 C scheme: GPT
  ID-1: / raw-size: 160 GiB size: 160 GiB (100.00%) used: 58.29 GiB (36.4%)
    fs: btrfs dev: /dev/dm-2 maj-min: 254:2 mapped: CryptContainer-ROOT
  ID-2: /boot raw-size: 1022 MiB size: 1022 MiB (100.00%)
    used: 217.3 MiB (21.3%) fs: btrfs dev: /dev/dm-4 maj-min: 254:4
    mapped: CryptBoot
  ID-3: /boot/efi raw-size: 640 MiB size: 638.7 MiB (99.80%)
    used: 380 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /home raw-size: 753.87 GiB size: 753.87 GiB (100.00%)
    used: 413.66 GiB (54.9%) fs: btrfs dev: /dev/dm-3 maj-min: 254:3
    mapped: CryptContainer-HOME
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 maj-min: 254:1 mapped: CryptContainer-SWAP
  System Temperatures: cpu: 52.0 C pch: 53.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2403
  Processes: 465 Uptime: 23m wakeups: 1067 Memory: 15.14 GiB
  used: 4.93 GiB (32.5%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 2530 lib: 525 Shell: Zsh
  v: 5.8.1 running-in: yakuake inxi: 3.3.16

  • Output of mhwd -l && mhwd -li
> 0000:01:00.0 (0302:10de:1cbd) Display controller nVidia Corporation:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI

> 0000:00:02.0 (0300:8086:9bc4) Display controller Intel Corporation:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI

Warning: No installed USB configs!
1 Like

Since mhwd is used, do it like this:

sudo mhwd --remove pci video-hybrid-intel-nvidia-prime
pamac install nvidia-dkms

I’d rather check what you need nvidia-dkms for first…

I’d rather check what you need nvidia-dkms for first…

It is a dependency for python-cuda

:: removing nvidia-dkms breaks dependency 'NVIDIA-MODULE' required by python-cuda


coomunity package python-cuda depends on nvidia-dkms. I need python-cuda. I wonder why python-cuda specifically depends on nvidia-dkms if linuxXXX-nvidia also provides identical functionalities.

It depends on NVIDIA-MODULE which both nvidia-dkms and linuxXXX-nvidia provide. Either can be used.

❯ pacman -Si python-cuda | grep 'Depends On'
Depends On      : cuda  cython  NVIDIA-MODULE
1 Like

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