gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

compat32 libs do not work

Open xhejtman opened this issue 4 years ago • 2 comments

as of driver nvcr.io/nvidia/driver:460.73.01-ubuntu20.04, compat32 option does not work as libs are all taken from ld.so.cache from the container. However, the container does not instruct linker to search also /usr/lib32, no 32bit libs are cached and thus not mounted to containers.

this is easy fix to add search for 32bit to the driver container: echo "/usr/lib32" > /etc/ld.so.conf.d/i386-linux-gnu.conf

one more thing remains. nvidia-installer does not provide libGL.so.1 for 32bit libs, so container-cli should link libGL.so.1 to libGLX_nvidia.so.

xhejtman avatar Jul 05 '21 22:07 xhejtman

@xhejtman Thanks for figuring this out. I will work with internal teams to get this addressed.

shivamerla avatar Jul 09 '21 04:07 shivamerla

Thanks. Btw, it would be great if you could support also display option, i.e., include nvidia_drv.so and libglx_nvidia.so, the former is not an easy one as it is ignored by linker.

xhejtman avatar Jul 09 '21 09:07 xhejtman