You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bluetoothctl devices hangs forever when there's no Bluetooth adapter (pre-flight and launcher window) #6
Without a Bluetooth adapter, bluetooth.service doesn't start (ConditionPathIsDirectory=/sys/class/bluetooth), and bluetoothctl waits for bluetoothd forever. Two places are affected:
The pre-flight in launch-steamvr.sh stops at the controller check (line 179; the cleanup at line 99 has the same call). Line numbers as of 39b1e48.
The DriverKit window starts bluetoothctl devices again and again (launcher-gui/src/main.rs, line 565); one of them was still waiting after more than 5 hours.
Suggestion: wrap the calls in timeout 3 bluetoothctl ..., and report "no Bluetooth adapter" when /sys/class/bluetooth is missing.
Sorry for skipping the bug report form. Here are the logs and the form fields.
Logs:issue6-logs.tar.gz: launcher-repro-20261201.txt, a fresh run of the current launcher (39b1e48) against a D-Bus without bluetoothd; the launcher logs of two runs from 2026-11-30, before my USB Bluetooth adapter worked; and bluetoothctl-repro.txt with what I saw then. Serial, addresses and my user name in paths are replaced.
What happens
Without a Bluetooth adapter, bluetooth.service doesn't start (ConditionPathIsDirectory=/sys/class/bluetooth), and bluetoothctl devices then waits for bluetoothd forever. The launcher runs it without a timeout:
Today, current launcher: I started kit/launch-steamvr.sh from a terminal with DBUS_SYSTEM_BUS_ADDRESS pointing to a private system bus without bluetoothd (so I didn't have to take my adapter out). Pre-flight stopped after [ok] Steam is running; 30 s later bluetoothctl devices was still running under it (process tree in launcher-repro-20261201.txt).
Pre-flight (launch-steamvr.sh line 179 at 39b1e48): launcher-steamvr-20261130-151103.log ends right after [ok] Steam is running; the next check is the Bluetooth one. In an earlier run that day, ps showed bluetoothctl devices under launch-steamvr.sh for 4:55 min.
After SteamVR exits, controllers_off (line 99): launcher-steamvr-20261130-203413.log collected the logs at 20:52:46 and was still in controllers_off when I rebooted at 21:15:39, 23 minutes later. The reboot's SIGTERM wrote the last lines: Interrupted, stopping SteamVR... and the shell's message for the killed pipeline (Beendet = Terminated).
The DriverKit app runs the same command without a timeout too (launcher-gui/src/main.rs line 565).
Steps to reproduce
No Bluetooth adapter (or sudo systemctl stop bluetooth, or the private D-Bus from launcher-repro-20261201.txt)
Start SteamVR from DriverKit
Pre-flight stops after [ok] Steam is running
Possible fix: timeout 3 bluetoothctl ... (coreutils), or skip the Bluetooth checks when /sys/class/bluetooth is empty. bluetoothctl's own --timeout 3 also ends the wait, but it always takes the full 3 s, even when bluetoothd answers; with coreutils timeout a normal call still takes a few ms.
Where it happens: SteamVR (the launcher script) Version: v0.3 AppImage, Compile Driver on 2026-12-01 (39b1e48); the two launcher logs are from 2026-11-30, lines 99 and 179 are unchanged since Distribution, desktop and session type: CachyOS (kernel 7.3.6), niri 26.04, Wayland; no toolbox/distrobox Hardware: Intel Arc A770 16 GB on xe (Mesa 26.3.1), AMD Ryzen 9 3900X; Bluetooth now TP-Link UB500
OK fixed with a time out check for Bluetooth, then it will proceed. To go to compile tab, check to make sure latest commits are available first, then recompile and test.
Activity
David581 commentedon Dec 1, 2026
Sorry for skipping the bug report form. Here are the logs and the form fields.
Logs:
issue6-logs.tar.gz:launcher-repro-20261201.txt, a fresh run of the current launcher (39b1e48) against a D-Bus without bluetoothd; the launcher logs of two runs from 2026-11-30, before my USB Bluetooth adapter worked; andbluetoothctl-repro.txtwith what I saw then. Serial, addresses and my user name in paths are replaced.What happens
Without a Bluetooth adapter,
bluetooth.servicedoesn't start (ConditionPathIsDirectory=/sys/class/bluetooth), andbluetoothctl devicesthen waits for bluetoothd forever. The launcher runs it without a timeout:kit/launch-steamvr.shfrom a terminal withDBUS_SYSTEM_BUS_ADDRESSpointing to a private system bus without bluetoothd (so I didn't have to take my adapter out). Pre-flight stopped after[ok] Steam is running; 30 s laterbluetoothctl deviceswas still running under it (process tree inlauncher-repro-20261201.txt).launcher-steamvr-20261130-151103.logends right after[ok] Steam is running; the next check is the Bluetooth one. In an earlier run that day,psshowedbluetoothctl devicesunder launch-steamvr.sh for 4:55 min.controllers_off(line 99):launcher-steamvr-20261130-203413.logcollected the logs at 20:52:46 and was still incontrollers_offwhen I rebooted at 21:15:39, 23 minutes later. The reboot's SIGTERM wrote the last lines:Interrupted, stopping SteamVR...and the shell's message for the killed pipeline (Beendet= Terminated).The DriverKit app runs the same command without a timeout too (
launcher-gui/src/main.rsline 565).Steps to reproduce
sudo systemctl stop bluetooth, or the private D-Bus fromlauncher-repro-20261201.txt)[ok] Steam is runningPossible fix:
timeout 3 bluetoothctl ...(coreutils), or skip the Bluetooth checks when/sys/class/bluetoothis empty. bluetoothctl's own--timeout 3also ends the wait, but it always takes the full 3 s, even when bluetoothd answers; with coreutilstimeouta normal call still takes a few ms.Where it happens: SteamVR (the launcher script)
Version: v0.3 AppImage, Compile Driver on 2026-12-01 (39b1e48); the two launcher logs are from 2026-11-30, lines 99 and 179 are unchanged since
Distribution, desktop and session type: CachyOS (kernel 7.3.6), niri 26.04, Wayland; no toolbox/distrobox
Hardware: Intel Arc A770 16 GB on
xe(Mesa 26.3.1), AMD Ryzen 9 3900X; Bluetooth now TP-Link UB500issue6-logs.tar.gz
mkooner commentedon Dec 1, 2026
OK fixed with a time out check for Bluetooth, then it will proceed. To go to compile tab, check to make sure latest commits are available first, then recompile and test.