protonscr

GTA V white spot/cursor issue in cutscenes (maybe DoF related)

dxvkclosed bug
doitsujin/dxvk#712 · opened 2018-10-18 by fls2018 · updated 2018-11-27 · 13 comments · github
Ffls2018 2018-10-18 github

I reported this issue on the Proton github but chances are the issue is more related to recent dxvk changes.

Mainly in cut scenes there is a white dot/cursor that floats on screen, here's an example (by the yellow fire hydrant):

gta

Rolling back Proton to 3.7.8 makes it go away, as well as maybe disabling in game DoF in the options (more testing needed on this).

It's only a small issue, game runs perfectly otherwise.

Software information

GTA V, Mostly max settings /w 2x MSAA (ingame DoF enabled).

System information

  • GPU: GTX 1070
  • Driver: 396.54.09
  • Wine version: Proton 3.16-3 beta
  • DXVK version: 0.90 (Proton)
Ddoitsujin maintainer 2018-10-18 github

Can you please

  • either bisect DXVK to find out which commit introduce the issue,
  • or provide an apitrace as documented on the Wiki

I don't have access to the game at the moment, so I cannot debug it.

Llibcg 2018-10-21 github

I'm able to reproduce it on RADV:
screenshot from 2018-10-20 18-59-42

Could be a game bug, I'll look into it when I have some time.

Ddoitsujin maintainer 2018-10-21 github

Can you try to record a trace? This is going to be an incredibly hard to debug as it is since this is probably a very subtle numerical issue in one of the shaders and I'm not even sure if it can be fixed, but right now I'm not even allowed to start the game thanks to Rockstar being stupid.

Ffls2018 2018-10-21 github

Don't know if I can do an app trace as it requires DXVK to start up.

This issue only popped up with the whole transform feedback thing, maybe something to do with how new changes interact with the in game depth of field.

Ppedrofleck 2018-10-29 github

I have this problem too, I thought it maybe was related to subtitles, it looks like a dot from the text.

Ddoitsujin maintainer 2018-10-29 github

@fls2018 The game doesn't use transform feedback and it has been confirmed to happen on drivers that don't even support it.

If it's a DXVK regression, please bisect it to figure out which commit introduces the issue.

JJamesChenChina 2018-11-19 github

How to play GTA-V on Ubuntu 16.04?
Could you please show a detailed instruction?
e.g. wine version and link ,dxvk version, vulkan version and other requirements. I have updated nvidia driver to 396.54.09.
Many thanks!

Llibcg 2018-11-26 github

It looks like the regression happened with 161fb621

Author: Philip Rebohle <[email protected]>
Date:   Thu Sep 27 16:50:34 2018 +0200

    [d3d11] Optimize UAV binding
    
    - UpdateBuffer is faster than ClearBuffer for small updates.
    - We shouldn't dispatch *two* CS commands for each UAV, one is enough.```
Ddoitsujin maintainer 2018-11-26 github

So reverting that commit fixes the issue? Any chance you can record an apitrace?

I'd like to understand why this is broken. Just by looking at the code I don't see any obvious bug.

Llibcg 2018-11-26 github

Yes it looks like master + 161fb62 reverted makes the issue disappear. I'll record a trace soon.

Ddoitsujin maintainer 2018-11-26 github

Can you test 08b403f65507f4beac47d7d6816bad243cd811e9? Closer inspection did actually reveal a subtle bug introduced by the optimization.

Llibcg 2018-11-27 github

That fixed the issue. :+1:

@fls2018 what was the issue you reported on the Proton side? I think you can close it.

Ddoitsujin maintainer 2018-11-27 github

Thanks for testing, closing the issue.

Proton versions