Skip to content

[Linux] Voltip 0.2.1 在 GNOME Wayland 下启动即退出:Explicit Sync / Error 71 #228

Closed

Description

@neilzhang618

问题描述

安装 amd64 .deb 包后,启动 Voltip 约 1 秒便自动退出,可以重复复现。预期应正常显示主窗口并保持运行。

环境

  • Voltip:0.2.1,amd64 .deb
  • 系统:Ubuntu 26.04.1 LTS,x86_64
  • 内核:7.0.0-38-generic
  • 桌面:GNOME Shell 50.1,Wayland 会话
  • 显卡:NVIDIA GeForce RTX 3060(内核驱动 nouveau,Mesa NVK)+ Intel UHD Graphics 770(内核驱动 i915)
  • Mesa:26.0.8(Ubuntu 包版本 26.0.8-1ubuntu0.3)
  • GTK 3:3.24.52
  • WebKitGTK 4.1:2.52.6(Ubuntu 包版本 2.52.6-0ubuntu0.26.04.1)

复现步骤

  1. 登录 GNOME Wayland 会话。
  2. 确保没有运行中的 Voltip,且没有设置 GDK_BACKEND=x11 等兼容参数。
  3. 使用安装包默认的应用图标启动,或直接运行 /usr/bin/voltip-desktop。
  4. 程序约 1 秒后退出;终端测试退出码为 1。

关键日志

默认启动时输出:

Error 71 (Protocol error) dispatching to Wayland display.

开启 WAYLAND_DEBUG=client 后,退出前捕获到:

wl_surface#42.attach(wl_buffer#46, 0, 0)
wl_surface#42.commit()
wl_display#1.error(wp_linux_drm_syncobj_surface_v1#57, 2, "Explicit Sync only supported on dmabuf buffers")
Error 71 (Protocol error) dispatching to Wayland display.

以上为相关日志节选,省略了中间的其他协议事件。GNOME Shell 同时记录了 WL: error in client communication。

临时解决办法及验证范围

使用 X11/XWayland 后可以启动:

GDK_BACKEND=x11 /usr/bin/voltip-desktop

在启动入口加入该环境变量后,从原来的系统 .desktop 文件启动并连续观察 65 秒:进程保持运行、主窗口正常显示,日志未再出现上述协议错误。尚未完整测试语音输入等功能,因此这里只确认启动阶段的差异。

问题似乎与 Wayland explicit-sync/缓冲区交互有关,具体责任组件仍需进一步定位。

Activity

  1. sunerpy commented on Nov 9, 2026

    @sunerpy
    Owner

    可以看看最新版0.3.0是否还有这个问题

  2. neilzhang618 commented on Nov 14, 2026

    @neilzhang618
    Author

    应该是好了,谢谢作者

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions