mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 04:59:57 -04:00
Say in a lost device's report what the GPU was about to do when it stopped between two marks, and add draw marks.
A pass mark names the pass or dispatch the GPU had started and the last it finished. When the two are the same mark the GPU stopped in between, and the report named nothing: in a player's log of 0.9.2 (RX 6700 XT) both were one compute dispatch, with 51 later marks made and none started. The report now adds the mark that never started and the kinds of commands the replay recorded between the two (copies, clears, the upscaler, write-backs), which the gap notes already name for the GPU pass timing and now keep for every mark. draw_crumbs = 1 (off by default, AMD buffer marks only) also writes a mark wherever the shaders or the pipeline state change inside a pass. The device losses reported on RX 6600 and RX 6800 class cards end inside one scene pass of 30 to 100 draws and the draw that hangs is not known; with the setting on, the report lists the shaders of the draws the GPU had not finished. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -845,6 +845,11 @@
|
||||
# last one it finished. Unset: on AMD GPUs (VK_AMD_buffer_marker). 1: also on NVIDIA GPUs
|
||||
# (VK_NV_device_diagnostic_checkpoints), which NVIDIA says costs a little. 0: off.
|
||||
# pass_crumbs = 1
|
||||
# GPU draw marks, for a GPU crash (device lost) that comes back in the same place on an AMD GPU: inside each render pass
|
||||
# a mark is written wherever the shaders change, and after the crash the log names the shaders of the draws the GPU had
|
||||
# not finished, not only the pass. It costs a little frame rate, so it is off unless a crash is being tracked down.
|
||||
# Needs the pass marks above (AMD GPUs). Default: 0.
|
||||
# draw_crumbs = 1
|
||||
# A test of how the game ends when the video card stops answering (device lost): the hand-over to the GPU queue with
|
||||
# this number is not made and is taken as one the driver refused with a lost device. The log then holds one report and
|
||||
# one FATAL line, and the game ends with exit code 72. 0: never. Default: 0.
|
||||
|
||||
Reference in New Issue
Block a user