Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFS Most Wanted 2005 dont start with 2.5.2 and 2.5.3 #4624

Open
RuesanG opened this issue Jan 19, 2025 · 15 comments
Open

NFS Most Wanted 2005 dont start with 2.5.2 and 2.5.3 #4624

RuesanG opened this issue Jan 19, 2025 · 15 comments
Assignees
Labels

Comments

@RuesanG
Copy link

RuesanG commented Jan 19, 2025

Please describe your issue as accurately as possible.

"I use translator because my native language is German
Video

either I have to use DXVK 2.5.1 so that it works properly with the game or disable the shader loader which brings graphics bugs

I can upload the whole game privately for you to test so that you can test it somehow or if you have the game then I can provide the important data like the

ASI loader + Widescreen Fix
XNFS-ShaderLoader-MW.zip

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Need for Speed Most Wanted 2005 1.3

System information

  • GPU: AMD Radeon RX6700XT
  • Driver: 24.12.1
  • Wine version: NO
  • DXVK version: Problem with 2.5.3 2.5.2

Apitrace file(s)

Dont work 0xc0000005 error

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace
i checked

Log files

Please attach Proton or Wine logs as a text file:

  • When using Proton, set the Steam launch options for your game to PROTON_LOG=1 %command% and attach the corresponding steam-xxxxx.log file in your home directory.
  • When using regular Wine, use wine game.exe > game.log 2>&1 and attach the resulting game.log file.

2.5.1.zip

I upload the logs where it works on 2.5.1 with the Shader loader

@RuesanG RuesanG changed the title NFS Most Wanted 2005 NFS Most Wanted 2005 dont start with 2.5.2 and 2.5.3 Jan 19, 2025
@K0bin K0bin added the d3d9 label Jan 19, 2025
@K0bin
Copy link
Collaborator

K0bin commented Jan 19, 2025

@K0bin K0bin self-assigned this Jan 19, 2025
@mrdeathjr28
Copy link

In my case using linux with wine 10-rc6 and dxvk 2.5.3 still work, also i have amd renoir igpu and game without mods

Image

@WinterSnowfall
Copy link
Contributor

I upload the logs where it works on 2.5.1 with the Shader loader

As a first step, please upload the logs with 2.5.3, while reproducing the failure. Working logs don't help us much in narrowing down the issue.

@RuesanG
Copy link
Author

RuesanG commented Jan 19, 2025

@WinterSnowfall

Under 2.5.2 and 2.5.3 a log file is created but it is empty, i.e. 0kb

@K0bin Unfortunately, I didn't find any source code for the shader loader except from Carbon. Unfortunately, I don't know if they'll do anything

xnfs-shaderloader-carbon

@mrdeathjr28
stock works but it just doesn't work with the shader loader

@TheComputerGuy96
Copy link
Contributor

@RuesanG Can you switch to a completely unmodified game and only use the Ultimate ASI Loader and ShaderLoader (and Widescreen Fix if you want to) mods (with the mod's IDI_*_FX files copied to the game root directory)?

@RuesanG
Copy link
Author

RuesanG commented Jan 19, 2025

@TheComputerGuy96 i tested on unmodified game (Only ASI Loader and the Shader Loader with/without the IDI_*_FX files) same game dont start

Image

I once asked the community who use this shader loader in their mods whether they can help more, but unfortunately they can't, but in the screenshots it says that the one from Carbon could also work, but the addresses for the hooks should be changed, unfortunately I have no idea.

@RuesanG
Copy link
Author

RuesanG commented Jan 19, 2025

Need for Speed Most Wanted Clean1.zip
Log

little info with this you can start the game with the shader loader
https://github.com/doitsujin/dxvk/actions/runs/12848011982

@WinterSnowfall
Copy link
Contributor

WinterSnowfall commented Jan 19, 2025

little info with this you can start the game with the shader loader https://github.com/doitsujin/dxvk/actions/runs/12848011982

While I am happy to hear that, it makes little sense. That PR is 99.9% d3d8-only and the game you are testing uses d3d9. So unless something is wrong with our release binaries, I don't see how it would help in any way.

Edit: Coincidentally you've picked up a MSVC build. Perhaps it might be a symptom of #4448.

@TheComputerGuy96
Copy link
Contributor

@RuesanG Can you do a checksum on the ShaderLoader .asi file? I want to see if we both use the exact same mod

@RuesanG
Copy link
Author

RuesanG commented Jan 19, 2025

@TheComputerGuy96
Name: XNFS-ShaderLoader-MW.asi from Xbox 360 Stuff Pack v3.2 Beta
SHA1: BA7283C726A1B9D08DD50D6D8960DFD21D0B9FAD
SHA256: B0BF39AED2E99845B9C16C4BC299DD589E6B0BE63DFB06D336E6BA59D8412E35

@qinlili23333
Copy link
Contributor

qinlili23333 commented Jan 20, 2025

I would suggest to run the game with some debugger like x64dbg/x32dbg.
Keep pressing F9 until the game stuck in some exception or self exits.
Since you said that logs are empty, there's a high possibility that it will fall into some exception.

You may also do a bisect between 2.5.1 and 2.5.2 to find out which commit breaks the game. Use builds from Actions to do this.

@TheComputerGuy96
Copy link
Contributor

@RuesanG So I see we're running the exact same mod .asi file

For me the game does launch when using that mod with DXVK 2.5.3 (the only thing is that I'm using Wine instead of Windows)

Because the mod uses d3dx9 libraries (specifically d3dx9_43), does installing this help?: https://www.microsoft.com/en-us/download/details.aspx?id=8109

@RuesanG
Copy link
Author

RuesanG commented Jan 20, 2025

@WinterSnowfall

I'm completely open and honest, I have no idea about it, I just took an action that was current and that's how it went

@qinlili23333

do I have to spam the F9 for so long or how do I debug it right ?

log-20250120-190622.txt

can i set the actions so that you can see what has been changed between 2.5.1 and 2.5.2

@TheComputerGuy96

I am basically the person who installs all runtimes with every Windows installation so that everything is up to date

@RuesanG
Copy link
Author

RuesanG commented Jan 20, 2025

For Actions I took the master branch
https://github.com/doitsujin/dxvk/actions/runs/12071058891 starts the game (#5248)

there must be something in between if I'm not mistaken the msvc builds worked perfectly

https://github.com/doitsujin/dxvk/actions/runs/12156309952 does not start the game (#5268)

@qinlili23333
Copy link
Contributor

do I have to spam the F9 for so long or how do I debug it right ?

According to logs attached, it's enough.
As expected, it's STATUS_STACK_BUFFER_OVERRUN in ucrtbase, which is Universal C Runtime library in Windows.

I would suggest to see the stack in this exception to find which module is wrong. Usually ucrtbase itself is fine, the buffer overflow is happening in user space libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants