protonscr

[d3d9] Flickering rectangles in Starcraft 2 when post-processing is set to ultra.

dxvkclosed d3d9
doitsujin/dxvk#2338 · opened 2021-10-18 by Venemo · updated 2022-08-08 · 9 comments · github
1 matching comments, n / p to jump
VVenemo 2021-10-18 github

I use Lutris to play Starcraft 2. When post-processing is set to ultra, some strange flickering rectangles appear on the screen.

Screenshot from 2021-10-18 12-20-37

Software information

  • Fedora 34, Gnome 40.4, mesa 21.1.8
  • Starcraft 2

System information

  • GPU: AMD RX 6900XT
  • Driver: RADV (mesa 21.1.8)
  • Wine version: lutris-fshack-6.14-4-x86_64
  • DXVK version: 1.9.2L

Apitrace file(s)

  • Put a link here

Log files

Ddoitsujin maintainer 2021-10-18 github

Does this happen with PR #2294 as well?

KK0bin maintainer 2021-10-18 github

image

Might be a driver bug.

VVenemo 2021-10-18 github

According to the discussion on Discord, this is the "good old sampling from render target issue", which is going to be solved by VK_VALVE_attachment_feedback_loop_layout in the future.

VVenemo 2021-10-18 github

A possible workaround until then is to use RADV_DEBUG=nodcc or simply not to use ultra settings in the game.

BBlisto91 2022-06-11 github

The earliest radv driver i was able to get working was 21.2.5 (If i remember correctly) and i wasn't able to reproduce this. This was on a R9 380, dxvk 1.9.2 (used along with proton 7.0-2) and with ultra/extreme graphics (also post processing). Unless a game update got rid of it or a driver update fixed it then it might be card/gen specific issue.

Edit: i peeked at the discord talk, but i don't understand much of it except the agreement was that a new extension was needed hehe. :grin: So maybe i'm missing something obvious.

VVenemo 2022-06-14 github

@Joshua-Ashton Can you confirm that the "good old sampling from render target issue" was solved? This was about VK_VALVE_attachment_feedback_loop_layout as far as I remember.

VVenemo 2022-06-14 github

Or maybe the reworked float emulation has fixed this?

DDadSchoorse 2022-06-14 github

Yes this is about feedback loops. It's only an issue in practice on GFX10+(rdna/rdna2) because dxvk's current feedback hazard detection uses VK_IMAGE_LAYOUT_GENERAL, which causes dcc decompression on older gpus. So it makes sense that @Blisto91 can't reproduce the issue on GFX8.

Ddoitsujin maintainer 2022-08-08 github

Should be fixed with attachment_feedback_loop_layout.

Proton versions

Launch options