Failed to set the CUDA device -1 running Isaac Sim

[Error] [carb.gym.plugin] Sim CUDA device 0 can’t be set, the total number of available devices is -1
[Error] [carb.gym.plugin] Gym cuda error: unknown error: …/…/…/source/plugins/carb/gym/impl/Gym/GymCuda.h: 110
[Error] [carb.gym.plugin] Failed to create primary CUDA context

This error occurs after the computer sleep and wakeup, and can only be solved by restarting the computer.

±----------------------------------------------------------------------------+
| NVIDIA-SMI 470.161.03 Driver Version: 470.161.03 CUDA Version: 11.4 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:0B:00.0 On | N/A |
| 0% 40C P5 20W / 170W | 2254MiB / 12050MiB | 32% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1532 G /usr/lib/xorg/Xorg 1497MiB |
| 0 N/A N/A 1807 G /usr/bin/gnome-shell 468MiB |
| 0 N/A N/A 56690 G /usr/lib/xorg/Xorg 101MiB |
| 0 N/A N/A 499930 G …AAAAAAAAA= --shared-files 2MiB |
| 0 N/A N/A 506802 G …RendererForSitePerProcess 80MiB |
| 0 N/A N/A 653242 G …RendererForSitePerProcess 19MiB |
±----------------------------------------------------------------------------+

Hi @hardy3663

I’m not sure if it has anything to do with this, but from your comment, the driver version does not meet the minimum requirement:

https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/requirements.html#driver-requirements

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