[Python] I there a way to turn off open3D logging when rendering in headless mode?

Discussão em 'Python' iniciado por Stack, Agosto 19, 2025.

  1. Stack

    Stack Membro Participativo

    I try to render a scene with open3d using o3d.visualization.rendering.OffscreenRenderer

    But whenever I call renderer.render_to_image() I get this output

    [Open3D INFO] EGL headless mode enabled.
    FEngine (64 bits) created at 0x2fa3d850 (threading is enabled)
    EGL(1.5)
    OpenGL(4.6)


    I tried to set:

    o3d.utility.set_verbosity_level(o3d.utility.VerbosityLevel.Error)


    Which disabled the [Open3D INFO] EGL headless mode enabled. line

    I even tried setting

    sys.stdout = open(os.devnull, 'w')
    sys.stderr = open(os.devnull, 'w')


    Which disabled my tqdm output from somewhere else but not the FEngine, EGL and OpenGL lines

    How can I stop this from happening?

    Continue reading...

Compartilhe esta Página