Game: FATAL corrupt NVN recording at submit after extended play near Lake Hylia (RX 6800) #2406
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#2406
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?
Reported on Discord
Longshot version and channel
Longshot v3.1.1 (source 63363428), stable.
What happened and steps
After about 40 minutes of normal play (~109,600 frames), the game crashed while running around Lake Hylia. There was no stutter or warning beforehand. The log's final status reports 109,560 presents and 40.6 fps; the reporter described a steady 40–47 fps.
Exact fatal output:
Where / frequency
Lake Hylia, running around; one crash after approximately 40 minutes.
GPU and driver
AMD Radeon RX 6800, AMD driver 26.11.2, Vulkan 1.4.
CPU, RAM and OS
6-core CPU, 32 GB RAM, Windows 11.
Settings / controller
2560x1440 output, fullscreen; 8BitDo Ultimate 2 Wireless controller (SDL).
Log
Attached
longshot_log.txtfrom the reporter's Discord post. The log identifies run_id11446f1d16d6becfd021097df38a5bfa. It ends with the fatal lines quoted above. The final renderer summary reports 3,614 textures / 6,531 MB, GPU time 14.2 ms/frame, 109,560 presents, and 40.6 fps. It does not indicate a GPU hang or memory exhaustion immediately before the fatal.Related but distinct: #333 concerns host allocations failing at Windows' commit limit; this run's log does not show that condition and the fatal message differs.
Files from the Discord report:
Triage only (no work claimed).
Where it dies.
resolve_deferred(),host/nvn_native.c:2496-2511, called for each handle fromnvnQueueSubmitCommands(host/nvn_native.c:2513-2535) on the game's own thread, before the submit reaches Vulkan. Itwalks a private host copy of the finished recording (
flatten(),host/nvn_native.c:1703-1716). So this is not the GPUreplay or a submit worker: #2156 (
RX_VK_SUBMIT_WORKER) is an unmerged, off-by-default vk change that does not touch thiswalk, #2210/#2211/#2212 are elsewhere in the vk layer, and nothing hands that copy to the driver.
What
op 1 size 0says. Op 1 isNOP_JUMP(gpu/render/rx_nvn.h:152), which the recorder never writes:put_hdrand
recare called only with the other ops, andNOP_JUMP/NOP_CALLappear nowhere but the enum and the vk replay'sread side. #1237 died in this same walk, from the same guest
lr 0x80590358on the Presentation Thread, withop 8213 size 40(pastNOP_COUNT_), so also not a header we wrote. In both, the bytes at the stop were not a recorded header, whichputs the walk outside the recording at that point: past its
NOP_END, or on a block that no longer held the copy. The logcarries no handle, copy length or offset, so it cannot tell which.
host/nvn_native.cis identical at v3.1.1 and on current main, so this is not a fixed regression.What would place it: the text crash report the crash window offered (not
HOS_CRASH_MINIDUMP's minidump, which holdsgame data and must not be shared), and, above all, a fatal that also logs the handle, the copy's length and first 16 bytes,
and the offset the walk stopped at. As it stands the line cannot be tied to a specific recording.
Short, and not repeating the triage note above: the two things it names still stand, and neither has an answer yet.
The text crash report the crash window saved for you — not the minidump, which is game data. That report is the input the failing code was walking.
A build whose fatal says which recording broke. Today it prints
op 1 size 0and stops there; the logging change we would add prints the handle, the copy's length, the first 16 bytes and the offset where the walk stopped. Can you run a Windows build with that? If building it yourself is awkward, we can put one on the Test Farm for this issue (@Beanstalkwith a few words; a BigBean approves it).On current main: how many crashes out of how many attempts, and does it follow time played (~40 minutes) or a particular area?
Already ruled out, so it does not need re-testing: the Vulkan submit lane, and
host/nvn_native.chas not changed since v3.1.1.