Issues with running navsim_navigate on terminal

Issues faced when runing navsim_simulation, it will eventually return the error: 2020-07-09 20:34:07.979 PANIC engine/core/buffers/algorithm_cuda.cpp@55: Could not copy memory. Error: 38

My Configuration:
Ubuntu 18.04.4 LTS on a PC( GTX 1650) with Isaac SDK 2020.1
Kernel 5.3.0-62-generic
NVIDIA driver 440
CUDA Version 10.0.326

Post with similar issue: Isaac SDK Simulation launch fails with Could not copy memory Error 38

2 Likes

the solutions from the previous post with similar issues does not work however, the issue remains even after downgrading the kernel to 4.15

1 Like

I am having the same issue, I noticed that the similar post was using the 2019 SDK and that may be why the solution does not work for the 2020.1 SDK.

On my computer this error happens after suspend. Full restart helps me.

I’m facing the same issue. Did you manage to solve the problem?

EDIT:
In my case, it was the problem of nvidia-drivers not finding the graphics card. Trying nvidia-smi returned the folowing:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

This was because the MOK (Machine Owner Keys) was protecting the NVIDIA graphics card from being enrolled. So I disabled secure boot altogether to solve this problem. Disabling secure boot can be done by going into BIOS settings during booting. For example by pressing F12 keys during boot of a DELL system will work.

Now nvidia-smi returns the following:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.05    Driver Version: 455.23.05    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| 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  Quadro RTX 3000     On   | 00000000:01:00.0 Off |                  N/A |
| N/A   55C    P8     5W /  N/A |    543MiB /  5934MiB |      4%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1258      G   /usr/lib/xorg/Xorg                 49MiB |
|    0   N/A  N/A      1351      G   /usr/bin/gnome-shell               54MiB |
|    0   N/A  N/A      1559      G   /usr/lib/xorg/Xorg                186MiB |
|    0   N/A  N/A      1743      G   /usr/bin/gnome-shell              115MiB |
|    0   N/A  N/A     20357      G   gnome-control-center               26MiB |
|    0   N/A  N/A     22379      G   ...AAAAAAAAA= --shared-files      107MiB |
+-----------------------------------------------------------------------------+

Also, make sure to add the path where CUDA is located to your .bashrc like this:

PATH=/usr/local/cuda/bin:$PATH
LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}