Pacman error when installing nvidia driver

Hello everyone.

I just installed manjaro but i can’t install nvidia drivers. I get this
er`

> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:01:00.0 (0300:10de:249d) Display controller nVidia Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q]
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:05:00.0 (0300:1002:1681) Display controller ATI Technologies Inc 
> Dependencies to install:  video-linux
> Installing dependency video-linux...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
:: Synchronisation des bases de données de paquets…
téléchargement de core…
téléchargement de extra…
téléchargement de multilib…
avertissement : xf86-video-ati-1:22.0.0-2 est à jour -- ignoré
avertissement : xf86-video-amdgpu-23.0.0-2 est à jour -- ignoré
avertissement : xf86-video-intel-1:2.99.917+923+gb74b67f0-2 est à jour -- ignoré
avertissement : xf86-video-nouveau-1.0.18-1 est à jour -- ignoré
avertissement : vulkan-intel-1:24.2.8-1 est à jour -- ignoré
avertissement : vulkan-nouveau-1:24.2.8-1 est à jour -- ignoré
avertissement : vulkan-radeon-1:24.2.8-1 est à jour -- ignoré
avertissement : mesa-1:24.2.8-1 est à jour -- ignoré
avertissement : lib32-vulkan-intel-1:24.2.8-1 est à jour -- ignoré
avertissement : lib32-vulkan-nouveau-1:24.2.8-1 est à jour -- ignoré
avertissement : lib32-vulkan-radeon-1:24.2.8-1 est à jour -- ignoré
 il n’y a rien à faire
erreur : impossible de changer le motif d’installation pour le paquet libva-mesa-driver (impossible de trouver ou de lire le paquet)
xf86-video-ati : paquet marqué comme étant explicitement installé
xf86-video-amdgpu : paquet marqué comme étant explicitement installé
xf86-video-intel : paquet marqué comme étant explicitement installé
xf86-video-nouveau : paquet marqué comme étant explicitement installé
vulkan-intel : paquet marqué comme étant explicitement installé
vulkan-nouveau : paquet marqué comme étant explicitement installé
vulkan-radeon : paquet marqué comme étant explicitement installé
lib32-vulkan-intel : paquet marqué comme étant explicitement installé
lib32-vulkan-nouveau : paquet marqué comme étant explicitement installé
lib32-vulkan-radeon : paquet marqué comme étant explicitement installé
Error: pacman failed!
Error: script failed!

`

I don’t understand why this occur. I’m on a fresh install.

Thanks !

1 Like

What is the command you tried to use?
How did you get this output?

Did you run sudo pacman -Syu before you tried installing anything new?

Hardware information?
inxi -zv8

Please format you post (the terminal output) so that it is readable:
use </> (preformatted text)
highlight/mark - then click the symbol in the top row of the edit window

I used this command: sudo mhwd -a pci nonfree 0300.
I also tried sudo pacman -Syu but everything is up to date.

here is the output of inxi -zv8

System:
  Kernel: 6.12.1-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=6105a1bd-6458-4946-8c9a-0ad0a5e906c0 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A info: frameworks v: 6.8.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A17 FA707RR_TUF707RR
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA707RR v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: FA707RR.315
    date: 11/30/2022
Battery:
  ID-1: BAT1 charge: 73.8 Wh (100.0%) condition: 73.8/90.2 Wh (81.8%)
    volts: 16.2 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A
    status: discharging
Memory:
  System RAM: total: 16 GiB available: 14.87 GiB used: 2.44 GiB (16.4%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 1 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M425R2GA3BB0-CQKOL serial: <filter>
  Device-2: Channel-B DIMM 0 type: no module installed
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3+ gen: 3 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
    family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA404101
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1094 min/max: 400/4785 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1094 2: 1094 3: 1094
    4: 1094 5: 1094 6: 1094 7: 1094 8: 1094 9: 1094 10: 1094 11: 1094 12: 1094
    13: 1094 14: 1094 15: 1094 16: 1094 bogomips: 102255
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate
    ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx
    mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx
    ospke osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
    perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse
    pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
    succor svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk
    v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq
    wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
    xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  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: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: ASUSTeK
    driver: nouveau v: kernel non-free: 550.xx+ status: current (as of 2024-09;
    EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16
    ports: active: none empty: DP-9,HDMI-A-1,eDP-2 bus-ID: 01:00.0
    chip-ID: 10de:249d class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
    DP-7, DP-8, Writeback-1 bus-ID: 05:00.0 chip-ID: 1002:1681 class-ID: 0300
    temp: 43.0 C
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:2 chip-ID: 322e:202c
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: X: loaded: amdgpu,modesetting
    alternate: fbdev,vesa dri: radeonsi,nouveau gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0x4b9d built: 2020
    res: 1920x1080 hz: 144 dpi: 128 gamma: 1.2 chroma: red: x: 0.576 y: 0.345
    green: x: 0.353 y: 0.580 blue: x: 0.161 y: 0.125 white: x: 0.314 y: 0.329
    size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9
    modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x800, 1280x720,
    1024x768, 800x600, 640x480
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: amd radeonsi platforms:
    device: 0 drv: radeonsi device: 1 drv: nouveau device: 2 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 680M (radeonsi rembrandt
    LLVM 18.1.8 DRM 3.59 6.12.1-4-MANJARO) device-ID: 1002:1681
    memory: 500 MiB unified: no
  API: Vulkan v: 1.3.295 layers: N/A device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3070 Laptop GPU (NVK GA104) driver: mesa nvk
    v: 24.2.8-arch1.1 device-ID: 10de:249d surfaces: xcb,xlib device: 1
    type: integrated-gpu name: AMD Radeon 680M (RADV REMBRANDT)
    driver: mesa radv v: 24.2.8-arch1.1 device-ID: 1002:1681
    surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: ASUSTek C-Media Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-1:2
    chip-ID: 0b05:6210 class-ID: 0300
  API: ALSA v: k6.12.1-4-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:4 chip-ID: 13d3:3563
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 968.19 GiB used: 10.78 GiB (1.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLQ1T0HBLB-00B00 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: FXM7301Q temp: 31.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Cruzer Blade
    size: 14.32 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
    used: 10.78 GiB (1.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 6105a1bd-6458-4946-8c9a-0ad0a5e906c0
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 48C5-E2F7
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 14.32 GiB fs: vfat label: N/A
    uuid: 5EE7-CCA9
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-4:2 info: Sonix USB2.0 HD UVC WebCam type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 322e:202c class-ID: 0e02
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: SanDisk Cruzer Blade type: mass storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 200mA chip-ID: 0781:5567 class-ID: 0806
    serial: <filter>
  Device-2: 3-2:3 info: SHARKOON GmbH [Mediatrack Edge Mini Keyboard]
    type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 1ea7:0066 class-ID: 0301
  Device-3: 3-3:4 info: IMC Networks Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-1:2 info: ASUSTek C-Media Audio type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0b05:6210 class-ID: 0300
  Hub-6: 6-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 8-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 9-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-10: 10-0:1 info: super-speed hub ports: 1 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.6 C mobo: 36.2 C gpu: amdgpu temp: 44.0 C
  Fan Speeds (rpm): cpu: 0
Repos:
  Packages: 1116 pm: pacman pkgs: 1109 libs: 317 tools: pamac pm: flatpak
    pkgs: 7
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    2: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    3: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 366
  1: cpu: 100% command: ps pid: 2179 mem: 3.50 MiB (0.0%)
  2: cpu: 32.7% command: firefox pid: 1456 mem: 446.8 MiB (2.9%)
  3: cpu: 12.9% command: firefox pid: 1702 mem: 224.5 MiB (1.4%)
  4: cpu: 5.9% command: Xorg pid: 739 mem: 85.6 MiB (0.5%)
  5: cpu: 5.9% command: kwin_x11 pid: 956 mem: 160.1 MiB (1.0%)
  Memory top: 5 of 366
  1: mem: 446.8 MiB (2.9%) command: firefox pid: 1456 cpu: 32.7%
  2: mem: 374.3 MiB (2.4%) command: plasmashell pid: 1020 cpu: 3.7%
  3: mem: 246.5 MiB (1.6%) command: firefox pid: 1625 cpu: 4.4%
  4: mem: 224.5 MiB (1.4%) command: firefox pid: 1702 cpu: 12.9%
  5: mem: 187.8 MiB (1.2%) command: konsole pid: 2014 cpu: 3.4%
Info:
  Processes: 366 Power: uptime: 2m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 5.91 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: N/A Shell: Zsh v: 5.9 default: Bash v: 5.2.37
    running-in: konsole inxi: 3.3.36

Thank you for your anwser

1 Like

Someone else might be able to help you with your specific issue -
I myself have zero experience with NVIDIA hardware
because I do not have and never had such a device
and can thus provide no help beyond what anyone could read about it.

But now we know a little more about the circumstance and environment.

1 Like

Do you have any custom or third-party kernels installed?

mhwd can freak out in those cases.