SteamVR-for-Linux icon indicating copy to clipboard operation
SteamVR-for-Linux copied to clipboard

[BUG] Updating Valve Index Base Station crash

Open Dzuelu opened this issue 1 year ago • 2 comments

Describe the bug Got an additional base station for my setup for a total of 3, and when attempting to update through SteamVR it crashes. My 2 other base stations were updated on windows a while ago so they don't need to update. Looks like it may be trying to free some invalid pointer and crashes. Doesn't look like it affects it too bad for now as I can keep retrying the update and it shows up each time.

...
OnContinueBaseStationWirelessUpdate
OnNextBaseStationWirelessUpdate
free(): invalid pointer
crash_20240613182544_2.dmp[40077]: Uploading dump (out-of-process)

To Reproduce Steps to reproduce the behavior:

  1. With new Valve Index Base Station
  2. Startup SteamVR
  3. Update available, go to update, will start update process, and then crash out of SteamVR

Expected behavior To be able to update the base station. :)

System Information (please complete the following information): Please use the latest Steam beta client and SteamVR beta for your bug reports!

  • Steam client version (build number or date): Steam Version: 1716584667 - Fri, May 24 4:48 PM UTC -05:00
  • SteamVR version: Both none and beta versions have the bug
  • Distribution (e.g. Ubuntu): Ubuntu 24.04 LTS
  • Steam runtime diagnostics: attached SteamDiagnostics.txt
  • Steam and SteamVR logs: attached steam-logs.tar.gz
  • Minidumps: attached steam-minidumps.tar.gz

Screenshots n/a

Additional context Add any other context about the problem here. SteamCliOutput.txt SteamDiagnostics.txt SteamSystemInfo.txt steam-logs.tar.gz steam-minidumps.tar.gz

Dzuelu avatar Jun 13 '24 22:06 Dzuelu

Nvm, not being able to update the base station makes it unusable and I have to unplug it to actually play. :(

Dzuelu avatar Jun 13 '24 23:06 Dzuelu

I had a similar issue. I'm not sure if the free(): invalid pointer was anywhere in my system report from Linux, but I do think it was related to your OnNextBaseStationWirelessUpdate bit. I had a new Index kit where the base stations wouldn't update, and if connected to Windows, there was a headset update that also crashed in the same fashion.

After seeing a post from the SteamVR Discussions page suggesting that a fresh install of Windows solved it for them, I actually went out of my way to install Windows on a separate drive. It didn't work. I contacted Steam support for a second time about the issue (this time with a Windows install of my own), and I received this answer that did work:

Before we continue, please disconnect all USB devices from your PC besides your VR hardware, keyboard and mouse. Disconnect all Vive Body Trackers, Decahub hardware and wireless receivers and remove any adapters and extenders if present. Then uninstall all SteamVR addons such as "OVR Advanced Settings" and any other 3rd party OpenVR addons as well, you may also want to review our Programs Which May Interfere with Steam article.

Leave these removed for the remainder of the troubleshooting process.

Please follow these steps: 1. Power cycle your VR hardware; Remove the AC connection for 30 seconds. 2. Reset your SteamVR USB devices from the SteamVR Menu (the three-line button) > Developer > Developer Settings > In the 'Reset' subsection, click "Remove all SteamVR USB Devices." 3. Disable Windows Enhanced Power Management for SteamVR devices from the same menu by clicking on "Disable Power Management." 4. Shut down SteamVR. 5. Disconnect the headset from your PC and reboot your PC. Once your system restarts, proceed to reconnect the headset 6. Start SteamVR again and re-test the issue

This Disable Windows Enhanced Power Management is actually a setting in SteamVR for Linux as well. After disabling it, I noticed that the headset's LEDs stayed green this time. I think the power management was interfering with the wireless updating. It's quite possible that the headset and base stations were entering a different power state while SteamVR was trying to establish the connection, and that was causing SteamVR to crash.

I copied the full support instructions for reference, but I suspect that the Disable Windows Enhanced Power Management setting is sufficient to push the update through on Linux.

Good luck :)

JRDetwiler avatar Jan 15 '25 22:01 JRDetwiler