gfxreconstruct icon indicating copy to clipboard operation
gfxreconstruct copied to clipboard

[replay] Replay crashes for Forza Motorsport

Open ryan-de-boer opened this issue 10 months ago • 2 comments

Describe the replay bug: Record a tiny replay just a few seconds of the DirectX 12 window. Then play it back and you get this error:

================== Start timer (Frame: 1) ================== [gfxrecon] WARNING - Mismatch: [gfxrecon] WARNING - Captured application name: forza_steamworks_release_final.exe [gfxrecon] WARNING - Replayer process name: gfxrecon-replay.exe [gfxrecon] WARNING - This can lead to diverging driver behavior between the replayer and captured application [gfxrecon] WARNING - Recommendation: Rename gfxrecon-replay.exe to match the application's executable name [gfxrecon] WARNING - ID3D12Device10_CreateCommittedResource3 returned E_INVALIDARG, which does not match the value returned at capture S_OK. [gfxrecon] WARNING - ID3D12Device10_CreateCommittedResource3 returned E_INVALIDARG, which does not match the value returned at capture S_OK. [gfxrecon] WARNING - ID3D12Device10_CreateCommittedResource3 returned E_INVALIDARG, which does not match the value returned at capture S_OK. [gfxrecon] WARNING - No matching replay address found for capture address. [gfxrecon] WARNING - ID3D12GraphicsCommandList_Close returned E_INVALIDARG, which does not match the value returned at capture S_OK.

Verify before submission:

  • Was trimming enabled? no
  • Was replayer renamed if necessary? no
  • Was --sync used if title is known to need forced synchronization? no

Build Environment: Please include the SHA and PR or branch name used in capture and also used to build the replayer. b61dfcf5c12b9e566e7bb4193338035505531421 Dev branch

To Reproduce Steps to reproduce the behavior:

  1. Get the .gfxr file from [insert download location here, e.g. LunarShare]
  2. Run gfxrecon-replay with [insert parameters here]

Record a tiny replay just a few seconds of the DirectX 12 window. Then play it back. The 7z file of the capture is still 255 megs, and I can't upload at the moment. I'll try to upload it when I can.

Screenshots: If applicable, add screenshots to illustrate visual corruption.

System environment:

  • GPU and driver version on which capture was taken: NVIDIA GeForce RTX 4090, driver version 546.17
  • GPU and driver version on which capture file was replayed with issue: same

Title configuration:

  • Title name: Forza Motorsport
  • Title version: Latest as of 20250615
  • Steam ID if applicable: unsure, it is on steam
  • Is DXR enabled? unsure

Additional information (optional):

  • is there a SHA for which replayer is known to replay correctly? (indicates possible regression in decoder/consumer) no
  • Is there an older trace that works? What SHA was used to build those capture DLLs? (indicates possible regression in capture/encoder) no
  • Does a newer capture work? (indicates bug fix in capture/encoder that needs to be noted) no
  • Does the capture file replay correctly on a different GPU? untested

ryan-de-boer avatar Jun 15 '25 05:06 ryan-de-boer

I'll try to upload the 255meg 7z file to google drive when I can. I understand that people looking into this issue probably don't have Forza Motorsport and would prefer a capture.

ryan-de-boer avatar Jun 15 '25 05:06 ryan-de-boer

Heres the capture: https://drive.google.com/drive/folders/1dKT3SluVeaATVhIB6sRDApkphsyL0lDa?usp=sharing gfxrecon_capture_20250613T180837.7z

Recorded on gfxreconstruct-v1.0.3-windows-msvc, played back on Dev branch b61dfcf5c12b9e566e7bb4193338035505531421.

ryan-de-boer avatar Jun 15 '25 13:06 ryan-de-boer