Repository navigation
Steam Frame beta: device fixes, 120 Hz pacing, README and release - #2
Merged
Merged
Conversation
The README now introduces this repository as the Steam Frame fork of WiiCompiled OpenXR VR: what the fork adds, its untested status, the requirements and build steps, where to report problems, and what it keeps from upstream. docs/steam-frame.md gains the emulated ARM64 container route for building on an x86_64 Linux PC, disc extraction with nodtool and the copy to the Frame, and clones the default branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
…inux A SIGSEGV on the Steam Frame logged only the guest state and 'Host stack trace unavailable on this platform'. With glibc the handler now names the faulting thread, its pc and lr, and a backtrace, each as module + offset for addr2line. The Dawn provider also says when a local package (--dawn-package) replaces the download instead of printing the URL it does not fetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
On the Steam Frame the game crashed in Turnip while Dawn recorded an eye render pass, reading an unmapped address. Turnip reads a density map through a host mapping of its memory taken at bind time, and the maps were sub-allocated from blocks that Dawn's buffer upload fast path maps and unmaps. A dedicated allocation is never mapped or unmapped by Dawn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
On the Steam Frame the full-density region was too small and lagged the eyes. Gaze-centred maps now widen both of the level's rings by 8 degrees, covering a saccade until the next frame's map is bound, the tracker's error and Turnip's per-bin density, and each eye keeps 128 maps instead of 32 so fewer glances wait for an upload. The fixed, forward maps are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
SteamVR on the Steam Frame ran the game at half the 120 Hz display rate, since render-first pacing submits only when a game frame is sealed, and filled every other refresh itself even with Motion Smoothing off, which doubled the HUD and the menu screen while the head turned. With the new [vr] repeat_frames (default on for the Frame, off elsewhere, live), the pacing thread waits a millisecond for the eyes and otherwise spends the refresh on a keep-alive cycle that resubmits the retained layer with its rendered poses, paced by xrWaitFrame. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
The first repeat_frames waited a millisecond for the eyes before spending a refresh on the retained layer, so nearly every packet also cost a needless repeat, the next packet missed the game's next frame, and the Steam Frame showed about 35 new frames a second. The pacing thread now waits until 1.5 ms before the next wake, a period after the last xrWaitFrame returned, which OpenXRRuntime records. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
The README and docs/steam-frame.md now describe the Frame build as a beta that runs on the headset: what works, the recommended settings (render_scale 1.25 is the panels' native 2160x2160), the known issues (doubled images, right-eye foveation), building with Docker on another machine (including registering qemu on hosts whose binfmt_misc is per container), and installing with Frame Control. A frame-* tag now publishes a source-only pre-release with the notes in docs/releases/<tag>.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
Tags cannot always be pushed from where a release is prepared. Run from the Actions tab, the workflow creates the tag on the run's commit through gh release create --target instead of requiring a pushed tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
The checkbox is drawn on every platform, but its variable was declared only under MKW_VR_STANDALONE, so the Windows runtime failed to compile (settings_overlay.cpp: use of undeclared identifier 'g_vrRepeatFrames'). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
Owner
Author
|
CI: The compile error from the first run ( Why this isn't this PR's:
No fix exists upstream as far as this repository shows. The proposed patch adds the symbol to the list; it must come first, since the list is in ascending order and the last entry sizes the text section: [uint32[]]$guestCallbacks = @(
- 0x8012B830L, 0x801A0620L, 0x801A1ED8L, 0x801A961CL,
+ 0x801284B4L, 0x8012B830L, 0x801A0620L, 0x801A1ED8L, 0x801A961CL,
0x801AADE0L, 0x801D8D30L, 0x801D9E94L, 0x8055531CL,
0x8056A470L, 0x8056A580L, 0x805A6C58L
)Generated by Claude Code |
ax_effects.cpp calls the guest function func_801284B4 directly, since upstream commit e7b670b, but the synthetic DOL test never generated a stand-in for it, so its Windows runtime link failed with an undefined symbol. This was hidden on openxr-work, where the workflow had not run. The list now covers every guest function the runtime calls directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
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.
Summary
Follow-up to #1 after the first runs on a real Steam Frame. The native SteamOS build now plays in VR at 2160x2160 per eye, at 120 Hz, with every game frame shown. This PR carries the fixes found on the device, the docs for a beta, and a source-only release workflow.
Fixes from device testing
aurora-main/patches/dawn/aurora_fdm.inc). The game crashed inside Turnip while Dawn recorded an eye render pass.openxr_integration.cpp,openxr_runtime.*,runtime_config.h, settings panel).[vr] repeat_frames, on by default for the Frame and off elsewhere, live in the panel. It resubmits the retained layer with its rendered poses on each refresh the new eyes miss.xrWaitFramereturned, whichOpenXRRuntimenow records.predicted-rate=120.0Hz,new=60 repeat=60,late=0.runtime/src/main.cpp). With glibc the SIGSEGV/SIGBUS handler now logs the faulting thread, its pc and lr, and a backtrace, each as module + offset foraddr2line. This is what located the Turnip crash.aurora-main/lib/gfx/foveation.hpp,aurora.cpp). Gaze-centred maps widen both rings by 8°, and each eye keeps 128 maps instead of 32. The fixed (forward) maps are unchanged.AuroraDawnProvider.cmake). It now says when--dawn-packagereplaces the download, instead of printing the URL it doesn't fetch.Docs and release
render_scale = 1.25is the panels' native resolution, since 1.0 is SteamVR's recommended 1728), known issues, Frame Control install, and reporting.docs/steam-frame.md:POCFflags on hosts whosebinfmt_miscis per container (Unraid);.github/workflows/frame-release.yml: aframe-*tag publishes a source-only pre-release with the notes indocs/releases/<tag>.md.v*tags stay withpackage.yml.Known issues (not fixed here)
Testing
vr_config_tests(including the newrepeat_framescases);vr_eye_gaze_tests,vr_wii_remote_testsandframe_interpolation_pacing_tests;foveation_test, with the centroid case moved to a gaze whose widened region stays inside the eye.main.cpp,openxr_integration.cpp,openxr_runtime.cppandsettings_overlay.cpp.render_scale = 1.25.🤖 Generated with Claude Code
https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
Generated by Claude Code