Skip to content

[BUG] Computer tool reports a 0x0 display on Linux X11 in purego release builds #1303

Closed

Description

@edenreich

Summary

In release builds (-tags purego) the Computer tool cannot see the screen on
Linux X11. robotgo's purego build compiles its Wayland backend on Linux
(wayland_n.go: linux && (wayland || purego) && !libei && !x11); the X11
backend needs the x11 tag. GetScreenDimensions returns 0x0 on an X11
session, so every action fails with "no usable display (reported 0x0)". The
README says X11 is supported.

Found while adding RecordStart/RecordStop (#1293), which
avoids this by reading the X11 screen size directly with jezek/xgbutil.

Steps to Reproduce

  1. Build the CLI with -tags purego (as release.yml and task build do)
  2. On a Linux X11 session, set INFER_COMPUTER_USE_ENABLED=true
  3. Ask the agent to take a screenshot with the Computer tool

Expected Behavior

The screenshot (and the pointer and keyboard actions) work on X11, as the README
documents.

Actual Behavior

The Computer tool reports no usable display (0x0) because robotgo talks to the
Wayland backend.

Activity

  1. added
    bug
    on Sep 24, 2026
  2. added theissue type on Sep 24, 2026
  3. moved this to Todo in 2026on Sep 24, 2026
  4. added a commit that references this issue on Sep 25, 2026
    5eb4a45
  5. moved this from Todo to Done in 2026on Sep 25, 2026
  6. inference-gateway-releaser commented on Sep 25, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.208.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions