doitsujin / dxvk

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

Black Desert Online crashes #1561

Closed kqzkqz closed 4 years ago

kqzkqz commented 4 years ago

Software information

Black Desert Online

System information

Log files

been playing around with trying to get Black Desert Online working in Wine, and after compiling wine-staging 5.5 found I can actually get it to launch now.

trying to trace down what is a wine bug and what is a DXVK bug with actually getting into game, so apologies if this is filled with some spam, wanted to get some help on what issue should be reported where.

so far these are my results if anyone wants to try to reproduce:

unfortunately I'm not sure how to get a good apitrace, since the game is started by the launcher, so any tips or guidance would be appreciated there. I've attached logs from my latest attempt with DXVK's d3d9, d3d11, and dxgi all enabled, where I made it all the way to character selection.

doitsujin commented 4 years ago

Is your mesa-git build up to date (i.e. not more than a few hours old)? Asking because there have been some serious regressions recently which may affect you if you're using an older build.

As for an apitrace, you can basically dump the apitrace DLLs next to the game's executablel, as described here: https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace

That said, there isn't anything in the logs that directly hints at a DXVK issue. However, you seem to be running a 32-bit version of the game which could run into memory issues; there should be a 64-bit executable as well. Does that improve anything?

kqzkqz commented 4 years ago

thanks for the tip, just recompiled latest mesa, last one was from about a week ago, so far still getting the same results, but that did remind me about something I derped on and forgot to mention.

to even get it the game to launch, the very first thing I had to do was apply this patch to winevulkan for vulkan child window rendering, so that could also be the culprit, or at least another piece.

i'll also try to play around with it in a 64 bit prefix, I had thought the game was a 32 bit only but you're correct, there is a 64 bit binary as well. so far I haven't been able to get it to launch in a 64 bit prefix (looks like Xingcode, the anti-cheat doesn't initialize for some reason).

also thanks for the tip on the trace, was able to get a quick trace (unfortunately derped with DXVK on, let me know if you need one with just wined3d) here's a google drive link

if there's nothing in the logs that you can see that indicate a DXVK issue however, I'll start banging out some reports with wine, but I appreciate you taking a look!

Berobad commented 4 years ago

Xigncodes needs it's kernel-driver, if it's not running it closes the game.
And it's highly unlikely that these kind of root-kit anticheat systems will ever work on wine.

(at least in the past xigncode itself even broke from windows patches)

kqzkqz commented 4 years ago

sorry for the delay, gotcha, was unaware xingcode was kernel-mode, assumed the game just wouldn't start if the driver wasn't present but it does look like the crash once in game is caused by that, I'll close this for now since this isn't a DXVK problem.