FS#79306 - nvidia-dkms 535.86.05-2 breaks with linux 6.4.8-arch1-1 kernel

Attached to Project: Arch Linux
Opened by salim (salimp2009) - Sunday, 06 August 2023, 10:59 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 August 2023, 22:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
the lates linux 6.4.8 breaks nvidia-dkms package. I have been using it for 8 months with Hyprland. After doing regular update with pacman -Syu and rebooting, I could not start hyprland; I start Hyprland from tty but it just falls back to tty without getting into Hyprland. I also looked at the crash report that Hyprland generates

The crash happened after updating kernel. I did not update Hyprland. Later I also updated Hyprland but the result did not change.

I had to downgrade the kernel to linux 6.4.7 and then everything works.

I have not tried nvidia-open-dkms or nvidia-open or nvidia packages . Those have later versions . Maybe updating nvidia-dkms package to a later version might resolve the issue.



```sh
Additional info:
* nvidia-dkms 535.86.05-2
* Release: 6.4.8-arch1-1
* hyprland-nvidia-git
--------------------------------------------
Hyprland Crash Report
--------------------------------------------
"stable"

Hyprland received signal 11 (Segmentation fault)

Version: 46cf4eb837c39255f24fa32b5a740c28ce1a324f
Tag: v0.28.0-6-g46cf4eb8

System info:
System name: Linux
Node name: deskmach
Release: 6.4.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 03 Aug 2023 16:02:01 +0000

GPU:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2070] [10de:1f02] (rev a1) (prog-if 00 [VGA controller])


os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo



Backtrace:
#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x7f9) [0x55623b6ab969]
??
??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x44) [0x55623b63eb64]
??
??:0
#2 | /usr/lib/libc.so.6(+0x3e710) [0x7f739ba3e710]
??
??:0
#3 | /usr/lib/gbm/nvidia-drm_gbm.so(+0x152fb) [0x7f73948152fb]
??
??:0
#4 | /usr/lib/gbm/nvidia-drm_gbm.so(+0x155c8) [0x7f73948155c8]
??
??:0
#5 | /usr/lib/libgbm.so.1(+0x4e19) [0x7f739c0ade19]
??
??:0
#6 | /usr/lib/libgbm.so.1(gbm_create_device+0x61) [0x7f739c0afab1]
??
??:0
#7 | /usr/lib/libwlroots.so.12032(wlr_egl_create_with_drm_fd+0x1e0) [0x7f739c656430]
??
??:0
#8 | /usr/lib/libwlroots.so.12032(wlr_gles2_renderer_create_with_drm_fd+0x10) [0x7f739c659e30]
??
??:0
#9 | /usr/lib/libwlroots.so.12032(+0x37fdb) [0x7f739c653fdb]
??
??:0
#10 | /usr/lib/libwlroots.so.12032(+0x56d6c) [0x7f739c672d6c]
??
??:0
#11 | /usr/lib/libwlroots.so.12032(wlr_drm_backend_create+0x232) [0x7f739c66d2f2]
??
??:0
#12 | /usr/lib/libwlroots.so.12032(+0x4e255) [0x7f739c66a255]
??
??:0
#13 | /usr/lib/libwlroots.so.12032(wlr_backend_autocreate+0x50e) [0x7f739c66a9ce]
??
??:0
#14 | Hyprland(_ZN11CCompositor10initServerEv+0xcb) [0x55623b64ea6b]
??
??:0
#15 | Hyprland(main+0xaa2) [0x55623b62e082]
??
??:0
#16 | /usr/lib/libc.so.6(+0x27cd0) [0x7f739ba27cd0]
??
??:0
#17 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f739ba27d8a]
??
??:0
#18 | Hyprland(_start+0x25) [0x55623b63ea05]
??
??:0


Log tail:
[LOG] Node name: deskmach
[LOG] Release: 6.4.8-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Thu, 03 Aug 2023 16:02:01 +0000


[LOG] GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2070] [10de:1f02] (rev a1) (prog-if 00 [VGA controller])


[WARN] Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
```
[LOG] ========================


Steps to reproduce:
- update to kernel 6.4.8
- use nvidia-dkms 535.86.05-2
- try to start any desktop environment or tiling windows managers
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 08 August 2023, 22:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Monday, 07 August 2023, 05:12 GMT
> Hyprland received signal 11 (Segmentation fault)

If hyprland is crashing it's the fault of hyprland and should be reported to the hyprland developers. They will undoubtedly prefer a backtrace containing debug symbols [1]

> hyprland-nvidia-git

Sorry, but AUR pkgs are not supported here.

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces
Comment by Toolybird (Toolybird) - Tuesday, 08 August 2023, 22:37 GMT
Temporarily re-opening to highlight the fact that the Arch 6.4.8 kernel added a patch and config option due to  FS#73720 

Downstreams (e.g. hyprland on Nvidia) might need to adapt.

Loading...