Skip to content

sutible environment configuration. #8

Open
@AlexZhangUPUPUP

Description

@AlexZhangUPUPUP

I try many times,but can not find sutible environment configuration.
Can you show your environment configuration?

My environmjent is RTX4090, NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4.
Everytime I use this commend: python scripts demo_random_action.py --env TwoArmThreading,
there always bugs about mojoco rendering(EGL, osmesa and others) althogth I follow the steps in document one by one.

`torch) (torch) root@hlnekfnfpdqwernn-snow-f7b6c6979-g6jmw:/ai_project/dexmimicgen/scripts# python demo_random_action.py --env TwoArmThreading
[robosuite INFO] Loading controller configuration from: /ai_project/robosuite/robosuite/controllers/config/robots/default_panda.json (composite_controller_factory.py:121)
libEGL warning: 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)

libEGL warning: 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)

Traceback (most recent call last):
File "/ai_project/dexmimicgen/scripts/demo_random_action.py", line 72, in
env = robosuite.make(
File "/ai_project/robosuite/robosuite/environments/base.py", line 42, in make
return REGISTERED_ENVS[env_name](*args, **kwargs)
File "/ai_project/dexmimicgen/dexmimicgen/environments/two_arm_threading.py", line 64, in init
super().init(
File "/ai_project/dexmimicgen/dexmimicgen/environments/two_arm_dexmg_env.py", line 20, in init
super().init(*args, **kwargs)
File "/ai_project/robosuite/robosuite/environments/manipulation/manipulation_env.py", line 172, in init
super().init(
File "/ai_project/robosuite/robosuite/environments/robot_env.py", line 221, in init
super().init(
File "/ai_project/robosuite/robosuite/environments/base.py", line 161, in init
self._reset_internal()
File "/ai_project/dexmimicgen/dexmimicgen/environments/two_arm_dexmg_env.py", line 96, in _reset_internal
super()._reset_internal()
File "/ai_project/robosuite/robosuite/environments/robot_env.py", line 519, in _reset_internal
super()._reset_internal()
File "/ai_project/robosuite/robosuite/environments/base.py", line 340, in _reset_internal
render_context = MjRenderContextOffscreen(self.sim, device_id=self.render_gpu_device_id)
File "/ai_project/robosuite/robosuite/utils/binding_utils.py", line 214, in init
super().init(sim, offscreen=True, device_id=device_id, max_width=max_width, max_height=max_height)
File "/ai_project/robosuite/robosuite/utils/binding_utils.py", line 81, in init
self.gl_ctx = GLContext(max_width=max_width, max_height=max_height, device_id=self.device_id)
File "/ai_project/robosuite/robosuite/renderers/context/egl_context.py", line 123, in init
raise ImportError(
ImportError: Cannot initialize a EGL device display. This likely means that your EGL driver does not support the PLATFORM_DEVICE extension, which is required for creating a headless rendering context.
Exception ignored in: <function MjRenderContext.del at 0x7fbf2a6f97e0>
Traceback (most recent call last):
File "/ai_project/robosuite/robosuite/utils/binding_utils.py", line 198, in del
self.con.free()
AttributeError: 'MjRenderContextOffscreen' object has no attribute 'con'`

here are some other bugs
https://ml5ytn9rra.feishu.cn/docx/AOFVdZGFuoUfchxk0ztcScjCnSf?from=from_copylink

can you help me thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions