0.5.2-rc1
The first release candidate for 0.5.2: a test build, not the default download. 0.5.1 stays the recommended version until 0.5.2 is out. Report what breaks, and how the frame rate changed on your PC, in the issues named or in a new one.
Important
rc1: please test the frame rate and memory changes. They are on by default:
- Low memory or a small page file (#1273, #1525): does the frame rate stay at its usual level for the whole session, also with a browser open?
- CPU-limited PCs (4-6 cores, laptops, Steam Deck): the sky islands and towns, frame rate against 0.5.1 at the same settings. The matching settings to switch a change off are named in its line below.
- Linux on Intel Arc (#1226): the Great Sky Island frame rate.
- Hitches when entering new areas or while the shader cache saves: shorter or the same as 0.5.1?
Memory and crashes
- FPS no longer drops to a fraction for a whole session when Windows is short of memory (#1273, #1525). With a small page file or a browser open, the game stopped putting its buffers into video memory and the graphics card read them from system memory on every draw: 20-60 FPS in one session and 60-120 in the next, or 8 FPS on an RTX 4060 Laptop. Now it keeps doing so until 512 MB of system memory is left (
mem_mirror_floor_mib); caches still give way at 1.5 GB as before. Integrated graphics keep the old line. Buffers left in system memory when room ran out (a load, a busy moment) move to video memory once there is room again, a few seconds later, instead of staying there until a restart (mem_mirror_retry). - Game 1.2.1: building an Autobuild blueprint that holds Ganondorf no longer crashes (#571). Blueprints edited to hold an actor (Ganondorf, the Demon King) crashed the game with an access violation at
0x880as soon as A was pressed: the game sets a flag on an object that is not there. That flag is now skipped, as an emulator does, and the build spawns. Normal blueprints are unaffected.autobuild_guard = 0restores the game's code as shipped.
Performance
Frame rate against 0.5.1, same settings and the same route through each scene:
| PC | Scene | 0.5.1 | 0.5.2 |
|---|---|---|---|
| Laptop: Core i7-9750H, GTX 1050 Ti, the game's own resolution (1080p output) | Sky islands | 47 FPS, 1% low 35 | 56 FPS, 1% low 38 |
| A fort | 66 FPS | 73 FPS | |
| Desktop: Ryzen 9 7900X limited to 4 cores, RX 9070, 1080p | Flight over the sky islands | 80 FPS | 93 FPS |
| A fort | 90 FPS | 95 FPS |
On the laptop, frames longer than 25 ms on the sky islands fell by half. The desktop rows measure the shader constant reuse alone (ub_reuse off and on).
- Fewer stalls behind the previous frame's GPU work. With the frame-ahead overlap on (the default), the game and the render thread waited for the GPU to finish a whole frame whenever they touched data that frame's shaders wrote; players' logs showed up to 15 s of such waits in a session and single waits of 30 ms. The game now waits only for the part of the frame that wrote the data, and the render thread does not wait at all: the GPU applies the previous frame's writes when it copies the new data. In a 4K fight on a Ryzen 9 7900X the game's waits fell from 0.73 s to 2 ms and the render thread's from 3.7 s to 0 per 100 s. The frame-rate gain on weaker CPUs is not measured yet.
- Shorter hitches when memory is freed and when the shader cache is saved. Freeing a used block of game memory held up every other thread's GPU work until the GPU went idle (up to 7 ms at a time); now only the freeing thread waits. The pipeline cache autosave no longer holds back pipeline builds while it copies the cache out (up to 55 ms for a 120 MB cache) except on Intel graphics, whose driver crashed without that hold (#681), and it now saves in a quiet moment rather than every 20 s.
pool_fini_marker = 0,pipe_cache_lock = 1andpipe_save_quiet = 0restore the old behaviour. - Object motion for DLSS, FSR 3.1 and frame generation costs less (#1526). The tables it reads for every scene draw now keep neighbouring objects in neighbouring slots. On a Steam Deck with FSR 3.1 a Great Sky Island frame is 0.4 ms shorter; on a Ryzen 9 7900X the code takes 0.45 ms a frame instead of 0.65 ms, too little to show in the frame rate.
mvobj_addr_slot = 0restores the old layout. - Higher frame rate on the sky islands and in towns on CPU-limited PCs. The render thread copied about 10 MB of the game's shader constants a frame, block by block, though most blocks had not changed since their last copy. It now reuses a copy while nothing it came from has changed (about 80% of copies on the islands, 70% in a town). The desktop rows of the table above are this change alone.
ub_reuse = 0restores the old path. - Linux on Intel Arc: no more 15-20 FPS on the Great Sky Island (#1226). Mesa's Intel driver copied a whole block of descriptors on every draw, about half of the render thread's time on an Arc B580. On a discrete Arc under Mesa the game now takes those descriptors from pools instead; integrated Intel graphics and every other GPU are unchanged.
push_stage = vsrestores the old path. The frame rate on the player's machine is not confirmed yet.
Fixes
- A setting changed right before closing the window is kept (#1589). A menu edit is written 0.4 s after it; Alt+F4 or the title bar's close inside that time lost it, and a restart from the menu started with the old file.
- Reset all settings also resets the buttons (#1588). The Advanced tab's reset said it covers every tab but left custom key and gamepad bindings in place.
- Play time is not reset to zero when its file is busy at start (#1566). If
playtime.txtcould not be read (held by a backup or sync tool), the game counted from zero and later overwrote the total; now that session is not counted and the total stays. - The Mods tab offers "Rebuild the game now" after a compiled plugin mod is removed (#1570). When the removal was the only change and the start-up rebuild failed or was cancelled, the button was missing.
- The Amiibo page and the font rebuild no longer stop on a folder read error (#1568).
- Discord Rich Presence keeps working when Discord answers in pieces (#1569).
- Setup repairs its own leftovers (#1549, #1550, #1553). An FSR install cut off after the first library is completed on the next run instead of being kept as half a set; DLSS is offered again after a move to an RTX card or to Windows, or when its library was deleted; replacing the Chinese and Korean fonts no longer deletes the working set when the copy fails.
- Linux: typing a horse name replaces the suggested one (#1551). The name in the text box is selected as on Windows, so typing "Zelda" no longer gives "HorseZeld".
- Long control bindings survive an unrelated Controls edit (#1535, #1519). An action with many keys (35 and up) lost its last keys and its gamepad default when another row was changed, because the saved line was cut at 256 characters; very long binding text also stopped live remapping of later actions until a restart.
- Choosing a key again in Controls keeps the action's other key (#1540). Picking left mouse again for attack deleted its second key, T; a key moved to another action now leaves every action that had it, so it no longer presses the old ones too.
- The soft shadow slider works across its range (#1580). From about 20 percent up every setting gave the widest blur; now 200 percent is the softest and the steps below it differ. With soft shadows off (the default) nothing changes; players who use them get narrower blur at the same percentage, and the old look is about 200 percent (
pcss_k = 0.5brings it back). - The loading window speaks the menu's language (#1527). German, French, Spanish, Italian, Dutch, Japanese, Korean and Vietnamese menus showed it in English.
- Out-of-range numbers in
totk.inifall back to the default (#1539). A huge integer orinfwas taken as a value instead of the setting's default. - With
replay_async = 1the game stays at most one frame ahead of the render thread again (#88). Every texture the game freed (about 40 a frame) counted as a finished frame, so the one-frame limit never held and the game ran up to a frame further ahead, adding up to a frame of input delay. The default (replay_async = 0) is unchanged. - Linux: finished hint generators no longer stay as zombie processes until exit (#1579).
- Input scripts saved with a BOM keep their first line, recordings keep input held until exit, and probes stop at their time limit (#1555, #1556, #1577). Tools for testers; no change in play.
Thanks
- Y1902P03 (#1273) and mikkel98 (#1525) for the logs that showed it.
- arthurhfcardoso for #88.
- ShannoonRuaaa for #1519, #1535, #1539, #1549, #1550, #1551, #1553, #1555, #1556, #1566, #1568, #1569, #1570, #1577, #1579, #1540, #1588 and #1589.
- itaskaev2 for #1527.
- tmarenko for #1526.
- paulo-santana for #1580.
- AbrahamYB for #571 and the fix in #1622.
- IrishBruse (#1226) for the CPU profiles and driver symbols that found the copy, and an2bot for the second Arc report.