mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 11:29:58 -04:00
56 lines
4.7 KiB
Markdown
56 lines
4.7 KiB
Markdown
Draft notes for the release after 0.7.1. The version number is not decided yet.
|
|
|
|
## Faster
|
|
|
|
- **AMD cards: about a fifth more frames in open areas, and more even frame times.** The game asks the video card
|
|
which objects are visible, about a hundred questions a frame in Hyrule Field, and waits for a frame to be finished
|
|
on the card before it lets the next one start. The answers were fetched one call at a time, on the thread that also
|
|
reports "finished", and on AMD's Windows driver each of those calls goes into the kernel: every frame was reported
|
|
finished about 4 ms late, with every thread of the game waiting. They are now fetched a few hundred at a time.
|
|
Standing in Hyrule Field on an RX 7900 XT (driver 26.10.1, 3440x1440, FSR): 53 fps instead of 45, and the longest
|
|
frame of a minute 46 ms instead of 55 (`oq_batch = 0` in `nx2navi.ini` brings the old readback back).
|
|
- **No more frames drawn one present late.** The game signals from the CPU when a frame's data is written, and its
|
|
render thread submits the frame's commands without waiting for that signal. When the signal came a millisecond or
|
|
two after the submit call, in about every other frame in Hyrule Field, the frame was set aside and drawn at its
|
|
present, and frames of 23 and 15 ms took turns. The submit call now waits for the signal, 10 ms at most
|
|
(`gate_wait_ms`): 54.5 fps instead of 53 in the same place and the longest frame 33 ms instead of 46; with
|
|
`vk_recorder = 1`, which AMD cards do not have on by default, 58.6 fps.
|
|
|
|
## New
|
|
|
|
- **Add to Steam** in Customize Launcher (Windows): the game joins your Steam library as *The Legend of Zelda Ocarina
|
|
of Time*, with Navi as its icon, the title screen's moonlit field as its background and cover, and the game's logo,
|
|
all made from your own game files when you select the row. Playing it from Steam starts the game straight away,
|
|
without the launcher. Steam closes for a moment while the shortcut is written and starts again with it.
|
|
|
|
## Fixed
|
|
|
|
- Black and white blocks on AMD RX 5000 and RX 6000 cards: on Navi and on Link next to her, on bright floors near her,
|
|
and on the bright outdoors seen through a door or window from inside a house. Every float colour a shader writes is
|
|
checked for NaN, so that one bad pixel cannot spread through the blur and bloom passes; those checks, and the
|
|
game's own NaN tests in nearly nine of ten shaders, are float comparisons that a shader compiler may decide can
|
|
never be true. The Windows driver for these cards uses AMD's older shader compiler (the log reads "AMD proprietary
|
|
shader compiler"); with it each NaN test is now made on the bits of the number instead, which no compiler can drop.
|
|
It is on by default only with that driver (`vk_nan_bits`); the first start after the update compiles the pipelines
|
|
again. Untested on those cards before this release: please report whether the blocks are gone.
|
|
- The older installer's last step no longer writes `nx2navi.ini` again as a whole to set the language: it changes the
|
|
`lang` line and keeps every other byte (it turned Windows line ends into Unix ones and dropped a byte order mark).
|
|
|
|
## Changed
|
|
|
|
- **AMD RX 5000 and RX 6000 cards: the faster copy-back of 0.7.1 is off by default again.** 0.7.1 turned it on for
|
|
every card on Windows (what the game's shaders write is copied back from the video card once, and then only when
|
|
the game's CPU code touches it). None of us has one of these cards, their Windows driver is a branch of its own,
|
|
and one report from an RX 6600 lost its video device a few minutes into play with it on. We found no fault in the
|
|
code and cannot say it was the cause, so until someone has run it there the old copy-back at the end of every GPU
|
|
submission is the default with that driver; open areas run slower for it, as they did in 0.7.0. `wb_lazy = 1` in
|
|
`nx2navi.ini` turns it on: if you try it, tell us whether the game stays up, with the log. NVIDIA cards and AMD's
|
|
RX 7000 and RX 9000 cards keep it on. The log says which is in effect and why ("mem: lazy write-back ...").
|
|
- **A line in `nx2navi.ini` that is no setting of this version is pointed out.** Such a line does nothing; the game
|
|
only wrote "unknown key" into its log. The log now lists them in one line at the start, beside a line with every
|
|
setting the file does set, and the settings menu shows them in its bottom row. An update or a rebuild never rewrites
|
|
`nx2navi.ini`, and the menu keeps such lines when it saves, so nothing has to be added again after an update.
|
|
- When the game ends with a fatal error or a crash, the end of the log names the video card, its driver, the memory
|
|
mode, whether the lazy write-back was on (with its armed ranges, its fetches so far and one in progress) and the
|
|
texture detail, so a report that holds only the last lines of a log still says them.
|