2025-02-11, 02:25 AM
The issue is that the container doesn't have access to the Nvidia GPU drivers.
You need to figure out how to pass that into the container.
You also need to double check if you did the steps outlined in the Truenas release notes to install the Nvidia drivers (as they are not included by default anymore).
If you can't figure that out, you need to go ask for help on how to do so on the Truenas forums: https://forums.truenas.com/
Code:
[AVHWDeviceContext @ 0x55ac4704b180] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x55ac4704b180] Could not dynamically load CUDA
Device creation failed: -1.
Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
Error parsing global options: Operation not permitted
You need to figure out how to pass that into the container.
You also need to double check if you did the steps outlined in the Truenas release notes to install the Nvidia drivers (as they are not included by default anymore).
If you can't figure that out, you need to go ask for help on how to do so on the Truenas forums: https://forums.truenas.com/