Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Physx error on contact sensor #1400

Open
supersglzc opened this issue Nov 9, 2024 · 4 comments
Open

[Bug Report] Physx error on contact sensor #1400

supersglzc opened this issue Nov 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@supersglzc
Copy link

Hi,

In my task, I created 10 contact sensors to detect the collision between robot fingers and objects. However, after training around 60M steps, the simulation always crashed with the following error:

2024-11-09 19:44:40 [14,677,396ms] [Error] [omni.physx.plugin] Cuda context manager error, simulation will be stopped and new cuda context manager will be created.

2024-11-09 19:44:40 [14,677,397ms] [Error] [omni.physx.plugin] PhysX error: GPU compressContactStage1 fail to launch kernel stage 1!!, FILE /builds/omniverse/physics/physx/source/gpunarrowphase/src/PxgNarrowphaseCore.cpp, LINE 9566

2024-11-09 19:44:40 [14,677,397ms] [Error] [omni.physx.plugin] Cuda context manager error, simulation will be stopped and new cuda context manager will be created.

2024-11-09 19:44:40 [14,677,397ms] [Error] [omni.physx.plugin] PhysX error: GPU compressContactStage2 fail to launch kernel stage 1!!, FILE /builds/omniverse/physics/physx/source/gpunarrowphase/src/PxgNarrowphaseCore.cpp, LINE 9607

2024-11-09 19:44:40 [14,677,397ms] [Error] [omni.physx.plugin] Cuda context manager error, simulation will be stopped and new cuda context manager will be created.

2024-11-09 19:44:40 [14,677,399ms] [Error] [omni.physx.plugin] PhysX error: Scene state is corrupted. Simulation cannot continue!, FILE /builds/omniverse/physics/physx/source/physx/src/NpScene.cpp, LINE
2876

I am curious if there is a max number of contact sensors I can create or how should I resolve this issue? I am using Isaac sim 4.2 and the newest Isaac Lab.

Thanks!

@RandomOakForest
Copy link
Collaborator

This is due to a known issue the team is currently addressing. Thanks for posting this.

@RandomOakForest RandomOakForest added the bug Something isn't working label Nov 12, 2024
@supersglzc
Copy link
Author

Thanks for the reply. I think this is due to the MultiAssetSpawnerCfg. Once you have two rigid objects that are both using this spawner, the error pops.

@RandomOakForest
Copy link
Collaborator

Thanks. We will look into this.

@linchangyi1
Copy link

Hi @supersglzc, I encountered the same issue and would like to kindly ask if you’ve found any alternative solutions to fix it~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants