Missing EGL symbols on libcuda.so


I am getting an “undefined symbol: cuGraphicsEGLRegisterImage” on WSL2. Current setup is:

Gpu Driver: 510.06
Cuda version: 11.6
WSL2 version:
WSL2 distro: Ubuntu 20.04
Windows 11

Running “/lib/wsl/lib$ nm -Dg libcuda.so | grep cuGraphics” shows no “cuGraphicsEGL***” symbols even though the cuda version is 11.6 as per 6.34. EGL Interoperability

Is there some way this issue can be resolved?



It is also not available on our MS Azure nodes:
Gpu Driver: 470.57.02
Cuda version: 11.4
Ubuntu 18.04

For anyone stumbling upon this…

I was able to solve the missing symbol by changing it to the WSL driver libcuda.so which DOES contain the symbol

apt-get install patchelf

patchelf --replace-needed libcuda.so.1 /usr/lib/wsl/drivers/nvdmi.inf_amd64_e45696027f3ace82/libcuda.so.1.1 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so

NvInfer now runs on WSL2 without issues.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.