protonscr

AMD RADV Just Cause 3 Flickering Textures

dxvkclosed
doitsujin/dxvk#613 · opened 2018-08-31 by ghost · updated 2019-06-25 · 32 comments · github
?ghost 2018-08-31 github

Last Update: 11.13.2018

OS: Arch-Linux 64-Bit
CPU: AMD FX 8350
GPU: AMD RX 570
GPU Driver: 4.4 OpenGL Mesa 18.2.4
Wine: 3.19
Apitrace: Can not be apitraced!
Video: https://www.youtube.com/watch?v=gyWrp4kFAc0
Mesa Bug Report: https://bugs.freedesktop.org/show_bug.cgi?id=107822
Happends with AMDVLK too? : not confirmed (Will be updated later)

Ddoitsujin maintainer 2018-08-31 github

Apitrace?

?ghost 2018-08-31 github

what do you mean with that?

Ddoitsujin maintainer 2018-08-31 github

I'm asking for an apitrace so that I can actually look into the problem, as mentioned in the issue template. You even removed the section from your bug report.

Please don't file a bug report if you can't provide any info. "Later" is not something I can work with.

?ghost 2018-08-31 github

Okay i understand

Ddoitsujin maintainer 2018-08-31 github

Also, which Mesa version are you running? You only posted your GPU and LLVM version.

?ghost 2018-08-31 github

18.1.6 i know 18.1.7-1 and LLVM 8 is on arch available but i dont want to use unstable branches.

?ghost 2018-08-31 github

So I have now added all the necessary information.

TTk-Glitch 2018-08-31 github

Mesa 18.1 and llvm 6 won't cut it.

?ghost 2018-08-31 github

that means then?

Ddoitsujin maintainer 2018-09-01 github

If you use wine-staging, please disable nvapi and nvapi64 in winecfg. There were issues with that before. If that doesn't fix it, please record an apitrace as described on the Wiki.

?ghost 2018-09-01 github

I now updated the post with Apitrace. Unfortunately it was not possible to enter the game with Apitrace I have maximum 3FPS and the game crashes in the loading screen.

?ghost 2018-09-04 github

And found out something?

Vvellfire 2018-09-12 github

I'm also having this issue. I'm running llvm-svn and mesa-git (both built 12/Sep/18) on Arch Linux. Hardware: RX 580, Ryzen 5 1600, 16GB RAM. I am using the amdgpu open source driver.

The game crashes when the apitrace dlls are installed, not sure if this is normal. The link to the trace is Google Drive because I cant upload it straight to github. apitrace download

Ddoitsujin maintainer 2018-09-12 github

By the way, have you guys disabled nvapi, nvapi64, nvenc and nvcuda in winecfg? This sounds a lot like #379.

@Veelhiem I cannot replay your trace, and it seems to small to be useful. I can however replay the one that @CrackedCrafterz added, but it doesn't seem to show the issue.

Vvellfire 2018-09-12 github

Yes I have, just tried again and it didn't seem to change anything. The textures still flicker like crazy in the main menu and in game.

EDIT: I tried doing another apitrace (putting the x64 dlls in the game directory with the main executable) and it just crashes after a few seconds.

Ddoitsujin maintainer 2018-09-12 github

No idea then. Can't reproduce with the apitrace that works.

?ghost 2018-09-13 github

@doitsujin For me the game works with Apitrace only with 1FPS but it works. But is it helpful with DXVK? because here is written "Dont use DXVK and Apitrace together"

Ddoitsujin maintainer 2018-09-13 github

My issue is that I don't see the bug with the apitrace you already posted. If you can record one that actually shows the issue, please go ahead.

Using DXVK with Apitrace together may be fine in this case.

CC0rn3j 2018-10-31 github

EDIT: NVM - disabling nvenc and nvcuda solves the issue - https://github.com/doitsujin/dxvk/issues/379#issuecomment-392371155


I'm going to piggyback off here since I also can't get the apitrace for the same game.

The water doesn't render at all when viewed from above, inside view works. (Nvidia 396.54.09, DXVK 0.90, wine-staging 3.19 (git))

