When launching ‘nvidia-settings’ it says
ERROR: NVIDIA driver is not loaded
Checking journalctl I see
Aug 04 00:01:59 me-g55590 kernel: NVRM: API mismatch: the client has the version 535.86.05, but
NVRM: this kernel module has the version 530.41.03. Please
NVRM: components have the same version.
How do i get both versions matching?
mhwd -l -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2191) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-nvidia 2023.03.23 false PCI
video-nvidia-470xx 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
inxi -Fazy
System:
Kernel: 6.1.41-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=502e6300-69c0-46e8-bfc8-20ee11a61171 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: G5 5590 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0MXHK3 v: A00 serial: <superuser required> UEFI: Dell
v: 1.19.0 date: 03/15/2022
Battery:
ID-1: BAT0 charge: 22.7 Wh (100.0%) condition: 22.7/60.0 Wh (37.9%)
volts: 16.8 min: 15.2 model: BYD DELL HYWXJ95 type: Li-poly serial: <filter>
status: full
Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
Mouse serial: <filter> charge: 50% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF2
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: 950 high: 2600 min/max: 800/4500 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 801 12: 2600 bogomips: 62431
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, STIBP: conditional,
RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Dell
driver: N/A alternate: nouveau non-free: 535.xx+
status: current (as of 2023-07) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 0c45:671f
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_x11 driver: X: loaded: modesetting 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 0x05f2 built: 2018 res: 1920x1080 hz: 60
dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.0.4 renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) direct-render: Yes
Audio:
Device-1: Intel Cannon 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:a348 class-ID: 0403
Device-2: NVIDIA TU116 High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max:
lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
API: ALSA v: k6.1.41-1-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: 0.3.75 status: off with: wireplumber status: active
tools: pw-cli,wpctl
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek vendor: Dell driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:2502
class-ID: 0200
IF: enp60s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5
chip-ID: 8087:0aaa class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
Local Storage: total: 2.05 TiB used: 39.08 GiB (1.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: BC501 NVMe 256GB
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s
lanes: 2 tech: SSD serial: <filter> fw-rev: 80002C00 temp: 48.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: SDM3 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Sabrent model: Sabrent
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter>
fw-rev: 1.00 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%) used: 39.08 GiB (4.3%)
fs: ext4 dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 288 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 64.0 C pch: 65.0 C mobo: 58.0 C
Fan Speeds (RPM): cpu: 2407 fan-1: 2384
Info:
Processes: 296 Uptime: 1h 4m wakeups: 5411 Memory: total: 16 GiB
available: 15.44 GiB used: 3.76 GiB (24.4%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
Packages: pm: pacman pkgs: 1389 libs: 428 tools: pamac,yay pm: flatpak
pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.28
It means you are running a different kernel as the driver was made for…
So either install a version of the nvidia driver that is meant for the kernel you use, OR use the DKMS version so it gets compiled automatically.
How do i use the dkms version?
ill leave that up to @cscs
(am about to hit the bed 3:30am…)
cscs
5 August 2023 00:37
8
How did you install drivers?
Lets look at your packages just to check:
pacman -Qs nvidia
cscs:
pacman -Qs nvidia
local/egl-wayland 2:1.1.12-1
EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
Nvidia VDPAU library
local/lib32-nvidia-utils 535.86.05-1
NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 535.86.05-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-1
Nvidia VDPAU library
local/libxnvctrl 535.86.05-1
NVIDIA NV-CONTROL X extension
local/mhwd-nvidia 535.86.05-1
MHWD module-ids for nvidia 535.86.05
local/mhwd-nvidia-390xx 390.157-7
MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.199.02-2
MHWD module-ids for nvidia 470.199.02
local/nvidia-dkms 535.86.05-1
NVIDIA drivers - module sources
local/nvidia-prime 1.0-4
NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 535.86.05-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 535.86.05-1
NVIDIA drivers utilities
local/nvtop 3.0.2-1
GPUs process monitoring for AMD, Intel and NVIDIA
local/opencl-nvidia 535.86.05-1
OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
Open Source 3D acceleration driver for nVidia cards
cscs
5 August 2023 00:48
11
I’m pretty sure that shouldnt be there.
sudo pacman -Rns nvidia-dkms
Also see about dkms leftovers, if any:
sudo dkms status
Now back to normal setup:
sudo pacman -Syu
sudo mhwd -f -i pci video-hybrid-intel-nvidia-prime
Probably give it a reboot…
prime-run nvidia-settings
(stop and provide errors if they appear)
PS.
Er … it was about 10 minutes between interactions.
Besides which this is not an instant messenger client.
Please do not ‘bump’/‘ping’ simply because you are impatient.
1 Like
oh sorry
I’ll try what you said now
prime-run nvidia-setttings
returns
/usr/bin/prime-run: line 2: nvidia-setttings: command not found
but other that that everything seems to be working
cscs
5 August 2023 01:08
14
Typo detected.
You have one too many t
s in what should be nvidia-settings
.
never mind works perfectly
cscs
5 August 2023 01:10
16
Great.
I’ll also leave a link to the wiki here.
Configure Graphics Cards - Manjaro
Remember - when you want to use nvidia then you must invoke it with prime-run
.
You can see it displayed in this test:
glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'
In the case of steam we dont want to launch steam itself with prime, but we can make use of the launch options and its special variable %command%.
This means to have games run on nvidia you can edit the launch options of the game to
(assuming no other options):
prime-run %command%
PS.
I marked the post that seems to have best solved your query.
Happy linuxing.
system
Closed
7 August 2023 15:10
17
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.