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

Arma Reforger Heavy Foliage Artifacting #2031

Open
kit-the-cat-skelanimal-plush opened this issue Jun 27, 2024 · 11 comments
Open

Arma Reforger Heavy Foliage Artifacting #2031

kit-the-cat-skelanimal-plush opened this issue Jun 27, 2024 · 11 comments

Comments

@kit-the-cat-skelanimal-plush

In Arma Reforger rocks and foliage will completely glitch out when around 100% GPU usage. Does not happen on every instance of the game, I'd say it shows up about every 1 in 2, maybe 2 in 3 launches. The only thing that stops it is limiting the framerate, but that fails once the GPU usage increases to 100% during heavy gameplay moments.

https://youtu.be/RdhsNIctri8?si=8Zz4HWHwiVfpqL3Y

This is a video of it happening. The subtitles can be ignored, I wrongly attributed it to framerate rather than GPU usage.

Software information

Arma Reforger, happens on all settings configurations and game versions.

System information

  • GPU: Nvidia RTX 3060 Ti
  • Driver: Nvidia proprietary driver 545, also happens on previous driver versions.
  • Wine version: Steam Proton Experimental bleeding edge, but happens on any Proton version that will launch the game.
  • VKD3D-Proton version: 2.13, previous versions as well.

Log files

steam-1874880.log

@HansKristian-Work
Copy link
Owner

@runar-work reproduced it.

@runar-work
Copy link
Contributor

runar-work commented Jul 2, 2024

I wasn't able to reproduce this with the 555 drivers on RTX 3070, so give that a try. 555.58.02 is the most recent I checked.

@kit-the-cat-skelanimal-plush
Copy link
Author

Thanks, will try.

@kit-the-cat-skelanimal-plush
Copy link
Author

kit-the-cat-skelanimal-plush commented Jul 2, 2024

Looks like the 555 driver works! Tested very extensively launching the game 15 or so times, worked perfectly. Still reproduces easily on 545, so it must be a bug that's been since patched. Anyways, thanks so much for the help! Should this be closed now since it appears to just be a driver issue?

Edit: Nevermind, I launched the game again and it is indeed still happening. Somehow wasn't happening for the first 15 times I launched the game :/

@runar-work
Copy link
Contributor

Huh. Strangely enough I also reproduced again after roughly the same number of launches. Thanks for the feedback. I'll switch back to 545 and poke at this a bit more.

@kit-the-cat-skelanimal-plush
Copy link
Author

Thanks a ton for the help!

@runar-work
Copy link
Contributor

I found a compute shader that seems to do the ground work for the flower drawing, 3ca95f6902bd3478. It does have some barriers, but not in the biggest of the loops, so I added one there and could no longer reproduce the issue. Without the shader override the glitch always reproduces on the second launch after I delete the pipeline cache.

Here's the original dumped shader and the edited version: 3ca95f6902bd3478.zip

@kit-the-cat-skelanimal-plush
Copy link
Author

How would I go about trying the edited version? Sorry I'm not very good with this kind of stuff :P

@runar-work
Copy link
Contributor

Ah, sorry, I meant to tag Hans-Kristian on that comment. The goal, if it's possible, is to find some way to fix this in vkd3d-proton so you won't need to do any acrobatics. So far the easy workarounds involve reducing performance in some way, like adding VKD3D_SWAPCHAIN_LATENCY_FRAMES=1 to launch options, which obviously isn't ideal.

@adolfintel
Copy link

Is this an UE5 game? I noticed the same issue in Talos Principle 2, on AMD, in a couple of spots in the west 2 and west 3 areas when looking at the grass from certain angles or when zooming in, I thought it was a game bug but it looks the same as this.

example.mp4

@kit-the-cat-skelanimal-plush
Copy link
Author

@adolfintel It runs on a proprietary engine made by the devs called Enfusion. That is a very similar looking bug, although in Arma Reforger it doesn't seem have to do with the angle you view the grass from.

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

4 participants