2018-10-31_10-16-16

Trying to put the DLLs in the game folder makes it crash after a few seconds just like for other people in this thread.

Trying to make it launch without DXVK makes the game crash without even loading the main window.

Is there anything I can do at this point to properly report the issue?

?ghost 2018-11-04 github

EDIT: NVM - disabling nvenc and nvcuda solves the issue - [#379 (comment)](https://github.com/doitsujin/dxvk/issues/379#issuecomment-392371155)

I'm going to piggyback off here since I also can't get the apitrace for the same game.

The water doesn't render at all when viewed from above, inside view works. (Nvidia 396.54.09, DXVK 0.90, wine-staging 3.19 (git))

2018-10-31_10-16-16

Trying to put the DLLs in the game folder makes it crash after a few seconds just like for other people in this thread.

Trying to make it launch without DXVK makes the game crash without even loading the main window.

Is there anything I can do at this point to properly report the issue?

nvapi, nvapi64, nvenc and nvcuda must be disabled in winecfg

RRarogCmex 2018-11-15 github

Mesa 18.3.0_rc2 + llvm-7.0.0. nvapi, nvapi64, nvenc and nvcuda are off.
Issue still having...

Ddoitsujin maintainer 2018-11-15 github

Well I can't do anything about it because I have no way to reproduce it. If anyone could actually record an apitrace which actually shows the problem, then I can look into it.

Ddebiangamer 2019-01-13 github
?ghost 2019-01-13 github

Windows users have the flickering problem too so it is a game problem.
https://steamcommunity.com/app/225540/discussions/0/485623406960295918/
https://steamcommunity.com/app/225540/discussions/0/487877107140165216/

my knowledge, it was with the latest wine version fixed.

RRarogCmex 2019-01-22 github

wine-4.0-rc7-esync-staging-amd64 + dxvk 0.95, system kernel linux-5.0.0-rc3 + mesa 19.0 (git) +llvm 7.0: issue still having.
Couldn't get the apitrace: game freezes when loading. Here is the launch log:
start.log

RRarogCmex 2019-01-22 github

Here is the log of apitrace try with vulkan debug enabled:
start.log

RRarogCmex 2019-01-22 github

Here is the log without apitrace but with vulkan layers and dxvk debug enabled:
JustCause3_dxgi.log
JustCause3_d3d11.log
start.log

Ddoitsujin maintainer 2019-01-22 github

Log files aren't useful to debug this problem at all. I need an apitrace to reproduce the problem.

RRarogCmex 2019-01-23 github

Yes, but sometime someone have slow internet connection ^)
Here's apitrace of freeze
https://yadi.sk/d/Cm4fLlYs37vRsA

Ddebiangamer 2019-01-28 github

Windows users have the flickering problem too so it is a game problem.
https://steamcommunity.com/app/225540/discussions/0/485623406960295918/
https://steamcommunity.com/app/225540/discussions/0/487877107140165216/

my knowledge, it was with the latest wine version fixed.

Those two links are from windows users, so small flickering is a game problem. Setting nvapi, nvapi64, nvenc and nvcuda off does not have effect with Mesa drivers. The game runs as good as in windows so play it.

Jjcfrosty 2019-06-18 github

https://github.com/ValveSoftware/Proton/issues/1295

So issues are occurring with Tokyo Xanadu eX+ as well. Everything ran perfectly with DXVK 1.0.X but ever since proton updated to DXVK to v1.1.1. The game flickers and is unplayable. the HUD is solid, the pause screen/menu works fine, the game start menu works great. Its just the game play portion that flickers black constantly.

Is there anyway I could help pin point the regression?

Thanks,
Frosty

Specs:
1800X 3.9Ghz OC
32G 3200mhz DDR4
Radeon VII
Sabayon Linux - 5.1 kernel, Mesa 19.1, libdrm 2.4.98, llvm8.0.0

?ghost 2019-06-25 github

Im closing this bug now because I'm not interested in the game anymore and I'm sure nothing will change here.