Repository navigation
Rexglue v0.10.0 - #8
Conversation
The SDK submodule now points at rexglue-sdk v0.10.0 with the rexglue-skate3 fork merged on top and patches/rexglue-sdk.patch folded in as commits, so the patch step is gone. - CMake: stage the rexgpu-xenos GPU plugin (GPU_PLUGINS xenos); Linux presets build with -march=x86-64-v2 like the SDK's own presets. - Runtime config: select the plugin with gpu_plugin = 'xenos'; keep the right stick on the mouse and pin the keyboard binds whose SDK defaults moved in 0.10 (triggers, shoulders, back, right-stick press). - README: SDK description, tool names (rexgluerd, out/mac-arm64), no patch or imgui checkout steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The skate1-v0.10.0 branch lives in Kurtisone/rexglue-skate3; the mchughalex fork does not have these commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SDK now resolves GapFill's pending jumps in one pass; with the fork's per-add jump-list copies, codegen spent over 30 minutes in GapFill on Skate 1. Codegen output is unchanged. The manifest carries the sdk_version stamp codegen writes for 0.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three more codegen hot spots fixed in the SDK (the previous SDK bump only removed part of the GapFill cost): the per-function copy of the known-function set in Discover, GapFill's per-add notification pass, and the quadratic cleanupAbsorbedGapFills. Measured on Linux: Discover 8 min -> 21 s, GapFill 23 min -> 1 s; codegen output is identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… off by default The SDK now hides the Valve hardware Steam Input already virtualizes (a Steam Deck showed up as two players and every press acted twice) and only gates guest input while an interactive overlay is open. The FPS counter is off by default again, as in the 0.2.0 release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SteamOS 3.9 ships librenderdoc, which the SDK loaded on every launch, so RenderDoc's capture overlay showed over the game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Skate has no quit option of its own. The SDK's optional quit dialog is enabled in the runtime config, opened with Escape or the RB+Start chord. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A crash or kill left the 4.5 GB guest memory file in /dev/shm until reboot; once tmpfs filled up the next launch stalled on a black screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hey Kurtisone, I had a look through Skate1Native and it's seriously impressive work. The native D3D renderer, 60 FPS on the Deck, and an Android build running on the Odin 2 are all way beyond where I expected anyone to take this. Thanks for crediting Skate1Recompiled too. A couple of things:
If you'd rather keep Skate1Native as its own project, that's totally fine too. In that case I'd like to point Deck and Android players your way from my README, and we can keep sharing fixes back and forth. Let me know what you think! Simon Generated by Claude Code |
|
Hi Simon, thanks a lot for the kind words, and for the license fix.
Could you tell me which branch you want the PRs against, and whether you want the native renderer in its own directory? Once PR #8 is merged I can start from there. Thanks again! |
|
Thanks, that plan sounds great. PRs against main please, and yes, a separate directory for the native renderer (something like src/native_gpu/) so it stays clear of the SDK path. Our QoL hooks (intro skip, FOV/camera, ultrawide) were never tested, so go ahead with yours and we’ll drop ours where they overlap. One thing I hit testing #8: on a fresh clone, README step 2 fails because CMakeLists includes generated/rexglue.cmake before codegen has run. Could the include be skipped when that file is missing? I’ll post Windows results and let you know when the SDK fork has moved. Tested #8 on Windows (RTX 4070, D3D12): it builds and is stable, but in game it runs at ~30 FPS (≈34 ms/frame, only ~3 ms waiting on vsync), where v0.2.1 holds a steady 60 on the same PC and game files. Vsync off, max frame latency 2 and Vulkan don’t fix it. Build is RelWithDebInfo with perf counters and Tracy off. Also seeing a few XmaContext “input offset 16416 exceeds buffer size 16384” errors. Do you see 60 on the Deck with the 0.10 SDK? I’ll grab a CPU profile of both builds to narrow it down. |
On a fresh clone generated/rexglue.cmake doesn't exist, so the README's configure step failed. Without it, add only the SDK (so the rexglue tool can be built) and stop; reconfigure after codegen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Thanks Simon, that all works for me: PRs against CMake include: fixed and pushed to this PR (488f0b2). When 30 FPS on Windows: I haven't compared 0.10 and 0.2.1 on the same PC. I do get 60 FPS on the Steam Deck, and also on the Odin 2 Portal (Android), but with the native renderer from Skate1Native, not the Vulkan path in this PR, so it doesn't answer your question directly. Your CPU profile of both builds should show where the time goes. If it's in the GPU command thread, tell me which functions and I'll look at what the SDK merge changed there. XmaContext errors: I haven't seen those yet. I'll check whether they also show up on Linux with this branch. Thanks for testing, and let me know when the SDK fork has moved. |
Move to rexglue-sdk v0.10.0
This moves the SDK from the rexglue-skate3 fork (v0.8.0-based,
7eb0faf) torexglue-sdk v0.10.0, keeping everything the fork and this port add.
What changed
SDK submodule — now
Kurtisone/rexglue-skate3, branchskate1-v0.10.0:e8ce24f(v0.8.0+4, thecommit the fork was imported from; trees are identical, so the fork's
history and authorship are kept).
v0.10.0. Where both sides did the same work (themacOS port, SDL input/windowing), upstream's version was taken and the
fork's duplicate dropped; fork features were carried onto the new APIs:
GetDeviceStateUi), menu chord, guest inputgating while overlays are open, rumble filtering and SDL rumble pulses
forced-exit watchdog, display refresh query, Win32 timer/MMCSS setup
gpu_backendselection with fallback, now through theruntime-loaded
rexgpu-xenosplugin; the nrhi shader cache directory isset inside the plugin
vaddswsandfloat16_4pack fixeslow null-offset page, physical invalidation diagnostics, clock fix
patches/rexglue-sdk.patchas a commit (vpkuwus/vpkuhus aliasing — stillpresent in v0.10.0 —,
readback_resolve_force_length, guest backtrace,stock imgui). Its shared-memory and Win32 Alt-key fixes are dropped:
v0.10.0 fixes the first itself and no longer has a Win32 window.
pending function on every added function, and the whole known-function
set for every discovered function; with upstream's quadratic
cleanupAbsorbedGapFills, Skate 1 codegen took 33 minutes. Now 2 minutes(Discover 8 min -> 21 s, GapFill 23 min -> 1 s), output identical file for
file.
when attached (SteamOS 3.9 ships librenderdoc, and its capture overlay
showed over the game); guest input is gated only while an interactive
overlay is open (the FPS counter and v0.10's achievement toast are
permanent dialogs); Steam Input's virtual pad hides the Valve hardware it
stands for.
cdda623cannot befetched from ocornut/imgui).
This repo
rexglue_setup_target(skate1 GPU_PLUGINS xenos): 0.10 moved the Xenos GPUemulation into a runtime-loaded plugin, staged next to the exe.
config/skate1.runtime.toml: FPS counter off by default (as in 0.2.0); a"Quit the game?" dialog on Escape or RB+Start (Skate has no quit option);
gpu_plugin = 'xenos'(without it the gamestarts with no GPU); the right stick stays on the mouse and the binds whose
SDK defaults moved in 0.10 are pinned (triggers, shoulders, back, R3).
-march=x86-64-v2, like the SDK's presets.(
rexgluerd,out/mac-arm64).patches/rexglue-sdk.patchremoved.Behaviour changes to know about
gtk_ui_scale(1.25) is gone with the GTK window, sothe settings UI may look smaller there.
cache_pathis nowcache_rootupstream; the old key isstill read.
Testing
rexgpu-xenosplugin and unittests build; the plugin links with no unresolved symbols. 208/213 unit
tests pass; the 5 failures (4 chrono NT-epoch cases on libstdc++, 1
depfile escape test) are in code identical to v0.10.0.
and plugin build; binaries need at most GLIBC 2.35 / GLIBCXX 3.4.32.
default.xexand a native Linux build of skate1(Ubuntu 22.04 container). Boot smoke test: Vulkan backend comes up
through the plugin, the XEX loads and the game runs without errors.
Skate Libre) and on a Steam Deck (native build, controller)
Opened as a draft until the play test is done.