-
Notifications
You must be signed in to change notification settings - Fork 2k
Cannot compile against nvidia drivers in the container #103
Comments
|
Thanks for the fast reply. Yes, Could this library be provisioned by nvidia-docker? |
Unfortunately, we do not have stubs for the video libraries: You would have to rely on dynamic dispatching (aka
|
Thanks for the quick support. After a few trial and error, I found that I tried installing the However, after I provision the devices myself and installed the same driver, the error disappeared and I was able to run the example in the container. |
Please don't do that, the problem is elsewhere.
If you want to try the NvEnc sample, you would have to remove |
I tired with your solution and it worked! Now, I am able to run the For example, the GStreamer NVENC plugin specifies that it needs Thanks for helping investigate the issue and hope the two oversights could be fixed soon. |
Closing since this issue is now partly fixed with the addition of the |
Currently, the provisioned nvidia-driver volume only includes the driver library files (e.g. libnvidia-opencl.so.352.93) and runtime symbolic link (e.g. libnvidia-opencl.so.1 -> libnvidia-opencl.so.352.93). This allows binary programs using nvidia drivers to run without a problem.
However, when compiling programs against nvidia driver libraries. The linker is looking for the .so file (e.g. libnvidia-opencl.so) to link against, which cannot be achieved in current volume configuration.
Could nvidia-docker also make these .so symbolic links when provisioning the volume? So that we can compile programs in the container in case people want to use the container as a development/debugging environment.
Thanks!
The text was updated successfully, but these errors were encountered: