Failed to launch Isaac Lab

I am using Ubuntu 22.04 with GeForce 4080. Running nvidia-smi, shows me this.

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.171.04             Driver Version: 535.171.04   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| 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  NVIDIA GeForce RTX 4080 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   44C    P4              N/A /  50W |     10MiB / 12282MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2332      G   /usr/lib/xorg/Xorg                            4MiB |
+---------------------------------------------------------------------------------------+

I have been following Isaac Sim and Isaac Lab installation guide here.

I could do the Installation using Isaac Sim Binaries part to install Isaac Sim 4.0.0 (from Omniverse) and Isaac Lab without any problem.

Now, I tried to verify my installation as explained in this page. I could verify my Isaac Sim installation perfectly: either by using ${ISAACSIM_PATH}/isaac-sim.sh or ${ISAACSIM_PYTHON_EXE} -c "print('Isaac Sim configuration is now complete.')" and ${ISAACSIM_PATH}/standalone_examples/api/omni.isaac.core/add_cubes.py. Isaac Sim could launch perfectly.

However, I could not launch Isaac Lab. When I run any of the two commands listed below (I run it at the top of the cloned repository) exactly as the guide told me.

# Option 1: Using the isaaclab.sh executable
# note: this works for both the bundled python and the virtual environment
./isaaclab.sh -p source/standalone/tutorials/00_sim/create_empty.py

# Option 2: Using python in your virtual environment
python source/standalone/tutorials/00_sim/create_empty.py

This is how the error looks like. Does it seem to be something with LibGL?

(isaaclab) rawin@predator-ph16-71:~/Documents/IsaacLab$ python source/standalone/tutorials/00_sim/create_empty.py
[WARN][AppLauncher]: There are no arguments attached to the ArgumentParser object. If you have your own arguments, please load your own arguments before calling the `AppLauncher.add_app_launcher_args` method. This allows the method to check the validity of the arguments and perform checks for argument names.
[INFO][AppLauncher]: Loading experience file: /home/rawin/Documents/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/../../../../../../apps/isaaclab.python.kit
Starting kit application with the following args:  ['/home/rawin/Documents/IsaacLab/_isaac_sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py', '/home/rawin/Documents/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/../../../../../../apps/isaaclab.python.kit', '--/app/tokens/exe-path=/home/rawin/Documents/IsaacLab/_isaac_sim/kit', '--/persistent/app/viewport/displayOptions=3094', '--/rtx/materialDb/syncLoads=True', '--/rtx/hydra/materialSyncLoads=True', '--/omni.kit.plugin/syncUsdLoads=True', '--/app/renderer/resolution/width=1280', '--/app/renderer/resolution/height=720', '--/app/window/width=1440', '--/app/window/height=900', '--/renderer/multiGpu/enabled=True', '--/app/fastShutdown=True', '--ext-folder', '/home/rawin/Documents/IsaacLab/_isaac_sim/exts', '--ext-folder', '/home/rawin/Documents/IsaacLab/_isaac_sim/apps', '--/renderer/activeGpu=0', '--/physics/cudaDevice=0', '--portable', '--/app/window/hideUi=False']
Passing the following args to the base kit application:  []
[Info] [carb] Logging to file: /home/rawin/.local/share/ov/pkg/isaac-sim-4.0.0/kit/logs/Kit/Isaac-Sim/4.0/kit_20240627_021503.log
2024-06-26 17:15:03 [0ms] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available.
[0.032s] [ext: omni.kit.async_engine-0.0.0] startup
[0.217s] [ext: omni.stats-0.0.0] startup
[0.218s] [ext: omni.client-1.1.0] startup
[0.235s] [ext: omni.datastore-0.0.0] startup
[0.236s] [ext: omni.blobkey-1.1.0] startup
[0.236s] [ext: omni.ujitso.default-1.0.0] startup
[0.236s] [ext: omni.hsscclient-0.0.0] startup
[0.237s] [ext: omni.rtx.shadercache.vulkan-1.0.0] startup
[0.237s] [ext: omni.assets.plugins-0.0.0] startup
[0.238s] [ext: omni.gpu_foundation-0.0.0] startup
[0.244s] [ext: carb.windowing.plugins-1.0.0] startup
[0.251s] [ext: omni.kit.renderer.init-0.0.0] startup
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  240
  Current serial number in output stream:  240

I need to find a way to launch it successfully. Could anyone help me solve how I could launch Isaac Lab?

Thank you very much in advance

I already found a solution here. libGL error Anaconda Navigator Launch Ubuntu 22.04 · Issue #12889 · ContinuumIO/anaconda-issues · GitHub

It only needed to run conda install -c conda-forge libstdcxx-ng before launching Isaac Lab.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.