Repository navigation
Add a Steam Frame diagnostics script - #5
Merged
Merged
Conversation
Launcher/frame-diagnostics.sh collects the newest run logs and crash files, Config.toml, the install, SteamVR logs and OpenXR runtime, GPU/Vulkan info and system state from the Frame over SSH into one .tar.gz, with a summary.txt that checks the README's startup steps. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Si2P8og5nXduJ4xdh9GzG
Whether the game is running, the executable's date when the log has no version, and why the pacing section is empty. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Si2P8og5nXduJ4xdh9GzG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Mitch · project thread
Before: debugging a problem on the Frame meant SSHing in and fetching
console.log, crash files,Config.toml, SteamVR logs and system info by hand, one at a time.After:
Launcher/frame-diagnostics.sh --frame steamos@<frame-ip>(or--frame frame, or--frame localon the Frame) collects all of it over a single SSH connection into oneframe-diagnostics-<time>.tar.gz. It includes asummary.txt, which is also printed at the end, showing which README startup steps the newest run reached, any crash files, the end of the log and the last pacing lines.The bundle contains:
--runs N),Config.toml, the install folder (executable hash, date andlddoutput), and a check that the disc is present and is RMCP01. The disc itself is never copied.vr*.txtlogs (the last 4 MB of each),steamvr.vrsettingsand the active OpenXR runtime.vulkaninfo, the Vulkan ICDs and layers, the SteamOS version, memory, thermals and CPU clocks, the kernel log for this boot and the previous one, andcoredumpctloutput.mem1.binwith--with-memory, and the newest core dump with--with-core.How: a collector script is sent to the Frame over
ssh … bash -s. It writes into a temporary folder, streams the tar back on stdout and removes the folder. A tool that is missing or hangs (each command has a 30 s timeout) is recorded in its file and does not stop the run. It uses the sameXDG_DATA_HOMEandportable.txtrules asRuntimeConfigFile::ApplicationDataDirectory()to findConfig.tomlandLogs. The README's Troubleshooting section gets a short pointer to the script.Tested on a Steam Frame running SteamOS 0.4.3 (Adreno 750, Mesa 26.3): every section was collected and all nine startup steps were detected. Also tested against a fake home folder in local mode, through a stand-in
ssh, and viacurl | bash. Shellcheck is clean, including on the embedded collector.🤖 Generated with Claude Code
https://claude.ai/code/session_012Si2P8og5nXduJ4xdh9GzG
Generated by Claude Code