Patch Nvidia-dkms for Kernel 5.14rc1-1

Hello I am using Garuda for 3 months now and been happy so far but when I updated linux-mainline 5.13 to 5.14rc1-1 I get errors with nvidia-dkms when installing the kernel so I searched and found this:

the problem I have is that I don't know how to patch the nvidia-dkms driver

I hope you can help me

The mainline kernel is only experimental as you are probably aware, issues are to be expected when running this kernel. Unless your hardware is extremely new another kernel may be a better fit. However, there is no way for us to know that as you did not provide your system specs with a inxi -Faz output.

Welcome to the forum.

2 Likes

But the Packager would know.

$ LANG=en pacman -Si nvidia-dkms | grep -E "^Version|^Packager|^Build"
Version         : 465.31-1
Packager        : Sven-Hendrik Haase <[email protected]>
Build Date      : Tue May 18 20:47:23 2021
2 Likes
╰─λ inxi -Fza
System:    Kernel: 5.12.15-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
           root=UUID=44fdce15-2a62-4998-9199-f970695363ad rw rootflags=subvol=@ quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           resume=UUID=ef22100c-df8f-4c7e-9d23-450d77e09d01 loglevel=3
           Desktop: LXQt 0.17.1 tk: Qt 5.15.2 info: cairo-dock, lxqt-panel wm: kwin_x11 vt: 1
           dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:   Type: Desktop Mobo: ASRock model: B450M-HDV R4.0 serial: <filter>
           UEFI: American Megatrends v: P4.50 date: 03/12/2021
CPU:       Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
           family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache: L2: 3 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86404
           Speed: 3596 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 3596
           2: 3630 3: 3454 4: 3652 5: 3606 6: 3600 7: 3514 8: 3609 9: 3600 10: 3597 11: 3601
           12: 3598
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass
           mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI driver: nvidia
           v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 08:00.0 chip-ID: 10de:1b81
           class-ID: 0300
           Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: nvidia
           display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 93 s-size: 524x292mm (20.6x11.5")
           s-diag: 600mm (23.6")
           Monitor-1: DP-2 res: 1920x1080 dpi: 94 size: 521x293mm (20.5x11.5")
           diag: 598mm (23.5")
           OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 465.31
           direct render: Yes
Audio:     Device-1: NVIDIA GP104 High Definition Audio vendor: Micro-Star MSI
           driver: snd_hda_intel v: kernel bus-ID: 08:00.1 chip-ID: 10de:10f0 class-ID: 0403
           Device-2: AMD Starship/Matisse HD Audio vendor: ASRock driver: snd_hda_intel
           v: kernel bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
           Device-3: Razer USA Gaming Controller [Raiju] type: USB
           driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:5 chip-ID: 1532:1000
           class-ID: 0300 serial: <filter>
           Sound Server-1: ALSA v: k5.12.15-zen1-1-zen running: yes
           Sound Server-2: JACK v: 0.125.0 running: no
           Sound Server-3: PulseAudio v: 14.2 running: no
           Sound Server-4: PipeWire v: 0.3.31 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock
           driver: r8169 v: kernel port: f000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 1.47 TiB used: 613.02 GiB (40.6%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HTS547550A9E384 size: 465.76 GiB
           block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s rotation: 5400 rpm
           serial: <filter> rev: A50B scheme: GPT
           ID-2: /dev/sdb maj-min: 8:16 vendor: Drevo model: X1 SSD size: 111.79 GiB block-size:
           physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 2A
           scheme: GPT
           ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000LM010-9YH146
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
           rotation: 5400 rpm serial: <filter> rev: CC9F scheme: GPT
Partition: ID-1: / raw-size: 94.43 GiB size: 94.43 GiB (100.00%) used: 30.69 GiB (32.5%)
           fs: btrfs dev: /dev/sdb2 maj-min: 8:18
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 6.7 MiB (2.7%)
           fs: vfat dev: /dev/sdb1 maj-min: 8:17
           ID-3: /home raw-size: 94.43 GiB size: 94.43 GiB (100.00%) used: 30.69 GiB (32.5%)
           fs: btrfs dev: /dev/sdb2 maj-min: 8:18
           ID-4: /var/log raw-size: 94.43 GiB size: 94.43 GiB (100.00%) used: 30.69 GiB (32.5%)
           fs: btrfs dev: /dev/sdb2 maj-min: 8:18
           ID-5: /var/tmp raw-size: 94.43 GiB size: 94.43 GiB (100.00%) used: 30.69 GiB (32.5%)
           fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
           ID-1: swap-1 type: partition size: 17.11 GiB used: 0 KiB (0.0%) priority: -2
           dev: /dev/sdb3 maj-min: 8:19
           ID-2: swap-2 type: zram size: 15.55 GiB used: 0 KiB (0.0%) priority: 100
           dev: /dev/zram0
Sensors:   System Temperatures: cpu: 58.1 C mobo: N/A gpu: nvidia temp: 61 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:      Processes: 288 Uptime: 3h 59m wakeups: 0 Memory: 15.55 GiB used: 3.06 GiB (19.6%)
           Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1383
           lib: 406 Shell: fish v: 3.3.1 running-in: alacritty inxi: 3.3.05

@NoName1337
If you include terminal outputs in your post, please use the proper output format in your post.
Using "~" 3 times above and "~" 3 times below the text block will provide a readable, raw look.

I much happier with 5.13 Cacule. I will test 5.14 rc2 later today with the new dkms driver. hopefully it works.

1 Like

thank you both for your help and time

1 Like

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