Hyrule Field lighting switches between the dawn/day lighting and a dark night lighting for seconds at a time (reproducible, RTX 5080) #1011
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#1011
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hookshot version
Source build of main
32df58e(v2.0.5-32) with #922, #761 and #850 merged locally (also seen before them). First log line:hookshot v2.0.5-32-gd2a9123.What kind of problem
Graphics (missing, black or wrong-coloured things, lighting, flicker)
What happened
quarter of a second an orange haze, then a dark blue night lighting that stays, and later back. The camera and Link's position do not change across the switch (screenshot: four frames ~0.25 s apart). Not one-frame flashes like #570/#382: each state holds for seconds. Lichii at the same spot with the same save does not do it.
It reproduces exactly with scripted input from the same save (headless,
HOS_INPUT_LIVE: walk 6 s, turn right, walk 6 s, turn left, walk 6 s): the mean picture luma climbs as the light rises (38 -> ~80) and then drops to ~38 at the same moment of the walk in every run.Ruled out with the same scripted walk (each one still switches to the dark lighting at the same moment):
EDEN_F32_ADD_TRACK=0EDEN_NX2_GM_LEGACY=0(the port on)RX_VK_OCC_FIXED=100000000andRX_VK_OCC_FIXED=-1RX_VK_NO_EVICT=1(no texture retired in that run)RX_VK_COMPUTE_WAIT=1RX_VK_WAIT_GPU=1: one run without the switch, a second run with it, so at most partlyRX_VK_NO_READBACK_WAIT=1(more jitter, as the old exposure flicker, but the same switch) andRX_VK_READBACK_NO_CATCHUP=1state (time of day?): its change of lighting comes out wrong here.
What differs between a bright frame and a dark one (
RX_VK_DRAW_STATSjust before and just after the switch):8686eb7324f84d66(grid 3 1 1) runs only in the bright frame; computee9f65cf0e8f4b953is dispatched 6 times in the bright frame and 4 times in the dark oneSo it looks as if the game decides on the CPU to stop its sun/lighting updates, maybe from a GPU result it reads back.
Where in the game
Hyrule Field near the path towards the ranch, around dawn (game time). Same save every run.
How often
Every time
Graphics card and driver version
NVIDIA RTX 5080, driver 621.14
CPU, RAM and operating system
Intel i9-13900K, 32 GB DDR5, Windows 11 Pro
Changes from the defaults
None in the scripted runs (headless). While playing: DLSS (#850) on or off, Hookshot frame generation on; it happens either way.
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
hookshot_log-lighting-snap.txt
Screenshots or video
Before you send it
Thanks for the scripted repro and the draw-stat comparison. Linking this to the lighting tracker #1004.
Thanks for the report. Reports of the same problem are now collected in #1004, which lists this one with your details and links back here, so one fix closes them together and the open list stays readable. Follow #1004 for the fix, and add new details there (or here). If this turns out to be a separate problem it will be reopened.