doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.28k stars 855 forks source link

[d3d9] Payday 2 doesn't start up #2336

Closed gabsF closed 2 years ago

gabsF commented 3 years ago

The game starts up with a black screen, after a few seconds it crashes, I even tested with the latest development build and still no results. Tested with 1.9.1, it also crashed.

While I was doing the trace part, the .trace file just got only 2 bytes, I'm guessing it won't help much? But I'm uploading it anyway. A box text also appeared. image I've pressed "retry" and another box text appeared. image And the game closed itself.

Software information

PAYDAY 2 The effects are turned off, graphics and shadows are on Low, frame rate limit on 45. image Also, this image is without the d3d9.dll ;p

System information

Apitrace file(s)

Log files

doitsujin commented 3 years ago

The game is known to work, does 1.9 run?

gabsF commented 3 years ago

No, the 1.9 doesn't run, also, for some people the game doesn't run, is like a hit or miss.

doitsujin commented 3 years ago

It's normal that people have issues with DXVK on Windows, so make sure that there are no third-party overlays and other applications that may hook into D3D libraries enabled. If it still doesn't work, well, not much we can do here, the game is known to run with 1.9 on supported platforms.

gabsF commented 3 years ago

Tested with no overlays, no Steam, no Discord and no RivaTuner, even tested 1.8 versions and still no results.

Evernow commented 3 years ago

As per the project wiki

Unsupported. Any issues that are exclusive to Windows will be ignored.

K0bin commented 3 years ago

Unsupported. Any issues that are exclusive to Windows will be ignored.

That's only for D3D10/11. 9 is somewhat supported on Windows.

That said, we've already had someone else confirm that the game works on Windows with DXVK 1.9.2 so whatever is going on here is not our fault.

Evernow commented 3 years ago

That's only for D3D10/11. 9 is somewhat supported on Windows.

May want to update the wiki to reflect that

Blisto91 commented 2 years ago

Also not able to reproduce this on my amd setup (R9 380) on windows using dxvk 1.9.2.

Blisto91 commented 2 years ago

@gabsF Friendly ping. Are you still having this issue?

gabsF commented 2 years ago

Hi, sorry about late response.

Unfortunately, my game still doesn't start up, even with the most recent version, 1.10.1. :/ The current version I have from the Driver of AMD is 21.5.1.

Even with no Lua mods, it doesn't work.

Evernow commented 2 years ago

Hi, sorry about late response.

Unfortunately, my game still doesn't start up, even with the most recent version, 1.10.1. :/ The current version I have from the Driver of AMD is 21.5.1.

Even with no Lua mods, it doesn't work.

Can you try this on a Windows clean install or Linux?

Blisto91 commented 2 years ago

Actually could you try with with the latest unreleased master version? We just had some luck in the similar issue above.

You can grab a download of it here. https://github.com/doitsujin/dxvk/actions/runs/2605265111

HajimeSait0 commented 2 years ago

Afraid I have to chime in on this too, as my copy of Payday 2 sits at pre-loading blackscreen then crashes. I don't recall what version of DXVK I was using prior to now when it was working (and also what version of Payday 2 I was playing), but I tried out 1.10.3 and 1.10.2 with latest PD2 build, but the crash is still occuring.

I'm downloaded WinDbg to parse the MDMP crash files in case they provide any insights, but they appear to be identical content to the crashlogs the game naturally generates. I have posted as many details as I can about my PC as well as the full contents of the crash log under DXVK 1.10.2 here https://pastelink.net/4v9whtz4

I hope I was helpful and I hope we can resolve this issue :)

Blisto91 commented 2 years ago

@HajimeSait0 I'm gathering this on linux?

HajimeSait0 commented 2 years ago

No, I commented in the pastelink that this was Windows 10 version 21H1 build 19043.1889

I am however embarrassed to admit that I just tried (one of?) the latest master builds I could get my hands on, and the game has currently successfully booted to main menu. The relevant build was located here https://github.com/doitsujin/dxvk/actions/runs/2852177417

I will edit this comment further if I have any additional trouble or seemingly Vulkan-related crashes. At least something that's changed has improved support with PD2. Sorry to bother you fine folks :)

Blisto91 commented 2 years ago

Oh yea missed that. Just saw VkLayer_steam_fossilize and my mind went to linux. Nvm then :grin:

Sounds good :+1:

K0bin commented 2 years ago

It's most likely crashing in an unrelated Vulkan layer. Try uninstalling Riva Tuner and any other overlay software.

MilesFox92 commented 2 weeks ago

This also happens to me. It's been working fine last year and in march for me, but now the game just doesn't start on any version of the DXVK. Even without the RivaTuner