protonscr

Sekiro - disappearing objects, and invisible enemies

dxvkclosed amd radv
doitsujin/dxvk#994 · opened 2019-04-02 by phush0 · updated 2019-06-13 · 26 comments · github
2 matching comments, n / p to jump
Pphush0 2019-04-02 github

Game is starting, menus are perfect, but when you reach to your character, and he don't move object in distance disappear and after some time appear again, nonstop. It is not connected with camera movement. When Character starts to run, model disappear also. Enemies are invisible. Even when locked. Have tried same with original mesa of Ubuntu 18.04. Then with Oibaf PPA. Result is the same. Also tried with Proton 4.2, 3.16-8, 3.16-6 and 3.7 with default DXVK

Software information

Sekiro - Shadows Die Twice

System information

  • GPU: VegaM (8706G)
  • Driver: RADV 19.1 git Padoka PPA
  • Wine version: proton 4.2
  • DXVK version: 1.0.1

Log files

sekiro_d3d11.log
sekiro_dxgi.log

Ddoitsujin maintainer 2019-04-02 github

Can't reproduce, the game renders perfectly on my RX 480. There are also various Plat

Also, you have this in your config file:

d3d11.relaxedBarriers = 1

This is expected to cause rendering issues in most games.
Edit: Since you typed "1" instead of "True", this has no effect. Anyway, please run the game without any additional configuration and test again.

In any case, you're probably better off filing a Mesa bug since the game is known to work correctly with DXVK on most hardware. You might also want to test the AMDVLK driver (note that there are known renderig issues with it, but enemies etc. do show up).

Pphush0 2019-04-02 github

Yes this was for test, it will not make any difference in rendering. Errors are same with or without it

Ddoitsujin maintainer 2019-04-02 github

Actually, the interesting bit in your log is this:

warn:  DxvkQueryPool: Failed to get query data for 124:4 with: VK_NOT_READY

Not sure why this fails. This is most likely what causes your rendering issues, but there's no obvious reason why retrieving query data would fail on your hardware.

Can you test with latest master? There's a new query implementation, maybe that works?
Here's a build: dxvk-master.tar.gz

Pphush0 2019-04-02 github

Shall I delete cache before test?

Pphush0 2019-04-02 github

sekiro_d3d11.log
sekiro_dxgi.log

This is with master version, nothing is flickering now, no problems with cache too.

Bbobberb 2019-04-16 github

sorry to butt in but if one installs sekiro the legal way through steam is it possible to inject a different dxvk here?

Pphush0 2019-04-16 github

replace files in
~/.steam/steam/steamapps/common/Proton 4.2/dist/lib/wine/dxvk
and
~/.steam/steam/steamapps/common/Proton 4.2/dist/lib64/wine/dxvk

just change Proton folder to correct one 3.16 beta or so

Hhakzsam 2019-05-02 github

Are you still able to reproduce the rendering issue?

Pphush0 2019-05-02 github

With master branch Sekiro is OK, very playable, no flickering and no message about vulkan problems. Wine will crash on my machine will NULL pointer reference and it is crashing inside main exe nothing connected with graphics or so on. FPS are around 40 same as 1050ti on my other laptop (where game crashes also). Also I tried it on Vega 56 eGPU also around 40 FPS. With master I have problem with Unreal engine games like Hellblade. Intro starts ok and when start main part of game it is 2 FPS. GPU is 0% load. with 1.0.3 it is OK ~ 35 fps.

Ddoitsujin maintainer 2019-05-02 github

That's interesting, Hellblade is actually one of those games that should benefit from master (and definitely not run at 2 fps). Is the CPU load high in that situation?

Pphush0 2019-05-02 github

one core 100 % (game itself), GPU 0%

Ddoitsujin maintainer 2019-05-02 github

Probably waiting on an occlusion query then. Can't reproduce the problem on my RX 480 or on my Kaveri APU though, seems to be Raven-specific.

Pphush0 2019-05-02 github

And VegaM

Ddoitsujin maintainer 2019-05-02 github

Ah right, you're on that weird thing that isn't Raven but more like Polaris.
Which makes it even more annoying to troubleshoot because Polaris itself works just fine.

Ddoitsujin maintainer 2019-05-02 github

Can you try AMDVLK?

Pphush0 2019-05-02 github

No support for this chip. Have tried with Padoka and Oibaf it is same so not connected with LLVM or so

OOschowa 2019-05-02 github

Have you actually tried? Just because it isn't explicitly mentioned in the README doesn't mean it won't work. You also don't need to install anything from the amdgpu-pro package.
Download the .deb form here: https://github.com/GPUOpen-Drivers/AMDVLK/releases
If you are on ubuntu you can install it as described in the installation instructions, just make sure to set
VK_ICD_FILENAMES=/etc/vulkan/amd_icd64.json to override driver selection.

Pphush0 2019-05-02 github

yes I have several times. it just trow error about host memory error and nothing else. Ubuntu 18.04 - Precision 5530 2-in-1

VK_ICD_FILENAMES=/etc/vulkan/icd.d/amd_icd64.json vulkaninfo             
===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

/build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:770: failed with VK_ERROR_OUT_OF_HOST_MEMORY

Hellblade with amdvlk

info:  Game: HellbladeGame-Win64-Shipping.exe
info:  DXVK: v1.1-73-gf503ba4
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
err:   DxvkInstance::createInstance: Failed to create Vulkan instance
Hhakzsam 2019-05-02 github

If I understand correctly, the initial problem is now fixed but you still have issues with occlusion queries?
And yes, AMDVLK doesn't seem to support VegaM.

Pphush0 2019-05-02 github

Correct

Pphush0 2019-05-05 github

Same problem like Hellblade in Assassins's Creed Odyssey. Game start and on page "Press Any Key" - display flicker to white and back "Loading additional contents" and stay there forever. GPU stop it's power. ALT+TAB is working no error messages, dmesg is clean, only music. Inside game windows cursor is skinned. With 1.0.3 it is working correct. Vega M. Working with 1050ti

Hhakzsam 2019-06-11 github

@phush0 Does this series help https://patchwork.freedesktop.org/series/61903/ ?

Hhakzsam 2019-06-12 github

Occlusion queries should now be fixed with https://cgit.freedesktop.org/mesa/mesa/commit/?id=2ef9d2738c8905cb3a83baf14cc1d088786d57e3

Can you try please?

Pphush0 2019-06-12 github

Will try in several hours when I return from work and Oibaf compile new version.

Works perfect, now Hellblade is perfectly playable, Sekiro also

Hhakzsam 2019-06-13 github

Thanks for confirming, this ticket can be closed then?

Pphush0 2019-06-13 github

Yes! Please close

Proton versions