protonscr

[d3d9] Need for Speed: Most Wanted - Crash during startup

dxvkclosed appid 2005d3d9
doitsujin/dxvk#5687 · opened 2026-06-05 by NorbertHarangozo · updated 2026-06-05 · 2 comments · github · game page · search this game
NNorbertHarangozo 2026-06-05 github

The game crashes during startup. The last few lines in the DXVK log could explain why:

Last few log messages
info:  DXVK: Using 12 compiler threads
err:   fs.c55106a597f549d35958a87d51db3379: No code chunk found in shader.
err:   vs.a2de92fcdb1b56deb54250e2af68d4f9: No code chunk found in shader.
err:   fs.8d40fd8a0add95fd284301556a024eea: No code chunk found in shader.
err:   fs.15753defdd9ff0e3de88aed9ac47533d: No code chunk found in shader.
err:   fs.1fef4d1fb806aed7c59dce13974ee0d9: No code chunk found in shader.
err:   fs.cf8aec880cead603445ddd6007a451a1: No code chunk found in shader.
err:   fs.3ff9381b473031a067765a62049a7cb5: No code chunk found in shader.
err:   vs.9f07fb7f2eea15e98f8c2c997f67aa0e: No code chunk found in shader.
err:   fs.3ff9381b473031a067765a62049a7cb5: No code chunk found in shader.
err:   vs.a2de92fcdb1b56deb54250e2af68d4f9: No code chunk found in shader.
err:   fs.1fef4d1fb806aed7c59dce13974ee0d9: No code chunk found in shader.
err:   fs.cf8aec880cead603445ddd6007a451a1: No code chunk found in shader.
info:  Presenter: Got VK_SUBOPTIMAL_KHR, recreating swapchain
info:  Presenter: Actual swapchain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  3440x1440
info:    Image count:  4
err:   vs.a0cdfd85bfa8ece1b8488f016bf7f1a9: No code chunk found in shader.
err:   Exception on CS thread!
err:   Failed to convert shader: vs.a0cdfd85bfa8ece1b8488f016bf7f1a9

I was able to reproduce the crash with the trace that can be found in #5324. I attached the link to this trace in the appropriate section.

I also ran a bisect and the result was this commit: 0d72ff0563aa71eb847f07d828b823d8eba30cc5

Software information

Need for Speed: Most Wanted (2005)

System information

  • GPU: RX 6800
  • Driver: Mesa 26.1.2
  • Wine version: wine-cachyos 10.0.20260425
  • DXVK version: 01c2b3e750fb3d9d5e2e2842b9ee82c3d575decb

Apitrace file(s)

Log files

Ddoitsujin maintainer 2026-06-05 github

Trace replays fine on my end, but the error message about the shader being empty is extremely weird and concerning.

Ddoitsujin maintainer 2026-06-05 github

ok so after rebuilding master it turned out to be some std::move memes. actual "rewrite in rust" moment right there.

Nothing extracted yet.