protonscr

NecroVision and NecroVision: Lost Company does not work with DXVK

dxvkclosed d3d10
doitsujin/dxvk#2299 · opened 2021-09-21 by bear-bulloff · updated 2022-08-12 · 14 comments · github
Bbear-bulloff 2021-09-21 github

These games from GOG will quit on startup with DXVK but will work with wined3d, tested with DXVK 1.9.1 and 1.9.2.

System info:
GPU: RX 560 4gb
wine: 6.16 and 6.17
Mesa: 21.2.1

P.S. Read ProtonDB, that the game does not work with DX10 and need in config.ini file, line Cfg.RenderDevice = 2 replace 2 to 1, after these actions, the game started.
necrovisiondxvk.log

Ddoitsujin maintainer 2021-09-21 github

Can you please post actual DXVK logs and an apitrace of sorts?

Bbear-bulloff 2021-09-21 github
KK0bin maintainer 2021-09-21 github

That's the logs. We also need apitraces.

Bbear-bulloff 2021-09-21 github

Either I'm doing something wrong or they're not being created.

Bbear-bulloff 2021-09-21 github

image
This is running the game without dxvk.
Screenshot_367

KK0bin maintainer 2021-09-21 github

This is running the game without dxvk.

That's to be expected. The apitrace file should be in the desktop folder of your Wine prefix now.

Ddoitsujin maintainer 2021-09-21 github

Looks like the game requires the D3D10 effects framework, which we don't implement. Does WINEDLLOVERRIDES=d3d10=b fix this?

Bbear-bulloff 2021-09-21 github

This is running the game without dxvk.

That's to be expected. The apitrace file should be in the desktop folder of your Wine prefix now.

After many different attempts at launching, it was possible to create one.
https://disk.yandex.ru/d/FeB4N0fjrsqwPw

Bbear-bulloff 2021-09-21 github

Looks like the game requires the D3D10 effects framework, which we don't implement. WINEDLLOVERRIDES=d3d10=bDoes fix this?

This parameter does not fix

Ddoitsujin maintainer 2021-09-22 github

ok, I tried this now and cannot get the game to work with Proton at all, even with wined3d. I managed to record an apitrace on Windows though which replays perfectly fine, so the problem is likely with some D3D10 utlity library (such as the effects framework). When trying to use DXVK on Windows, the game errors out with a message that it cannot create a D3D10 device for whatever reason, which is not what happens on Linux.

TL;DR no fucking clue what the game is doing or how to further debug this.

Bbear-bulloff 2021-09-22 github

ok, I tried this now and cannot get the game to work with Proton at all, even with wined3d. I managed to record an apitrace on Windows though which replays perfectly fine, so the problem is likely with some D3D10 utlity library (such as the effects framework). When trying to use DXVK on Windows, the game errors out with a message that it cannot create a D3D10 device for whatever reason, which is not what happens on Linux.

TL;DR no fucking clue what the game is doing or how to further debug this.

Tested on Mint 20.2 with Wine 6.17, OpenSUSE Tumbleweed with proton 6.17 of its build, Garuda with Wine 6.16, all works with wined3d, and with dxvk crashes either immediately or a bit later.

Jjrugia 2021-09-22 github

Not sure if the case is relevant here but this game is 32bit and is known to run out of virtual address space.

Make sure to either patch the game's exe to support large address aware or a Wine/ Proton version that enables it.

Been a while since I played this game but I can take a look tomorrow and report back.

Edit: The game's protondb entry suggests DX10 mode has issues but you can force DX9 mode through an ini config - https://www.protondb.com/app/7860

BBlisto91 2022-07-27 github

Needs d3dx10 to launch with dxvk in d3d10 mode.
Can be installed with winetricks

winetricks d3dx10

If you use lutris they are already included in their d3d extras v2

BBlisto91 2022-08-12 github

If any of you still have issues then just comment here again.

Proton versions

Launch options