Skip to content

wayland/crash in multi seat environments: wl_seat.get_keyboard called when no keyboard capability has existed #12237

Closed as not planned

Description

@chronically-late

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

31.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/Ts1vu4WH78k0mrX3

OBS Studio Crash Log URL

No response

Expected Behavior

I expected OBS to listen on all available seats or look for a seat with a keyboard attached.

Current Behavior

OBS tries to start, picks a seat(my seat for touch and tablet tool input in this case) and exits since there is no keyboard attached to the seat:

wl_seat#56: error 0: wl_seat.get_keyboard called when no keyboard capability has existed
info: All scene data cleared
info: ------------------------------------------------
warning: The Wayland connection experienced a fatal error: Protocol error

Steps to Reproduce

On wayland/swaywm (wlroots based compositors):

  1. Create an additional seat for touch/tablet input that does not have a keyboard attached
    This shows that I have only 2 devices attached to the second seat, none of them are a keyboard.
% swaymsg -t get_seats --raw                                                                                                     [12:09:09]
[
  {
    "name": "tablet0",
    "capabilities": 5,
    "focus": 13,
    "devices": [
      {
        "identifier": "1386:20757:Wacom_HID_5115_Finger",
        "name": "Wacom HID 5115 Finger",
        "type": "touch",
        "libinput": {
          "send_events": "disabled",
          "calibration_matrix": [
            1.0,
            0.0,
            0.0,
            0.0,
            1.0,
            0.0
          ]
        },
        "vendor": 1386,
        "product": 20757
      },
      {
        "identifier": "1386:20757:Wacom_HID_5115_Pen",
        "name": "Wacom HID 5115 Pen",
        "type": "tablet_tool",
        "libinput": {
          "send_events": "disabled",
          "accel_speed": 0.0,
          "accel_profile": "none",
          "calibration_matrix": [
            1.0,
            0.0,
            0.0,
            0.0,
            1.0,
            0.0
          ]
        },
        "vendor": 1386,
        "product": 20757
      }
    ]
  },
  {
    "name": "seat0",
    "capabilities": 3,
    "focus": 7,
    "devices": [
      { ...
  1. Try to start OBS

Anything else we should know?

Arch Linux:

  • Swaywm 1.10.1 / wlroots 0.17

Tested on: Thinkpad X1 Tablet Gen 2 and Thinkpad T14 with a Wacom One graphics tablet.

I can get OBS to start by removing the second seat and attaching touch and pen input to seat0, but that is really annoying to work with.

The OBS log file is missing the following line: wl_seat#54: error 0: wl_seat.get_keyboard called when no keyboard capability has existed which only appears in the console, so I've also attached the complete log from console.

obs_console_output.txt

Activity

  1. tytan652 commented on Jun 2, 2025

    @tytan652
    Collaborator

    Not our issue, it is on Qt.

  2. chronically-late commented on Jun 2, 2025

    @chronically-late
    Author

    OK, OBS is the only QT application I'm having that problem with, I'll look into it and report it upstream if necessary.

  3. added a commit that references this issue on Jun 20, 2025
    0f1c937
  4. chronically-late commented on Oct 15, 2025

    @chronically-late
    Author

    @tytan652 It is an OBS issue, here is the original QT report: https://bugreports.qt.io/browse/QTBUG-137374

    There are 2 pending pull requests that fix it:

    There has been no activity in 3 month. Please reopen this.

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