Nvidia Driver is not loading

Hello! I recently attempted to install Nvidia drivers with the nvidia package.

However, the driver failed to load after rebooting.
I’m running the 6.10.6-arch1-1 kernel with an Nvidia GT640.

$ nvidia-settings
ERROR: NVIDIA driver is not loaded

(nvidia-settings:1662): GLib-GObject-CRITICAL **: 22:37:59.177: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:1662): CRITICAL **: 22:37:59.214: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)’ failed

ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should
       have been installed along with this driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to
       work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see
       the README for possible values and descriptions.[/code]
$ sudo dmesg | grep nvidia
[   40.212020] nvidia: loading out-of-tree module taints kernel.
[   40.212032] nvidia: module license ‘NVIDIA’ taints kernel.
[   40.212036] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   40.212037] nvidia: module license taints kernel.
[   40.683133] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[   40.684819] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
               NVRM:  Please visit http://www.nvidia.com/object/unix.html[/code]

I tried downgrading my kernel and headers but they didnt worked either. How can i fix my nvidia drivers?

Can you share inxi -Fxxxz so we can see what we are dealing with.

$ inxi -Fxxxz
System:
  Kernel: 6.10.6-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: Gigabyte model: H61M-S2PV v: x.x serial: <superuser required>
    uuid: <superuser required> BIOS: American Megatrends v: FD date: 03/23/2012
CPU:
  Info: dual core model: Intel Core i3-2100 bits: 64 type: MT MCP smt: enabled
    arch: Sandy Bridge rev: 7 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1600 min/max: 1600/3100 cores: 1: 1600 2: 1600 3: 1600
    4: 1600 bogomips: 24755
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK107 [GeForce GT 640] vendor: ASUSTeK driver: N/A pcie:
    speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:0fc1 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,nouveau,nv,vesa gpu: N/A
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 270x203mm (10.63x7.99")
    s-diag: 338mm (13.3")
  Monitor-1: Unknown-1 mapped: None-1 res: 1024x768 hz: 60 size: N/A
    modes: 1024x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast surfaceless: drv: swrast
    x11: drv: swrast inactive: gbm,wayland
  API: OpenGL v: 4.5 vendor: mesa v: 24.1.6-arch1.1 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 18.1.8 256 bits)
    device-ID: ffffffff:ffffffff
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1c20 class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b
    class-ID: 0403
  API: ALSA v: k6.10.6-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: Gigabyte
    driver: atl1c v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 03:00.0 chip-ID: 1969:1083 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 523.5 GiB used: 63.17 GiB (12.1%)
  ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
    speed: 3.0 Gb/s tech: HDD rpm: 7200 serial: <filter> fw-rev: KC45
    scheme: MBR
  ID-2: /dev/sdb vendor: Kingston model: DataTraveler 3.0 size: 57.73 GiB
    type: USB rev: 2.1 spd: 480 Mb/s lanes: 1 tech: N/A serial: <filter>
    fw-rev: 0000 scheme: MBR
Partition:
  ID-1: / size: 448.72 GiB used: 15.04 GiB (3.4%) fs: ext4 dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.72 GiB used: 2.3 GiB (29.7%)
  Processes: 187 Power: uptime: 1h 46m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 256 default: graphical
  Packages: pm: pacman pkgs: 903 Compilers: gcc: 14.2.1 alt: 13 Shell: Bash
    v: 5.2.32 running-in: xfce4-terminal inxi: 3.3.35

So it is a kepler card, it needs the 470xx drivers from the aur - did you install the current drivers?

edit:

sudo pacman -R nvidia-dkms nvidia-utils nvidia-settings
# Then:
yay -S nvidia-470xx-dkms nvidia-470xx-utils nvidia-470xx-settings
2 Likes

Thank you! My driver is working after installing 470xx one.

1 Like

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