Cannot run omni.isaac.gym cartpole_train.py example

Based on “CUDA 11.6 OpenGL interoperability broken?”, I run my python script as “__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia python PROGRAM.py”. Then, the error message regarding OpenGL is gone. However, still the program does not run regardless headless mode is on or off. It stops at the point saying “app ready” or “Simulation App Starting”.

I also tried “sudo prime-select nvidia”. So, I don’t need to put “__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia” to remove the error msg, but still the program is not running…

I also attached the log file. It does not show any “error” message. Maybe few “warning” messages, which, however, I’ve seen when it was actually working.
kit_20221117_133729.log (467.2 KB)