NvRmMemInitNvmap failed with Permission denied

I am currently using the nvcr.io/nvidia/l4t-tensorrt:r8.4.1-runtime docker container and trying to calibrate some stuff using TensorRT. This worked fine in the past when I used the 8.4.0 container, but now I am getting:

NvRmMemInitNvmap failed with Permission denied
549: Memory Manager Not supported
****NvRmMemInit failed**** error type: 196626
*** NvRmMemInit failed NvRmMemConstructor

Any ideas? The user upping the docker container is in the docker group, etc…

Hi,

Do you run on the container on the Jetson Orin?

If yes, could you share the JetPack you used with us?
Is the Jetson OS different when testing the 8.4.0 and 8.4.1 containers?

Thanks.

Hello,

To answer your questions:

  • Yes, this is running in the container (based on l4t-tensorrt:r8.4.1-runtime) on Orin

  • I did a clean re-flash of the Orin with “JetPack 5.0.2 (rev. 1)”

  • “Is the Jetson OS different when testing the 8.4.0 and 8.4.1 containers?” Yes, when I had it working with 8.4.0 it was using JetPack 5.0.1…

Thank you!

I’m still verifying, but it looks like this was due to the fact that my docker container user needed to be a member of the groups video and i2c . Does that make sense? Are there any other groups that I should ensure my container user is a member of?

Thanks.

Hi,

When you launched the container, did you add --runtime nvidia?
If not, please give it a try.

Thanks.

I am running this using docker-compose, but I can verify that I have:

runtime: nvidia

In the file…

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

Hi,

We want to reproduce this issue internally.
Could you share the source or command to reproduce this issue?

Thanks.