Nvidia-inst kernel 6.1.7 install boot failure

So my big question and I cannot find it anywhere is if nvidia-inst is only supported in linux-lts kernels and not latest such as 6.1.7. I did find a reference that Fedora had a bug in their kernel and was missing a kernel hack https://www.reddit.com/r/Fedora/comments/10dd2fe/psa_nvidia_drivers_are_broken_on_linux_kernel_61x/ which was fixed in 6.1.7 for Fedora but the error looks similar to what I am seeing here.

installer log from live session: https://0x0.st/ohRa.txt

Hardware information: https://0x0.st/ohRm.txt

Boot log: https://0x0.st/oh7H.txt

snippet


Jan 22 23:52:13 acefour-1 kernel: traps: Missing ENDBR: _nv012307rm+0x0/0x10 [nvidia]
Jan 22 23:52:13 acefour-1 kernel: ------------[ cut here ]------------
Jan 22 23:52:13 acefour-1 kernel: kernel BUG at arch/x86/kernel/traps.c:255!
Jan 22 23:52:13 acefour-1 kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Jan 22 23:52:13 acefour-1 kernel: CPU: 10 PID: 256 Comm: systemd-modules Tainted: P           OE      6.1.7-arch1-1 #1 a2d6f1dcaa775aaae1f25aaf758ae968e3493665
Jan 22 23:52:13 acefour-1 kernel: Hardware name: ASUS System Product Name/PRIME Z690M-PLUS D4, BIOS 0605 11/12/2021
Jan 22 23:52:13 acefour-1 kernel: RIP: 0010:exc_control_protection+0xc2/0xd0
Jan 22 23:52:13 acefour-1 kernel: Code: fa ff 45 31 c9 49 89 d8 b9 09 00 00 00 48 8b 93 80 00 00 00 be fc 00 00 00 48 c7 c7 e1 e1 a3 82 e8 53 f4 47 ff e9 64 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 53 48 89
Jan 22 23:52:13 acefour-1 kernel: RSP: 0018:ffffa96780fcbba8 EFLAGS: 00010002
Jan 22 23:52:13 acefour-1 kernel: RAX: 0000000000000033 RBX: ffffa96780fcbbc8 RCX: 0000000000000027
Jan 22 23:52:13 acefour-1 kernel: RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff954cdfca1660
Jan 22 23:52:13 acefour-1 kernel: RBP: 0000000000000003 R08: 0000000000000000 R09: ffffa96780fcba40
Jan 22 23:52:13 acefour-1 kernel: R10: 0000000000000003 R11: ffffffff832cb828 R12: 0000000000000000
Jan 22 23:52:13 acefour-1 kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Jan 22 23:52:13 acefour-1 kernel: FS:  00007f8717ced080(0000) GS:ffff954cdfc80000(0000) knlGS:0000000000000000
Jan 22 23:52:13 acefour-1 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 22 23:52:13 acefour-1 kernel: CR2: 00007f8715aeb000 CR3: 0000000103d4a005 CR4: 0000000000f70ee0
Jan 22 23:52:13 acefour-1 kernel: PKRU: 55555554
Jan 22 23:52:13 acefour-1 kernel: Call Trace:
Jan 22 23:52:13 acefour-1 kernel:  <TASK>
Jan 22 23:52:13 acefour-1 kernel:  asm_exc_control_protection+0x26/0x30
Jan 22 23:52:13 acefour-1 kernel: RIP: 0010:_nv012307rm+0x0/0x10 [nvidia]

What nvidia-inst says:

$ nvidia-inst --drivers
NVIDIA card id: 13c2
Fetching driver data from nvidia.com ...

Series 525: supported (nvidia.com: 525.85.05)

$ nvidia-inst --series 525 -t
2023-01-23 09:09:43: Info: Running: nvidia-inst v1.9-1
2023-01-23 09:09:43: Info: Command line: nvidia-inst --series 525 -t
2023-01-23 09:09:43: Info: Selected mode: nvidia
2023-01-23 09:09:43: Info: Installing packages: nvidia-dkms nvidia-utils nvidia-settings nvidia-hook
2023-01-23 09:09:43: Info: Removing packages: xf86-video-nouveau
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    pacman -Rs --noconfirm --noprogressbar --nodeps xf86-video-nouveau
    pacman -Syuq --noconfirm --noprogressbar --needed nvidia-dkms nvidia-utils nvidia-settings nvidia-hook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The good news is the system eventually gave me console to perform nvidia-inst -n and go back to a graphical display.

The installer supports the kernels. You need the kernel parameter ibt=off
Which boot loader did you install with? grub or systemd-boot? It’s placement is different depending on which one you are using.

systemd-boot

You need to add ibt=off to /etc/kernel/cmdline and then run sudo reinstall-kernels and reboot.
Then you should be able to install Nvidia with the nvidia-inst installer.

If you want you could run it in test mode first. nvidia-inst -t If no errors then you install with the -t.

Edit: Hopefully it boots okay with the kernel parameter on nouveau before installing nvidia drivers.

That did the trick! Did not see that on the wiki write up. Maybe someone could update https://discovery.endeavouros.com/nvidia/new-nvidia-driver-installer-nvidia-inst/2022/03/

Thank you!

What does it show now?

inxi -Ga
$ inxi -Ga
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: eVga.com. driver: nvidia
    v: 525.85.05 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none off: DP-1 empty: DP-2, DP-3, DVI-I-1, HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:13c2 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
    s-diag: 610mm (24")
  Monitor-1: DP-1 mapped: DP-0 note: disabled model: Dell E2420H
    serial: 8WVNLY2 built: 2020 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 525.85.05 renderer: NVIDIA GeForce GTX
    970/PCIe/SSE2 direct render: Yes
1 Like

Awesome!

1 Like

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