ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

[Bluetooth] - Repeated connection attempts can cause bluetoothd / Steam to break. #11463

Open ZereoX opened 1 week ago

ZereoX commented 1 week ago

Your system information

Please describe your issue in as much detail as possible:

Attempting to connect repeatedly to multiple Bluetooth devices can cause the Bluetooth service (bluetoothd) to break or Steam to soft-reset. From the two devices I've tested on, the behaviours were different, but repeatable on each. On a LCD, Steam soft reset as a result of multiple Bluetooth connection attempts. On an OLED, Steam remains responsive, but Bluetooth no longer functions (systemctl shows the service failed or if it was still running any actions would return org.bluez.Error.Busy).

Video
LCD

https://github.com/user-attachments/assets/7b5c9c84-f6c2-40f2-835e-e537e2d5d988

OLED (after the reproduction)

https://github.com/user-attachments/assets/4a35d1fe-c441-4151-9279-04343dcc22a8

Steps for reproducing this issue:

  1. Navigate to Steam > Settings > Bluetooth.
  2. Toggle Show all devices to on.
  3. Navigate to an entry under Available to Pair.
  4. Press A on the selected device and continue pressing A.
  5. You can also spam all available devices which can speed up the repro

Reproduction Rate: 5/5, but can take from just a few to many, many connection / cancel attempts.

Affected Platforms

Note: Bluetooth devices are not managed by Steam in Desktop Mode or on Desktop.

Actual result

Expected result

Notes