protonscr

Shadow Warrior 2 broken graphics

dxvkclosed bug
doitsujin/dxvk#315 · opened 2018-04-21 by pingubot · updated 2019-09-25 · 18 comments · github
Ppingubot 2018-04-21 github

Shadow Warrior 2 (from GOG) launches fine to the menu but as soon as you enter a lelve the graphics are broken. It looks like this:

bildschirmfoto von 2018-04-21 23-27-58

This warning is repated over and over again in the d3d11.log:

warn: D3D11Texture2D::QueryInterface: Unknown interface query
warn: 9b7e4c04-342c-4106-a19f-4f2704f689f0
warn: D3D11Texture2D::QueryInterface: Unknown interface query
warn: 696442be-a72e-4059-bc79-5b5c98040fad

In regards to reports in discord, the same grphical issues also appear on radv and amdvlk.

System information

  • GPU: Nvidia GTX 970
  • Driver: 396.18.02 (same nehaviour with old and new compiler)
  • Wine version: 3.6
  • DXVK version: f71f527

Apitrace file(s)

The apitrace is done wiht dxvk active, doing it with wined3d crashes the game before the errors show up.

Log files

If you need an dxvk log level debug are vulkan validation layers, please ping me then i will install the vulkan sdk into that wineprefix.

Many thanks !
Christian

Kkgudalov 2018-04-22 github

I have all the same in this game.

Ddmitry64 2018-04-22 github

I have same setup and same issue.

Ddoitsujin maintainer 2018-04-22 github

I'm aware of this issue, it's a general bug and not setup-specific.

Ppingubot 2018-05-05 github

Seems to be fixed in fb3dbd8.

bildschirmfoto von 2018-05-05 20-41-31

@dmitry64 , @kgudalov please try with latest master.

SScarecrowDM 2018-05-06 github

It is working with AMD hardware as well. :)

captura de tela de 2018-05-06 04-19-46

RRTheren 2018-05-07 github

How are you getting such a good framerates. I only get 1 or 2 FPS.

HW:
CPU: Ryzen 7 1700X
GPU: GTX 1070
Resolution: 1440p

Wine-staging 3.7
dxvk-bin from AUR

Terminal gets spammed with this messages:

warn: D3D11DeviceContext::QueryInterface: Unknown interface query
warn: d56e2a4c-5127-8437-658a-98c5bb789498
01e0:err:nvapi:NvAPI_D3D11_SetDepthBoundsTest Failed to get wined3d device handle!
warn: D3D11Texture2D::QueryInterface: Unknown interface query
warn: 9b7e4c04-342c-4106-a19f-4f2704f689f0
01e0:fixme:win:GetRegisteredRawInputDevices (pRawInputDevices=(nil), puiNumDevices=0x229f190, cbSize=16) stub!
01e0:fixme:win:GetRegisteredRawInputDevices (pRawInputDevices=0x4c28b0, puiNumDevices=0x229f190, cbSize=16) stub!

Ppingubot 2018-05-09 github

disable nvapi

Ppingubot 2018-05-10 github

As we have sw2 running fine on nvidia and amd here, i think it is time to close the bug report cause the game seems to work fine. @RTheren: If disabling nvapi and other wine-staging nvidia specific things doesn't help, please check your overall setup.

?ghost 2019-09-24 github

@doitsujin I am having the same error message in Overwatch(but instead it doesnt start properly, probably when it starts generating shaders). I am using Wine 4.16 and DXVK 1.4.
Should I create an own issue for that?

Ddoitsujin maintainer 2019-09-24 github

I have absolutely no clue what error message you are talking about.

Overwatch is known to work on DXVK 1.4, please check your setup first before opening a bug report.

?ghost 2019-09-24 github

@doitsujin This one "warn: D3D11Texture2D::QueryInterface: Unknown interface query".
The game had no issues until the new patch today.
What should be the problem with my setup - Im having a AMD one with the FOSS graphics stack.

Mmisyltoad 2019-09-24 github

But what interface is it?

?ghost 2019-09-24 github

@Joshua-Ashton How shall I know?

Mmisyltoad 2019-09-24 github

Literally the next line in the log file 🐸

Ddoitsujin maintainer 2019-09-24 github

I can already tell you that this is not a bug.

Again, if you're having issues starting Overwatch, check your setup and make sure that the Streaming option in Battle.net is disabled.

?ghost 2019-09-24 github

@Joshua-Ashton
Both "9d8e1289-d7b3-465f-8126-250e349af85d" and "f8fb5c27-c6b3-4f75-a4c8-439af2ef564c".

?ghost 2019-09-24 github

@doitsujin If it worked before how should it be an issue with my setup? - It was directly after the update today. No streaming is disabled. Should I do a video to prove it - or what do you want?
I can even post you the whole log: https://paste.gg/p/anonymous/6a4ec7e53fec4b5089cc10986cda5813

?ghost 2019-09-25 github

Ok it seems like I need to say sorry because there has been just another patch today.
I still have one question - what causes the shader compilation to be so slow?

Nothing extracted yet.