nixGL
nixGL copied to clipboard
Error: Version file format change with open source NVIDIA drivers
On Ubuntu 24.04 with the nvidia-driver-565-open driver, cat /proc/driver/nvidia/version yields
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 565.57.01 Release Build (dvs-builder@U16-A24-9-2) Thu Oct 10 12:15:00 UTC 2024
GCC version: gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
This causes the regex in versionMatch = builtins.match ".*Module ([0-9.]+) .*" data; to no longer match (due to the inserted for x86_64) and thus the build to fail.
Additional info:
The module's version string is generated here, where TARGET_ARCH is derived from uname -a (unless overridden), so typical expected values after the for would be aarch64, armv7l, mips, mips64, ppc, ppc64, s390x, sparcv9, x86, x86_64, i.e. single words.