protonscr

[d3d9] Second Sight → missing HUD, subtitles, transition effect during cutscenes...

dxvkclosed
doitsujin/dxvk#2056 · opened 2021-05-10 by NerosTie · updated 2021-06-06 · 8 comments · github
2 matching comments, n / p to jump
NNerosTie 2021-05-10 github

There are many issues with DXVK and Second Sight.

First, the HUD and the subtitles are missing:

WINED3D:
Screenshot_20210510_200000

DXVK:
Screenshot_20210510_195457

Before the main menu, there is a screen with the title of the game, it's missing with DXVK:

WINED3D:
Screenshot_20210510_201933

DXVK:
Screenshot_20210510_215638

During the cutscene of the first level, there are a transition effect which is missing with DXVK. Also notice that the 2 videos begin at the same time, so the black screen with the word "ISOLEMENT" is missing with DXVK.

WINED3D:
https://streamable.com/lsq57d

DXVK:
https://streamable.com/xaoip4

System information

  • GPU: AMD RX 580
  • Driver: Mesa 21.1.0
  • Wine version: proton-experimental (2021/05/07)
  • DXVK version: 1.8.1 (also tested with the last dev build, same results)

Apitrace file(s)

I can't get one... I've tried everything but the wrapper does nothing or it's ignored. I even tried with a GOG version found somewhere but with the same result... If someone knows how to get one, please upload it, it would be a great help!

Log files

steam-11550_dxvk.log
steam-11550_wined3d.log

Mmisyltoad 2021-05-10 github

I cannot do anything without an apitrace I am afraid.

NNerosTie 2021-05-10 github

I tried for 2+ hours to have an apitrace but with no success, I really don't know what's the issue with this game or where I do something wrong :/

DDadSchoorse 2021-05-10 github

I can't get one... I've tried everything but the wrapper does nothing or it's ignored. I even tried with a GOG version found somewhere but with the same result... If someone knows how to get one, please upload it, it would be a great help!

Just an uneducated guess, maybe the game load d3d9.dll from the windows directory directly.

You can check that by looking at the log if you put the wrapper next to the .exe, if this is still the only place that d3d9.dll shows up then it doesn't load the wrapper.

19933.741:010c:0110:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\d3d9.dll" at 62440000: native

If that's the case try putting the apitrace wrapper in windows/syswow64 in the prefix and and use APITRACE_FORCE_MODULE_PATH to point towards the directory you moved the original dll to.

NNerosTie 2021-05-10 github

No luck, or I'm not doing it right.

OOschowa 2021-06-06 github

I recorded an apitrace (using wined3d) that shows the problem:
https://drive.google.com/file/d/1Q0qLpyR_fbjD1P6JCRHS_BZCanGjg2Zv/view?usp=sharing

NNerosTie 2021-06-06 github

@Oschowa Thanks!
But how did you manage to do it? I'm very curious.

OOschowa 2021-06-06 github

What DadSchoorse guessed was right, the game only loads d3d9.dll from the windows directory, so i copied wined3d's d3d9.dll form syswow64 to /tmp/wined3d, dumped the apitrace d3d9.dll into syswow64 and ran the game with APITRACE_FORCE_MODULE_PATH="/tmp/wined3d" WINEDLLOVERRIDES="d3d9=n,b" wine game.exe.
This needs to be done manually and not from steam or using the proton run script because otherwise your modification to the prefix' syswow64 will be overwritten.

NNerosTie 2021-06-06 github

Tested and everything is fixed, thanks! :)

Proton versions

Launch options

DLLs