Skip to content

OBS Flatpack causing issues with some USB devices if they are replugged via hardware KVM #12883

@milochristiansen

Description

@milochristiansen

Operating System Info

Other

Other OS

Manjaro Linux

OBS Studio Version

32.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/BC5MQK9B98m0aKFu

OBS Studio Crash Log URL

No response

Expected Behavior

I expect my mouse and keyboard to continue working when replugged when OBS is running.

Current Behavior

If my mouse is unplugged and replugged while OBS is running the underlying system refuses to recognize it. Rebooting the system will temporarily suppress this behavior, but only for a little while.

This is a massive issue, because swapping to and from my stream machine with a KVM is viewed as unplugging and replugging my mouse. The keyboard is generally unaffected because it is plugged through a HID emulator port, and so the system does not see it fully disappear most of the time. If the keyboard is replugged for any reason the issue will hit it as well.

This behavior only occurs if the device is plugged through the KVM (a tesMART DKS202-M24), and only while OBS is running. Both client systems plugged into the KVM are Manjaro Linux, and both work flawlessly so long as OBS is not running.

Swapping systems with the KVM and physically pulling and reinserting the cable from the port produce the same effect if OBS is running, and once the issue has begun to occur.

Steps to Reproduce

  1. Wait for the issue to begin after a reboot. This may take a few hours or a few days, but it will happen.
  2. Start OBS.
  3. Physically unplug the mouse or KVM swap to a second system
  4. Replug the cable or swap back, the device will not be recognized by the system until OBS is closed and the device is replugged once again.

Anything else we should know?

I would be happy to provide any logs, or run any debug programs needed. This is a very weird issue, and I cannot imagine it would happen to many people. However, there are few things worse than swapping back to my stream machine to ban a bot or make a change to OBS, only to find out that my mouse isn't working.

A reboot does solve the issue for a little while but it does reoccur consistently, which just makes the whole thing weirder.

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