Black screen when rebooting after installing proprietary NVIDIA drivers

Hi! this is my first time installing Linux and have mainly been using ChatGPT to help me install Manjaro.

All went well until I tried to install proprietary drivers for my RTX 2070. I first went with the method of using the command:

sudo mhwd -a pci nonfree 0300

It installed fine, however when I tried to reboot it wouldn’t give me any video output. ChatGPT had me try to open TTY with CTRL+ALT+F2 (and then F2-F6 as well).

None of the shortcuts did anything for me. I booted into the Live USB that I used to install Manjaro and was able to chroot into the installed version and uninstall the proprietary drivers which got me back to where I was.

I then tried to install the drivers from Manjaro Settings Manager which gave me the same black screen.

ChatGPT had me try one more time to install and had me edit GRUB with

sudo nano /etc/default/grub

And then had me edit the line

GRUB+CMDLINE_LINUX_DEFAULT=‘quiet spash’

to

GRUB+CMDLINE_LINUX_DEFAULT=‘quiet spash nvidia-drm.modeset=1’

it had me save, update-grub and reboot. But still the exact same result.

I did find out that I am able to load the proprietary drivers when booting into the Live USB.

I have looked around on the forum too, but haven’t seen anyone with the exact same problem.

Can someone help me install the proprietary drivers correctly?

Here is my inxi -zv8

