Disabling reflections in Assetto Corsa causes image artifacts and general GPU instability.
https://drive.google.com/open?id=1yvh6uJg-p0IMrEo9bropR-KVCLIc_UEX
In case of GPU hangs, please check #252.
When replaying the trace I pretty much instantly get a GPU hang, is that what happens in the game as well or is this an additional issue caused by apitrace? (this sometimes happens as well, just want to make sure)
The results vary for me: sometimes apitrace renders until the end (leaving every other window in X frozen), sometimes it hangs at the start. I am able to see artifacts (the first few frames after the loading screen) in the apitrace before the hang, however. The game is more stable, but eventually it hangs as well. During this one of my cores is at 100% constantly, no matter the scene.
This apitrace was made under wine, if that matters.
Do you have access to a Windows machine, and if so, can you record an apitrace there? Something's fishy there.
The GPU hang occurs because the game tries to create a texture with a size of 0x0, and DXVK doesn't return the appropriate error code. This is fixed with 837a3f5787c23e4b583ce6cdbca8fe1d8a4b5be6, and replaying the apitrace will now crash because the texture cannot be created.
Update: I got a Windows trace from someone else, and it appears that the game creates a 2048x2048 texture where it creates a 0x0 texture in your trace. No idea why though.
Does the game now work correctly with latest master or are there still issues?
Do you have access to a Windows machine, and if so, can you record an apitrace there?
I'm sorry, I don't have a Windows machine. I can set up dual-boot in a few hours, though.
Does the game now work correctly with latest master or are there still issues?
The game freezes on loading screen with current master (https://github.com/doitsujin/dxvk/commit/837a3f5787c23e4b583ce6cdbca8fe1d8a4b5be6).
I got a Windows trace from someone else, and it appears that the game creates a 2048x2048 texture where it creates a 0x0 texture in your trace
Are reflections disabled in that apitrace?
If I set the "reflection quality" to anything other than "none" the game runs completely fine for me.
Are reflections disabled in that apitrace?
I asked and got another one with reflections disabled this time. The game does indeed try to create a 0x0 texture and keeps using it, which results in errors and silently dropped calls with native D3D11 but caused DXVK to crash.
Should be fixed in a95f292dcce681269654576d657b5dcb675540d7, please test if it works now.
https://github.com/doitsujin/dxvk/commit/a95f292dcce681269654576d657b5dcb675540d7 fails to build for me: https://pastebin.com/RYVG8Jgp
Am I doing something wrong?
Sorry, my fault. Should be fixed now.
https://github.com/doitsujin/dxvk/commit/35238ec4d11cbf280209fab82ec2f85879e4c128 completely resolves the issue for me: no artifacting, no previous GPU issues.
Thanks for the quick feedback.
Most helpful comment
Thanks for the quick feedback.