Repository navigation
DOR2 Static Recomp v0.1.8 (launcher power/crash fix)
DOR2 Static Recomp v0.1.8 (launcher power/crash fix)
Launcher-only change. The game runner, the controller work and the memory-card
work from v0.1.7 are unchanged and still included.
Fixed: launcher used a full CPU core while idle ("very power heavy")
Cause. The launcher asked SDL for the software renderer first
(SDL_CreateRenderer(window, "software")) and only fell back to the GPU renderer
if that failed - which it never does. Every launcher run therefore rasterised the
whole window on the CPU (scaled background bitmap + translucent overlay + all
ImGui geometry) with no usable vsync, so the redraw loop ran as fast as the CPU
allowed.
Measured on this machine (same window, idle, 12 s sample):
| Build | Renderer | CPU cores while idle |
|---|---|---|
| v0.1.7 | software | 0.97 |
| v0.1.8 | direct3d11 | 0.03 |
Fix.
- The GPU renderer is now created first; the software renderer is kept only as a
last-resort fallback for machines without a usable GPU driver (and says so in
the log). - Vsync is requested on the real renderer; if the backend does not take it, the
loop is hard-capped to 60 fps, so an idle menu can never spin a core. - The launcher now writes
Logs\launcher.lognext to your game config
(%LOCALAPPDATA%\DOR2Recomp\Logs\launcher.logfor a normal install, or
<install>\Logs\launcher.logfor a portable one) with the renderer, vsync state
and SDL messages. The report we received had no log at all; every future one
will.
launcher: log opened (SDL 3.4.4)
[info] Created renderer: direct3d11
[ui] renderer=direct3d11 vsync=off (capped to 60 fps)
The reported launcher crash
Not reproduced here: the launcher ran idle for 23 s before the fix and for 12 s
after it (both fresh builds, GPU + software paths), and closed cleanly every
time; the machine used for the report has no log to work from. What changed that
can plausibly matter: the CPU now spends ~3 % of one core instead of a full core
in the launcher, which removes sustained heat/power on the exact machine class
reported (Ryzen 7 3700X + RTX 2080), and a crash now leaves
Logs\launcher.log behind. If it still crashes, send that file - it names the
renderer and the last SDL operation.
Stutter / long load times (measured, not fixed)
From the runner's own automation timeline on this machine (JIT core, 3x, fresh
shader cache):
| Time | fps | frames presented |
|---|---|---|
| t+32 s | 5.4 | 122 (first frames, shader compilation) |
| t+40 s | 59.90 | 1048 |
| t+48 s | 59.94 | 2005 |
| t+80 s | 59.94 | 5817 |
So the first boot after an install spends roughly half a minute compiling
shaders before it reaches full speed; after that the frame rate sits flat at
59.94 with no pacing dips in the counters (2853 frames over 80 s, speed 1.0).
That is a one-time shader-compile cost, not streaming stutter - deleting
Cache\Shaders or installing a new driver makes it happen again. Warm-cache
load time was not separately timed, and no in-game asset-streaming stall was
observed in these runs; if a player still sees hitches mid-match, the log plus
the scene is what we need.
Unchanged from v0.1.7
Xbox/8BitDo/PlayStation layout fixes, profile=kept when no pad is present,
DualSense Edge / Xbox Elite support, and the raw memory card in slot A with an
empty slot B (GC/MemoryCardA.<region>.raw, 16,777,216 bytes).
Package
dist\DOR2StaticRecomp-v0.1.8-Windows-x64.zip- SHA-256 and verification details in the release body (
SHA256SUMS.txtasset).