Skip to content

CDI Spec Generation is missing driver libraries #1215

@elezar

Description

@elezar

See NVIDIA/k8s-dra-driver-gpu#446 where certain driver libraries are reported as missing when generating CDI specifications. The issue is specifically focussed on a GKE driver installation which may mean that the libraries are in different locations, but these are also driver libraries that are not covered by our strategy of including everything that has a driver version suffix.

libEGL.so.1.1.0, libGL.so.1.7.0, libGLESv1_CM.so.1.2.0, libGLESv2.so.2.1.0, libGLX.so.0, libGLdispatch.so.0, libOpenCL.so.1.0.0, libOpenGL.so.0, libnvidia-api.so.1, libnvidia-egl-xcb.so.1.0.0, libnvidia-egl-xlib.so.1.0.0

We should compare these libraries with a driver manifest and ensure that they are explicitly added to the list of discovered libraries if required.

For example, the 575.64.05 manifest shows:

libOpenCL.so.1.0.0 0755 OPENCL_WRAPPER_LIB NATIVE / MODULE:gpgpu
libOpenCL.so.1.0 0000 OPENCL_WRAPPER_SYMLINK NATIVE / libOpenCL.so.1.0.0 MODULE:gpgpu
libOpenCL.so.1 0000 OPENCL_WRAPPER_SYMLINK NATIVE / libOpenCL.so.1.0 MODULE:gpgpu
libOpenCL.so 0000 OPENCL_WRAPPER_SYMLINK NATIVE / libOpenCL.so.1 MODULE:gpgpu

indicating that the libOpenCL.so.1.0.0 (and it's related symlinks) should be included in the container. (note that adding the libOpenCL.so.1.0 symlink to the chain could be considered out of scope for this issue, but should be considered as a separate issue then).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions