# IsaacLab Troubleshooting ## CPU usage Sometimes, IsaacLab uses all the CPU cores and crash the machine. If that happens, you can limit the CPU cores in use by `taskset`. For example, if you want to use 0,1,2,3 cores, you can run: ```bash taskset -c 0,1,2,3 python ... # your script ``` ## GLXBadFBConfig If you meet the following error: ``` X Error of failed request: GLXBadFBConfig Major opcode of failed request: 150 (GLX) Minor opcode of failed request: 0 () Serial number of failed request: 136 Current serial number in output stream: 136 ``` You can try to run: ```bash export MESA_GL_VERSION_OVERRIDE=4.6 ``` Or ```bash export MESA_GL_VERSION_OVERRIDE=4.5 ``` ## Occupied GPU memory If you interrupt the process, the GPU memory may not be released because **the forked process is not killed**. You need to manually kill it by running: ```bash pkill -9 pt_main_thread && pkill -9 python ``` ```{note} This will risk killing other python processes. ``` ## No Space left on device If you meet `Failed to create change watch for ... No space left on device`, it doesn't really matter. You can simply ignore it, or change your system setting by running `echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf` or just simply restart the system. ## libGLU problem If you are running on a server in headless mode, and meet `Failed to open /.../iray/libneuray.so: libGLU.so.1: cannot open shared object file: No such file or directory`, try: ```bash sudo apt-get update sudo apt-get install libglu1-mesa ``` ## Bad rendering quality If you get the rendered image with severe aliasing artifacts, it could be very tricky bugs either in IsaacLab, IsaacSim or CUDA. We saw this bug in some machines, but couldn't reproduce it on other machines, and find no way to debug. If you unfortunatedly get into this bug, we recommand you to use other machines and try again. Or, using docker may help. ## Stuck at `OmniGraphSettings::getCudaDeviceOrdinal: unable to get a valid CUDA device id from the renderer.` Please refer to [this issue](https://github.com/isaac-sim/IsaacLab/issues/987). ## Shared libraries not found ``` OSError: libGL.so.1: cannot open shared object file: No such file or directory. ``` This issue arises from the absence of required dynamic libraries. Please install the necessary dynamic libraries for IsaacLab. ```bash sudo apt-get install libgl1-mesa-glx libsm6 libxt6 libglu1-mesa ``` ## Numpy version ``` Error: partially initialized module 'numpy.core.arrayprint' has no attribute 'array2string'. ``` The RoboVerse-IsaacLab is sensitive to numpy version, currently it only supports for `numpy < 2`. Please install the `numpy < 2`. ```bash pip install numpy==1.26.4 ``` ## Unexpected keyword argument 'owner' ``` TypeError: array.\_\_init\_\_() got an unexpected keyword argument 'owner' ``` This seems a bug in the omni library function. The corresponding file is: ``` /home/anaconda3/envs/roboverse/lib/python3.10/site-packages/isacsim/extscache/omni.replicator.core-1.11.20+186.1.8.1x64.r.cp310/omni/replicatorcore/scripts/utils/annotator_utils.py ``` Delete the `owner` parameter in corresponding function (line 341) in the `annotator_utils.py` file.