You are not logged in.
kernel: 6.17.6arch1-1
gpu: RTX 5060 nvidia gpu
wm: Hyprland
i recently update my system with
```pacman -Syu```
the kernel updated to 6.17.6 and the nvidia-open-dkms update to 580.98.05(previously 580.82.09)
and it failed which led many unwanted behaviour in my system like:
constant screen freezing, kernel panics.
(for now i switched to linux-lts with no nvidia drivers)
output when dkms updated
dkms install --no-depmod nvidia/580.95.05 -k 6.17.6-arch1-1
Error! Bad return status for module build on kernel: 6.17.6-arch1-1 (x86_64)
i checked the build log and found out that gcc is failing to compile the open-dkms drivers for the kernel version 6.17.6
currently im on linux-lts. but i can utilize my gpu which older drivers doesnt support the gpu.(it doesnt detect the device)
so far i've ran:
hyprland nvidia setup (which worked before the update)
pacman -Syu
dkms autoinstall
i even rolled back to nvidia-dkms instead of open one but it doesnt detect my current gpu.
Last edited by nilpointer (2025-11-04 08:54:32)
Offline
moderators my bad this is my first time posting can it be moved to kernel index
Offline
Mod note: Moving to Kernel Issues.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
i checked the build log and found out that gcc is failing to compile the open-dkms drivers for the kernel version 6.17.6
Offline
i checked the build log and found out that gcc is failing to compile the open-dkms drivers for the kernel version 6.17.6
Yeah, so much is kinda implied by the dkms error already.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Why are you not using https://archlinux.org/packages/extra/x8 … idia-open/ ?
Online
nilpointer wrote:i checked the build log and found out that gcc is failing to compile the open-dkms drivers for the kernel version 6.17.6
Offline
i checked the build log and found out that gcc is failing to compile the open-dkms drivers for the kernel version 6.17.6
Yeah, so much is kinda implied by the dkms error already.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855Why are you not using https://archlinux.org/packages/extra/x8 … idia-open/ ?
im using nvidia-open which has nvidia-open-dkms (this is failing)
Offline
nvidia/libspdm_hkdf.c:158:1: internal compiler error: in pop_scope, at c/c-decl.cc:1442
158 | }
| ^
0x24cc3b1 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag () [1], diagnostic_t)
???:0
0x2520a98 internal_error(char const, ...)
???:0
0x6e84f9 fancy_abort(char const*, int, char const*)
???:0
0x6fc5c4 pop_file_scope()
???:0
0x80e2da c_common_parse_file()
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues for instructions.
make[5]: *** [/usr/lib/modules/6.17.6-arch1-1/build/scripts/Makefile.build:287: nvidia/libspdm_hkdf.o] Error 1Is the system in any way overclocked?
Offline
nvidia/libspdm_hkdf.c:158:1: internal compiler error: in pop_scope, at c/c-decl.cc:1442 158 | } | ^ 0x24cc3b1 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag () [1], diagnostic_t) ???:0 0x2520a98 internal_error(char const, ...) ???:0 0x6e84f9 fancy_abort(char const*, int, char const*) ???:0 0x6fc5c4 pop_file_scope() ???:0 0x80e2da c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues for instructions. make[5]: *** [/usr/lib/modules/6.17.6-arch1-1/build/scripts/Makefile.build:287: nvidia/libspdm_hkdf.o] Error 1Is the system in any way overclocked?
yes the ram has been overclocked but this was way before from the current update
Offline
https://archlinux.org/packages/extra/x8 … idia-open/
Undo all overclocking, make sure you're not running OOM (do you have a swap partition or file) and try again - it's possible that you're hitting some gcc bug but extremely unilkely.
Alternatively
# command: 'make' -j12 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.17.6-arch1-1 modulescut back on the parallel jobs - try 8
Online
https://archlinux.org/packages/extra/x8 … idia-open/
Undo all overclocking, make sure you're not running OOM (do you have a swap partition or file) and try again - it's possible that you're hitting some gcc bug but extremely unilkely.
Alternatively# command: 'make' -j12 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.17.6-arch1-1 modulescut back on the parallel jobs - try 8
thanks seth, i'll undo the overclocking and try again. as for swap partion yes i have a 4gb swap partition.
Last edited by nilpointer (2025-11-04 07:39:44)
Offline
The overclocking was the issue. the drivers finally build and its working. weird that was the problem anyways we can close this issue. thanks everyone
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online