The NVIDIA CDI hook fails with ERROR_LIB_RM_VERSION_MISMATCH
Description:
It seems the new CDI hook (#1 (closed)) doesn't work as expected (or at least it produces some annoying error messages):
I forgot to copy the output but here is the relevant part from pacman.log
:
[2024-04-19T16:38:58-0700] [ALPM] running 'nvidia-ctk-cdi.hook'...
[2024-04-19T16:38:59-0700] [ALPM-SCRIPTLET] time="2024-04-19T16:38:59-07:00" level=error msg="failed to generate CDI spec: failed to create device CDI specs: failed to initialize NVML: ERROR_LIB_RM_VERSION_MISMATCH"
It appears that the hook requires the loaded nvidia driver to match the NVML library version, which is impossible during driver updates.
I'm not actively using the package so I don't know if the error affects usability.
Additional info:
- package version(s): 1.15.0-1