System:
  Kernel: 6.12.21-4-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=bb9fa58b-7c95-4117-9c08-42855a0730f6 rw quiet splash
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.12.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 3103 date: 06/17/2020
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.54 GiB used: 2.13 GiB (13.7%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: DIMM_A1 type: no module installed
  Device-2: DIMM_A2 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3600 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2C3600C20 serial: N/A
  Device-3: DIMM_B1 type: no module installed
  Device-4: DIMM_B2 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 3600 MT/s volts: note: check curr: 1 min: 1 max: 1
    width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M2C3600C20 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 2
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701034
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB
    desc: 6x512 KiB L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 2200 min/max: 2200/4208 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200 3: 2200
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    bogomips: 86424
  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 cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm_lock syscall tce topoext tsc
    tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 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 mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  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; 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 TU106 [GeForce RTX 2070] vendor: Gigabyte driver: nouveau
    v: kernel non-free: 550-570.xx+ status: current (as of 2025-04;
    EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16
    ports: active: DP-3,HDMI-A-1 empty: DP-1,DP-2 bus-ID: 09:00.0
    chip-ID: 10de:1f02 class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6000x1440 s-dpi: 96 s-size: 1587x381mm (62.48x15.00")
    s-diag: 1632mm (64.26") monitors: <missing: xrandr>
  Monitor-1: DP-3 model: LG (GoldStar) HDR WQHD serial: <filter> built: 2021
    res: 3440x1440 dpi: 109 gamma: 1.2 chroma: red: x: 0.651 y: 0.333 green:
    x: 0.306 y: 0.631 blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 800x335mm (31.5x13.19") diag: 867mm (34.1") modes: 3440x1440,
    2560x1080, 1920x1080, 1680x1050, 1600x900, 1280x1024, 1280x800, 1152x864,
    1280x720, 1024x768, 800x600, 720x576, 720x480, 640x480
  Monitor-2: HDMI-A-1 model: BenQ EW2780Q serial: <filter> built: 2019
    res: 2560x1440 dpi: 109 gamma: 1.2 chroma: red: x: 0.663 y: 0.333 green:
    x: 0.302 y: 0.616 blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9
    modes: 2560x1440, 1920x1080, 1680x1050, 1600x900, 1280x1024, 1280x800,
    1152x864, 1280x720, 1024x768, 832x624, 800x600, 720x576, 720x480,
    640x480, 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.0.3-arch1.1 glx-v: 1.4
    direct-render: yes renderer: NV166 device-ID: 10de:1f02 memory: 7.78 GiB
    unified: no
  API: Vulkan v: 1.4.309 layers: N/A device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 2070 (NVK TU106) driver: mesa nvk v: 25.0.3-arch1.1
    device-ID: 10de:1f02 surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: NVIDIA TU106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 09:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  Device-4: C-Media Blue Snowball driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-1:2
    chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
  API: ALSA v: k6.12.21-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.4.1 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: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager,systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.85 TiB used: 8.72 GiB (0.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 2B2QEXE7 temp: 39.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Samsung model: SSD 980 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 1B4QFXO7 temp: 37.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Philips model: N/A size: 29.3 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s
    lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter> fw-rev: 3.00
    scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 8.53 GiB (17.9%)
    fs: ext4 dev: /dev/nvme1n1p5 maj-min: 259:11 label: N/A
    uuid: bb9fa58b-7c95-4117-9c08-42855a0730f6
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 316 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:7 label: N/A
    uuid: 3065-FBDF
  ID-3: /home raw-size: 154.11 GiB size: 150.63 GiB (97.74%)
    used: 187.1 MiB (0.1%) fs: ext4 dev: /dev/nvme1n1p6 maj-min: 259:12
    label: N/A uuid: 47b03018-bed8-4bd1-a1f1-dfd70ab4e20f
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 50 MiB fs: ntfs
    label: System Reserved uuid: EE3A5E043A5DC9EB
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 930.12 GiB fs: ntfs label: N/A
    uuid: 92AC5E6DAC5E4BBB
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 775 MiB fs: ntfs label: N/A
    uuid: 62526C41526C1C53
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 100 MiB fs: vfat label: N/A
    uuid: 1A63-07CB
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 498 MiB fs: ntfs label: N/A
    uuid: 0E906C52906C41F7
  ID-6: /dev/nvme1n1p2 maj-min: 259:8 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-7: /dev/nvme1n1p3 maj-min: 259:9 size: 726.94 GiB fs: ntfs label: N/A
    uuid: 0FDF0C630FDF0C63
  ID-8: /dev/nvme1n1p4 maj-min: 259:10 size: 511 MiB fs: ntfs label: N/A
    uuid: A222A60322A5DC93
  ID-9: /dev/sda1 maj-min: 8:1 size: 4.19 GiB fs: iso9660
  ID-10: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: 0880-DD28
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 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-1:2 info: Logitech Webcam C270 type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Device-2: 1-2:3 info: Glorious Series One PRO Wireless
    type: mouse,keyboard driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 258a:2018 class-ID: 0301 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 4 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
  Device-1: 2-4:2 info: PHILIPS type: mass storage driver: usb-storage
    interfaces: 1 rev: 3.2 speed: 5 Gb/s (596.0 MiB/s) lanes: 1
    mode: 3.2 gen-1x1 power: 144mA chip-ID: 346d:5678 class-ID: 0806
    serial: <filter>
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 4 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: 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: 5-1:2 info: C-Media Blue Snowball type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
  Device-2: 5-4:3 info: Apple Aluminium Keyboard (ANSI) type: keyboard,mouse
    driver: apple,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 494mA chip-ID: 05ac:024f class-ID: 0301
  Hub-6: 6-0:1 info: super-speed hub ports: 4 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: 52.0 C mobo: 39.0 C
  Fan Speeds (rpm): cpu: 958 case-1: 397 case-2: 544 case-3: 583
  Power: 12v: 10.08 5v: N/A 3.3v: N/A vbat: 3.27
Repos:
  Packages: pm: pacman pkgs: 1175 libs: 323 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://manjaro.kurdy.org/stable/$repo/$arch
    2: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    3: https://mirror.phoepsilonix.love/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 295
  1: cpu: 18.0% command: firefox pid: 1212 mem: 496.7 MiB (3.1%)
  2: cpu: 4.7% command: [kworker/u49:6-kvfree_rcu_reclaim] pid: 2274
    mem: 0.00 MiB (0.0%)
  3: cpu: 3.7% command: firefox pid: 1634 mem: 290.7 MiB (1.8%)
  4: cpu: 3.3% command: firefox pid: 1431 mem: 277.3 MiB (1.7%)
  5: cpu: 3.2% command: [kworker/u49:4-kvfree_rcu_reclaim] pid: 588
    mem: 0.00 MiB (0.0%)
  Memory top: 5 of 295
  1: mem: 496.7 MiB (3.1%) command: firefox pid: 1212 cpu: 18.0%
  2: mem: 346.8 MiB (2.1%) command: plasmashell pid: 897 cpu: 0.6%
  3: mem: 290.7 MiB (1.8%) command: firefox pid: 1634 cpu: 3.7%
  4: mem: 277.3 MiB (1.7%) command: firefox pid: 1431 cpu: 3.3%
  5: mem: 243.9 MiB (1.5%) command: firefox pid: 1719 cpu: 1.4%
Info:
  Processes: 295 Power: uptime: 11m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.19 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Compilers: N/A Shell: Zsh v: 5.9 default: Bash v: 5.2.37
    running-in: konsole inxi: 3.3.38

There is no nvidia driver installed.
Go to Paketmanager an install linux612-nvidia or linux612-nvidia-open
or run
nvidia-driver-assistant and view the Output

Thanks for your reply!

I am aware that the drivers are currently not installed. I uninstalled them to be able to boot back into Manjaro.

I have installed the linux612-nvidia I rebooted and ran the nvidia-driver-assistant

This was it’s output:

Detected GPUs:
  NVIDIA GeForce RTX 2070 - (pci_id 0x1F02)

Detected system:
  Manjaro Linux 

Please copy and paste the following command to install the open kernel module flavour:
  sudo pacman -S linux612-nvidia-open

I will attempt to reinstall the driver now to see if it’s made a difference

While trying to reinstall I used this command sudo mhwd -a pci nonfree 0300

But it failed this time, I haven’t had this before in my attempts.

[sudo] password for nick: 
> Using config 'video-nvidia' for device: 0000:09:00.0 (0300:10de:1f02) Display controller nVidia Corporation TU106 [GeForce RTX 2070]
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
warning: nvidia-utils-570.144-2 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...
:: linux612-nvidia-open-570.144-3 and linux612-nvidia-570.144-3 are in conflict. Remove linux612-nvidia? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: linux612-nvidia-open-570.144-3 and linux612-nvidia-570.144-3 are in conflict
Error: pacman failed!
Error: script failed!

can you please report

pacman -Qs nvidia

as you are using KDE , you will have to switch from nvidia to nvidia-open and probably wayland , to not follow ChatGPT as it cant offers solutions on recents changes

you can try

sudo pacman -Rdd linux612-nvidia
sudo mhwd -a pci nonfree 0300

The output of the nvidia-driver-assistant was clear;

Did you not think to follow the instructions given?

If you have done that in the interim, please provide output if that command failed.

Regards.

Okay so I tried some things. I uninstalled the linux612-nvidia-open package because I noticed the conflict caused by also having the linux612-nvidia package installed.

This is what it now gives me for pacman -Qs nvidia

local/egl-gbm 1.1.2.1-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.19-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.1-1
    NVIDIA XLib and XCB EGL Platform Library
local/lib32-vulkan-nouveau 1:25.0.4-1
    Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/linux612-nvidia 570.144-3 (linux612-extramodules)
    NVIDIA drivers for linux612
local/mhwd-nvidia 570.144-2
    MHWD module-ids for nvidia 570.144
local/mhwd-nvidia-390xx 390.157-19
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.256.02-10
    MHWD module-ids for nvidia 470.256.02
local/nvidia-driver-assistant 0.21.51.03-1
    Detect and install the best NVIDIA driver packages for the system
local/nvidia-utils 570.144-2
    NVIDIA drivers utilities
local/vulkan-nouveau 1:25.0.4-1
    Open-source Vulkan driver for Nvidia GPUs
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards


It looks like it’s installed now?

This is what it gives me for inxi -G

Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2070] driver: nvidia v: 570.144
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver: X:
    loaded: nvidia unloaded: modesetting,nouveau gpu: nvidia,nvidia-nvswitch
    s-res: 6000x1440 resolution: 1: 3440x1440 2: 2560x1440
  API: EGL v: 1.5 drivers: nouveau,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 570.144
    renderer: NVIDIA GeForce RTX 2070/PCIe/SSE2
  API: Vulkan v: 1.4.309 drivers: nvidia surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo,xprop

I did try that! then it warned me about conflicting packages and asked if I wanted to delete it.

After doing the thing I just posted above it now gives me

[sudo] password for nick: 
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

sudo pacman -Rdd linux612-nvidia
sudo mhwd -a pci nonfree 0300

I think this has actually done it!!
Using mhwd -li shows

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2025.01.13               false            PCI

I see, so the seemingly unrelated lock file warning confused you. You might like to copy the following to your notes, for reference;


Sometimes an update check might still be running in the background, or for some other reason the db.lck file is created to prevent you from interfering with the currently running process.

Usually, one can just wait a minute for other processes to finish; however, sometimes, the lock file isn’t removed gracefully.

1. Check whether a lock file exists;

lsof /var/lib/pacman/db.lck

If the output of the command is similar to:

  • lsof: status error on /var/lib/pacman/db.lck: no such file or directory

then the problem lies elsewhere.

2. If no output is returned at all, then a lock file likely remains set, and you can delete it with the following command:

sudo rm /var/lib/pacman/db.lck

Regards.

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