Skip to content

Add a Steam Frame diagnostics script - #5

Merged
mitch030504 merged 2 commits into
openxr-workfrom
claude/frame-diagnostics
Oct 5, 2026
Merged

mitch030504 merged 2 commits into
openxr-workfrom
claude/frame-diagnostics

Conversation

@mitch030504

Copy link
Copy Markdown
Owner

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 local on the Frame) collects all of it over a single SSH connection into one frame-diagnostics-<time>.tar.gz. It includes a summary.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:

  • Game: the newest run folders (3 by default; change with --runs N), Config.toml, the install folder (executable hash, date and ldd output), and a check that the disc is present and is RMCP01. The disc itself is never copied.
  • SteamVR: the vr*.txt logs (the last 4 MB of each), steamvr.vrsettings and the active OpenXR runtime.
  • GPU and system: vulkaninfo, the Vulkan ICDs and layers, the SteamOS version, memory, thermals and CPU clocks, the kernel log for this boot and the previous one, and coredumpctl output.
  • Optional: mem1.bin with --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 same XDG_DATA_HOME and portable.txt rules as RuntimeConfigFile::ApplicationDataDirectory() to find Config.toml and Logs. 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 via curl | bash. Shellcheck is clean, including on the embedded collector.

🤖 Generated with Claude Code

https://claude.ai/code/session_012Si2P8og5nXduJ4xdh9GzG


Generated by Claude Code

claude added 2 commits October 5, 2026 12:20
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
@mitch030504 mitch030504 self-assigned this Oct 5, 2026
@mitch030504
mitch030504 marked this pull request as ready for review October 5, 2026 12:38
@mitch030504
mitch030504 merged commit f038958 into openxr-work Oct 5, 2026
2 checks passed
@mitch030504
mitch030504 deleted the claude/frame-diagnostics branch October 5, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants