I am having trouble getting the nvidia drivers to work. Any directions are highly appreciated!
Here’s my machine info:
uname -r
6.2.0-2-rt3-MANJARO
inxi -Fazy
System:
Kernel: 6.2.0-2-rt3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.2-rt-x86_64
root=UUID=028bb8fc-c355-4219-a437-52861b4449fa rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: i3 v: 4.23 with: i3bar tools: avail: i3lock,xautolock vt: 7
dm: LightDM v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
Type: Laptop System: PC Specialist product: N85_N870HL v: N/A
serial: <superuser required> Chassis: Notebook type: 10
serial: <superuser required>
Mobo: CLEVO model: N85_N870HL serial: <superuser required> part-nu: 1297215
uuid: <superuser required> UEFI: American Megatrends v: 1.05.02
date: 06/12/2017
Battery:
ID-1: BAT0 charge: 25.1 Wh (100.0%) condition: 25.1/59.9 Wh (41.9%)
volts: 12.7 min: 11.1 model: Notebook BAT type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 9 microcode: 0xF8
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 1300 high: 2800 min/max: 800/3800 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 2800
5: 800 6: 2800 7: 800 8: 800 bogomips: 44798
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
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: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 630 vendor: CLEVO/KAPOK driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX150] vendor: CLEVO/KAPOK driver: N/A
alternate: nouveau non-free: 545.xx+ status: current (as of 2024-06;
EOL~2026-12-xx) arch: Maxwell code: GMxxx process: TSMC 28nm
built: 2014-2019 pcie: gen: 3 speed: 8 GT/s lanes: 4 bus-ID: 01:00.0
chip-ID: 10de:1d10 class-ID: 0302
Device-3: Chicony USB 2.0 Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2 chip-ID: 04f2:b5a7
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: modesetting
alternate: fbdev,vesa dri: iris gpu: i915 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 model: LG Display 0x056d built: 2016 res: 1920x1080 hz: 60
dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3")
ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.1.3-manjaro1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2)
device-ID: 8086:591b memory: 7.57 GiB unified: yes
Audio:
Device-1: Intel CM238 HD Audio vendor: CLEVO/KAPOK driver: snd_hda_intel
v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a171
class-ID: 0403
Device-2: GN Netcom Jabra EVOLVE Link MS driver: jabra,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4
chip-ID: 0b0e:0305 class-ID: 0300 serial: <filter>
API: ALSA v: k6.2.0-2-rt3-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 1.2.1 status: off tools: pw-cli
Server-4: PulseAudio v: 17.0 status: active with: 1: pulseaudio-alsa
type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: d000 bus-ID: 03:00.1 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0f1 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24fd class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IF-ID-1: br-113e3d098f65 state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-2: docker0 state: down mac: <filter>
IF-ID-3: vethb588726 state: up speed: 10000 Mbps duplex: full mac: <filter>
Info: services: mld, NetworkManager, sshd, systemd-timesyncd,
wpa_supplicant
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3:3 chip-ID: 8087:0a2b
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 223.57 GiB used: 202.7 GiB (90.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SUV400S37240G
size: 223.57 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 37R5 scheme: GPT
Partition:
ID-1: / raw-size: 222.59 GiB size: 218.04 GiB (97.95%)
used: 202.7 GiB (93.0%) fs: ext4 dev: /dev/sda3 maj-min: 8:3
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 3.7 MiB (0.7%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 53.0 C pch: 52.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.5 GiB used: 2.48 GiB (16.0%)
Processes: 252 Power: uptime: 22m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.19 GiB services: upowerd,xfce4-power-manager
Init: systemd v: 256 default: graphical tool: systemctl
Packages: 2203 pm: pacman pkgs: 2201 libs: 484 tools: pamac,yay pm: snap
pkgs: 2 Compilers: clang: 18.1.8 gcc: 14.1.1 Shell: Zsh v: 5.9
running-in: alacritty inxi: 3.3.35
I tried installing the video-nvidia
, video-hybrid-intel-nvidia-prime
, video-hybrid-intel-nvidia-470xx-prime
and video-nvidia-470xx
drivers.
I did this through
sudo mhwd -i pci video-nvidia
and I also tried this which is supposed to automatically pick the right version
sudo mhwd -a pci nonfree 0300
I’ve tried running
sudo mkinitcpio -P
after the installations in addtion to
sudo update-grub
After rebooting, I test to see whether the drivers are working:
nvidia-smi [130]
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Note that I got this error for each of the attempted version of the drivers above.
I tried running something like this:
sudo modprobe nvidia [9]
modprobe: FATAL: Module nvidia not found in directory /lib/modules/6.2.0-2-rt3-MANJARO
When running
journalctl -xe | grep nvidia
I get the following output:
░░ Subject: A start job for unit nvidia-persistenced.service has begun execution
░░ A start job for unit nvidia-persistenced.service has begun execution.
Jul 22 00:46:35 MACHINE_NAME nvidia-persistenced[851]: Started (851)
Jul 22 00:46:35 MACHINE_NAME nvidia-persistenced[851]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 143 has read and write permissions for those files.
Jul 22 00:46:35 MACHINE_NAME nvidia-persistenced[846]: nvidia-persistenced failed to initialize. Check syslog for more details.
Jul 22 00:46:35 MACHINE_NAME nvidia-persistenced[851]: Shutdown (851)
Jul 22 00:46:35 MACHINE_NAME systemd[1]: nvidia-persistenced.service: Control process exited, code=exited, status=1/FAILURE
░░ An ExecStart= process belonging to unit nvidia-persistenced.service has exited.
Jul 22 00:46:35 MACHINE_NAME systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
░░ The unit nvidia-persistenced.service has entered the 'failed' state with result 'exit-code'.
░░ Subject: A start job for unit nvidia-persistenced.service has failed
░░ A start job for unit nvidia-persistenced.service has finished with a failure.
Jul 22 00:47:01 MACHINE_NAME sudo[2017]: USERNAME : TTY=pts/0 ; PWD=/home/USERNAME ; USER=root ; COMMAND=/usr/bin/modprobe nvidia
Jul 22 00:47:34 MACHINE_NAME sudo[2165]: USERNAME : TTY=pts/0 ; PWD=/home/USERNAME ; USER=root ; COMMAND=/usr/bin/pacman -S nvidia-prime nvidia-dkms
Jul 22 01:14:40 MACHINE_NAME sudo[6049]: USERNAME : TTY=pts/1 ; PWD=/home/USERNAME ; USER=root ; COMMAND=/usr/bin/modprobe nvidia
Could anyone please give me some ideas on things to try?
Thank you in advance!