protonscr

Stalker: Shadow of Chernobyl: Clouds visible through the roof in ver. 1.9.2

dxvkclosed bugd3d9
doitsujin/dxvk#2300 · opened 2021-09-21 by onlylunix · updated 2021-09-27 · 19 comments · github
Oonlylunix 2021-09-21 github

Bug in version 1.9.2
Game: S.T.A.L.K.E.R SHOC
Сlouds were visible through the ceiling. Version 1.9.1 does not contain this bug.

System information

Xubuntu 20.04.3

$ inxi -G
Graphics: Device-1: Intel HD Graphics 630 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.0.3

  • Wine version: wine-6.17 (Staging)
  • DXVK version: 1.9.2

With dxvk v.1.9.1 or without:
stalker-soc
With dxvk v.1.9.2:
stalker-soc-dxvk

DDadSchoorse 2021-09-21 github

Can you capture an apitrace?

Oonlylunix 2021-09-21 github

need instructions on how to do it

Oonlylunix 2021-09-22 github
DDadSchoorse 2021-09-22 github

The trace only replays what looks to me like a part of the initial loading screen, did you actually go in-game to capture the problem while making the trace?

Oonlylunix 2021-09-22 github

Yes, I played for a few seconds to make sure.
The instructions ( https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace ) said to remove the dxvk, which I did. Of course, there is no bug without dxvk.

KK0bin maintainer 2021-09-22 github

image

That's the only thing the apitrace shows. Please try make a new one.

Oonlylunix 2021-09-22 github

That's the only thing the apitrace shows. Please try make a new one.

done: https://disk.yandex.ru/d/OuXMoIj8aLkgoA

KK0bin maintainer 2021-09-22 github

Same problem with that one.

Oonlylunix 2021-09-22 github

Same problem with that one.

ok, v3: https://disk.yandex.ru/d/25mqOo4ss8KEpQ

KK0bin maintainer 2021-09-22 github

Still same problem. Looks like this is an issue with the game. Unfortunately I can't fix this without a working apitrace.

KKron4ek 2021-09-23 github

I have an issue in this game too with DXVK 1.9.2, not with the clouds though, but with the skybox itself.

I can't record an apitrace, wine just crashes with stack overflow if i use the apitrace's d3d9.dll. However, i found out that the bad commit is https://github.com/doitsujin/dxvk/commit/78d22cc7a5e03817ed06002f50120bfe77efcdd3, reverting it fixes the issue. Maybe this commit also causes the issue @onlylunix has.

test

KK0bin maintainer 2021-09-23 github

@onlylunix Is your issue also fixed if you revert that commit?

If not, can you please bisect? (Find the exact commit that caused the problem)

Oonlylunix 2021-09-23 github

A build with reverted 78d22cc

dxvk-1.9.2-test.tar.gz

yes, it solved the bug

Zzaps166 2021-09-26 github

Reverting https://github.com/doitsujin/dxvk/commit/78d22cc7a5e03817ed06002f50120bfe77efcdd3 helps with other DX9 games, too (RADV, mesa 21.2.2, kernel 5.14.7).

DDadSchoorse 2021-09-26 github

@zaps166 what games? And can you please create an apitrace of an affected game? The revert is not fully correct because it breaks wine tests, so it would be nice if I could look into what's happening.

IiWeaker 2021-09-27 github

Reverting 78d22cc helps with other DX9 games, too (RADV, mesa 21.2.2, kernel 5.14.7).

With this "revert" it has a better performance in BL2, I have noticed that with version 1.9.2 of DXVK, at certain times I suffer from "fps drops + stuttering", with this commit, it fixes that problem, is what I noticed.

(NVIDIA GTX 1060 + Kernel Xanmod 5.13)

KK0bin maintainer 2021-09-27 github

I have noticed that with version 1.9.2 of DXVK, at certain times I suffer from "fps drops + stuttering", with this commit, it fixes that problem, is what I noticed.

It's more likely that it was just compiling shaders and those shaders were cached when you tried the build with the revert.

DLLs