Losing Bluetooth connection

If i play games via Steam, i play via a Bluetooth Headset. Randomly the audio stops during gaming and it seem that i lost the BT connection to the headset. The mouse is fine, it is also connected via Bluetooth.

If i look at the messages for bluetooth.service, i see the following messages:

Feb 29 17:24:11 lenovo bluetoothd[493]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Feb 29 17:24:17 lenovo bluetoothd[493]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Feb 29 17:24:24 lenovo bluetoothd[493]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Feb 29 17:24:33 lenovo bluetoothd[493]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Feb 29 17:24:46 lenovo bluetoothd[493]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Feb 29 17:25:07 lenovo bluetoothd[493]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down

On the other hand, outside of steam gaming, i dont have this issue. I can play music fine without loosing the audio for hours.

Any idea what causes this issue?

Could range from bad adapter not made for continuous heavy streams to bad driver implementation. Try with some other bluetooth dongle, preferably the one implementing latest standard, as they might have better internal data transmission implementation.

The adapter is build into the Laptop. I never used a dongle for Bluetooth. I have no idea, how to find out which Bluetooth Adapter is build in to the laptop and if this particular device makes trouble or if there are know issues with it.

Is there some small dongle, which is nearly invisible, which you can recommend?

Paste your inxi -E output.

Yes, but… it’s not branded in particular:


could even be thinner:

No idea about the cause - just an idea how to possibly gain more information about the reasons / symptoms:

The moment this is happening, you could have a peek into the system log

journalctl -r

It lists the current system log in reverse order and you can scroll down to go back in time.

Of course the same will also be in in the full log or in older logs, but perhaps not so easy to find.

Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
Mär 05 20:51:07 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:51:03 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:51:01 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:57 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:51 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:47 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:45 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:29 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:23 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:19 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:17 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:13 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:07 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:03 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:50:01 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:57 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:51 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:47 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:44 lenovo kernel: rtw_8821ce 0000:07:00.0: timed out to flush queue 2
Mär 05 20:49:44 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:41 lenovo kernel: rtw_8821ce 0000:07:00.0: timed out to flush queue 2
Mär 05 20:49:39 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:35 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:31 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:28 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state
Mär 05 20:49:25 lenovo kernel: rtw_8821ce 0000:07:00.0: firmware failed to leave lps state

That is about a problem with the firmware of a wireless device not coming out of a low powered state, if I’m not mistaken.
Perhaps something can be changed with USB power saving settings?

Often, the Wlan and Bluetooth is combined in one card.
I have read something about Bluetooth coexistence and module parameters to change that, but really:
I know nothing about that or how to address this.

I can only think of reading through this Arch wiki article and/or through this.

Or look for advice on the driver module for your wireless card. :man_shrugging: