-
Notifications
You must be signed in to change notification settings - Fork 851
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
[d3d11][regresion] Genshin Impact broken lightning with defrag #4395
Comments
Is there a way to actually like debug this? I can't really go off a screenshot. |
Try to make a apitrace of a affected area https://github.com/doitsujin/dxvk/wiki/Using-Apitrace |
Gonna need detailed instructions on how to reproduce this in game. Been running around in some early areas including some buildings in the first city and it looks fine with defrag on and off, but please keep in mind that I don't really play this game, I don't have access to everything. |
Reproducing this seems inconsistent, the moment i restart the game to do the trace it solves itself. I managed to make apitrace work with the game, if i find a consistent trigger i'll upload a trace |
This is why I'm trying to reproduce this locally, I can play around with the code to make defrag more aggressive but for that I need to know an area where the problem reproduces somewhat consistently. So far I haven't been able to find one. |
Here's a branch which essentially moves everything around all the time, should trigger the problem more reliably: https://github.com/doitsujin/dxvk/tree/frog Still looks fine here though. |
Got a trace with the frog branch, i had to run around to trigger it, it happens in the last seconds of the trace when i enter the tabern. https://share.mailbox.org/ajax/share/058a246a007fa64b51ac93807fa64f8eb4af6c9b7c206432/1/8/MzQ/MzQvMg That place should be accesible from the start of the game, but i only managed to trigger it after jumping around, reproducing this will require some teleport points unlocked probably. |
That seems right, when it triggers it looks like the first screenshot, with no lightning anywhere in the scene. |
Do you know if ANV exposes a transfer queue on your GPU? This should be apparent from the DXVK logs. I still haven't managed to reproduce this at all and I'm starting to suspect driver memes. |
I've attached the logs plus vulkaninfo output, but the relevant parts seems this:
There is an option (ANV_QUEUE_OVERRIDE) to force queue support in the driver but enabling anything outside default settings breaks everything (more so since they enabled sparse binding). GenshinImpact_d3d11.log |
That's a firm no and rules out one of the theories I had. That said, I have another suspicion. The game copies an I updated the |
Yeah I'm pretty much out of ideas then. I don't have solid proof for this being an ANV bug either, but so far no one seems to have been able to reproduce this on all sorts of other hardware (and drivers; I've thrown AMDVLK at it for good measure and even that works just fine here). |
With current master dxvk lightning breaks in certain spaces, specially indoors
Disabling defrag with DXVK_CONFIG="dxvk.enableMemoryDefrag = false" fixes it
Software information
Genshin Impact 5.1
Max quality settings
System information
The text was updated successfully, but these errors were encountered: