Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD RADV Just Cause 3 Flickering Textures #613

Closed
ghost opened this issue Aug 31, 2018 · 32 comments
Closed

AMD RADV Just Cause 3 Flickering Textures #613

ghost opened this issue Aug 31, 2018 · 32 comments

Comments

@ghost
Copy link

ghost commented Aug 31, 2018

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)

@doitsujin
Copy link
Owner

Apitrace?

@ghost
Copy link
Author

ghost commented Aug 31, 2018

what do you mean with that?

@doitsujin
Copy link
Owner

doitsujin commented Aug 31, 2018

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
Copy link
Author

ghost commented Aug 31, 2018

Okay i understand

@doitsujin
Copy link
Owner

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

@ghost
Copy link
Author

ghost commented Aug 31, 2018

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
Copy link
Author

ghost commented Aug 31, 2018

So I have now added all the necessary information.

@Tk-Glitch
Copy link
Contributor

Mesa 18.1 and llvm 6 won't cut it.

@ghost
Copy link
Author

ghost commented Aug 31, 2018

that means then?

@doitsujin
Copy link
Owner

doitsujin commented Sep 1, 2018

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
Copy link
Author

ghost commented Sep 1, 2018

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
Copy link
Author

ghost commented Sep 4, 2018

And found out something?

@ghost ghost changed the title AMD RADV Just Cause 3 Flickering Textures (Ger/Eng) AMD RADV Just Cause 3 Flickering Textures Sep 7, 2018
@vellfire
Copy link

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

@doitsujin
Copy link
Owner

doitsujin commented Sep 12, 2018

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.

@vellfire
Copy link

vellfire commented Sep 12, 2018

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.

@doitsujin
Copy link
Owner

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

@ghost
Copy link
Author

ghost commented Sep 13, 2018

@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"

@doitsujin
Copy link
Owner

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.

@C0rn3j
Copy link

C0rn3j commented Oct 31, 2018

EDIT: NVM - disabling nvenc and nvcuda solves the issue - #379 (comment)


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
Copy link
Author

ghost commented Nov 4, 2018

EDIT: NVM - disabling nvenc and nvcuda solves the issue - #379 (comment)

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

@ghost ghost changed the title (Ger/Eng) AMD RADV Just Cause 3 Flickering Textures AMD RADV Just Cause 3 Flickering Textures Nov 9, 2018
@RarogCmex
Copy link

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

@doitsujin
Copy link
Owner

doitsujin commented Nov 15, 2018

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.

@debiangamer
Copy link

@ghost
Copy link
Author

ghost commented Jan 13, 2019

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.

@RarogCmex
Copy link

RarogCmex commented Jan 22, 2019

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

@RarogCmex
Copy link

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

@RarogCmex
Copy link

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

@doitsujin
Copy link
Owner

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

@RarogCmex
Copy link

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

@debiangamer
Copy link

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.

@jcfrosty
Copy link

jcfrosty commented Jun 18, 2019

ValveSoftware/Proton#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
Copy link
Author

ghost commented Jun 25, 2019

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants