protonscr

Crash introduced in [d3d9] Upload DYNAMIC+SYSMEM vertex and index data for each draw (!5312ef1)

dxvkclosed d3d9
doitsujin/dxvk#3860 · opened 2024-02-20 by R1chterScale · updated 2024-02-20 · 3 comments · github
RR1chterScale 2024-02-20 github

Running a copy of New Vegas using the New Vegas Reloaded graphics mod and noticed a replicable crash was present when starting a new game (and in a few other areas) when on the latest commit. Git bisect revealed it to be [d3d9] Upload DYNAMIC+SYSMEM vertex and index data for each draw (!5312ef1)

Software information

Fallout New Vegas with the New Vegas Reloaded mod (along with other general libraries and QoL mods, but NVR is the one that causes it, specifically the Interior Shadows setting).

System information

  • GPU: RX 7900XT
  • Driver: Mesa-git (RADV)
  • Wine version: 8.0 (from Proton-GE, but crashes on other versions)
  • DXVK version: Built from commit 5312ef1

Apitrace file(s)

FalloutNVout.trace
Worth noting is it had to be made with DXVK, WineD3D was not an option

Log files

game.log

BBlisto91 2024-02-20 github

Hello and thank you for the well made issue.

While i was reproducing ingame i took the liberty of making a trace with a older version of dxvk so it gets past the crash, if that shows to be useful to the devs. It still crashes when replayed with the offending commit.
https://drive.proton.me/urls/NDRYZRMZAR#NhFx277Hu4YE

KK0bin maintainer 2024-02-20 github

The mod ends up unbinding the index buffer before drawing with it. So it might accidentally rely on the behavior of #3852.

RR1chterScale 2024-02-20 github

Thanks again for looking at this and finding a fix so quickly :)

Nothing extracted yet.