Skip to content

Issues building on Wayland #7

@smkenyon

Description

@smkenyon

When running on Wayland, bun run tauri build fails with:

failed to bundle project `failed to run linuxdeploy`
       Error failed to bundle project `failed to run linuxdeploy`
error: script "tauri" exited with code 1

The development build is more descriptive - bun run tauri dev:

Gdk-Message: 14:51:53.115: Error 71 (Protocol error) dispatching to Wayland display.
error: script "tauri" exited with code 1

I can fix this by setting the WEBKIT_DISABLE_DMABUF_RENDERER environment variable:

WEBKIT_DISABLE_DMABUF_RENDERER=1 bun run tauri dev

and I can get the IDE to display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions