doitsujin / dxvk

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

Titanfall 2 + Northstar crashes while loading dxvk #2658

Closed BotchedRPR closed 2 years ago

BotchedRPR commented 2 years ago

Software information

Game: Titanfall 2 + Northstar (Regular game works fine) Software: Pop_OS, Steam Proton (tried every version from Experimental to 5.0_10, and 7.3-GE-1), DXVK 1.10.1 Launcher: Steam

System information

Apitrace file(s)

not traceable, file isn't even created.

Log files

none are created, seems like the game has trouble actually loading dxvk. here's the northstar log file if that'd help https://pastebin.com/ngBj7f5u

Northstar does work with wined3d (obviously very poorly). Also, regular game works fine. I can provide more logs, however by myself I only could get the northstar log. Seems like the northstar launcher crashes while loading dxvk.

K0bin commented 2 years ago

Are you trying to start the client or server version?

BotchedRPR commented 2 years ago

Are you trying to start the client or server version?

Client version.

BotchedRPR commented 2 years ago

This is caused by Northstar shipping with a broken DXVK release. You need to copy the latest release's dlls into Titanfall2/bin/x64_retail, and then install the latest DXVK release into your prefix. Here's the latest release of Northstar running on DXVK: image

GeckoEidechse commented 2 years ago

Wait, I'm a bit confused. The only file we ship in that directory is the wsock32.dll (Titanfall2/bin/x64_retail/wsock32.dll) which shouldn't be related to DXVK in any way...

BotchedRPR commented 2 years ago

we're chatting about this on discord, let's see what wacky stuff is going on here

GeckoEidechse commented 2 years ago

To follow this up based on discussions on Discord, it seems the "botched" DXVK version is being downloaded by Steam itself. I'm putting "botched" in quotes as it works fine with vanilla game but Northstar does a few things differently that cause it not to work, the cause of which is yet to be determined.

Northstar only ships d3d11.dll for dedi and that's it. bin/ folder of v1.7.2 release for example:

$ tree bin/
bin/
├── x64_dedi
│   ├── d3d11.dll
│   ├── GFSDK_SSAO.win64.dll
│   └── GFSDK_TXAA.win64.dll
└── x64_retail
    └── wsock32.dll

2 directories, 4 files
K0bin commented 2 years ago

The d3d11 version they ship for the dedicated server is a pure stub.

KyleGospo commented 2 years ago

Wine/Proton should be default configured to use builtin D3DX libraries and none of what any game ships with. Can you post some more information about your setup? Any customizations?

GeckoEidechse commented 2 years ago

Turns out the DXVK dlls were created by ReShade not Steam.

BotchedRPR commented 2 years ago

It was ReShade causing it that I previously installed on my Windows machine. Damn.