ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Add a check for whether ADB is open or not when Launching SteamVR

Open 0JXI0 opened this issue 10 months ago • 1 comments

ADB will continue running when SteamVR crashes and prevents ALVR from connecting to SteamVR properly, giving this message along with it. If ADB is found running when the Launch SteamVR button is pressed it should be closed.

Image

0JXI0 avatar Mar 07 '25 22:03 0JXI0

I get this error now regardless of if adb is running or not before launch, turning mic streaming off doesn't help either. If I kill adb and steamvr and try to click 'restart steamvr' in alvr that doesn't work either same error. The only way I can get it to work is to turn off wired mode, click restart steamvr and wait for it to connect THEN turn wired mode on. ADB starts up and I can connect to the headset fine

rubjonny avatar Apr 09 '25 10:04 rubjonny

I've reproduced and fixed this issue.

Root cause: ADB cleanup only ran when wired mode was enabled, so zombie ADB processes persisted after mode switches.

Solution: Remove the conditional check and always kill zombie ADB on launch.

See PR #3088 for details and testing.

Stavdel avatar Nov 05 '25 04:11 Stavdel