Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Version file format change with open source NVIDIA drivers #186

Open
phirsch opened this issue Dec 26, 2024 · 0 comments
Open

Error: Version file format change with open source NVIDIA drivers #186

phirsch opened this issue Dec 26, 2024 · 0 comments

Comments

@phirsch
Copy link

phirsch commented Dec 26, 2024

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.

phirsch added a commit to phirsch/nixGL that referenced this issue Dec 27, 2024
…closes nix-community#186).

Adapts the version matching logic to accommodate version strings in newer open source NVIDIA kernel driver modules as described in nix-community#186.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant