jeasinema / egl-docker

A customized docker for headless GPU rendering without host-side configuration
11 stars 1 forks source link

vglrun issues: Could not load library libcudnn_ops_infer.so.8 #1

Closed kolbytn closed 1 year ago

kolbytn commented 2 years ago

Hello, I'm trying to get this docker container working for minerl. I can successfully run my code in a container on my desktop without vglrun, and it doesn't seem too slow. Also running vglrun /opt/VirtualGL/bin/glxspheres64 outputs the below as expected:

Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x11 (8/8/8/0)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: NVIDIA GeForce RTX 3090/PCIe/SSE2
623.867694 frames/sec - 696.236347 Mpixels/sec
617.556154 frames/sec - 689.192668 Mpixels/sec

However, when I try to run my script prepended with vglrun, I get the below error:

Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
Please make sure libcudnn_ops_infer.so.8 is in your library path!

Any help would be appreciated. Thanks!

kolbytn commented 1 year ago

Just ended up manually adding the required package from where pip installed it to $LD_LIBRARY_PATH.