protonscr

F1 2021: Flickering in the main menu

vkd3dclosed
HansKristian-Work/vkd3d-proton#950 · opened 2021-12-30 by hakzsam · updated 2022-06-29 · 3 comments · github
Hhakzsam 2021-12-30 github

It seems the issue is related to a 16-bit depth format with 4 layers. Note that using RADV_DEBUG=nohiz and/or adding more flushes would fix it. The problem can also be reproduced with AMDGPU-PRO (just note that it seems to have a HUGE memleak, but if you are fast enough you can reach that point and reproduce the flickering).

How to reproduce in-game?

  • Go to the career -> My team -> Full season -> Use the recommended settings -> Skip -> Start Career

See the screenshot below.

https://i.imgur.com/RTL1ess.jpg

This can be reproduced with Mesa git and any older 21.X versions.

GPU: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
Renderdoc capture: https://people.freedesktop.org/~hakzsam/f1.rdc (v1.x/d6ef7d51a)

Interesting images are "Depth attachment 7395&7417", there is also some bookmarks in the capture that might help.

Please ask if you need more information.

HHansKristian-Work maintainer 2022-01-19 github

I've tried various combinations of vkd3d-proton and Mesa commits, but I'm unable to reproduce any flicker in that scene. I also cannot find anything obviously wrong w.r.t. barriers in that trace.

Hhakzsam 2022-06-29 github

Can no longer be reproduced since vkd3d-proton switched to dynamic rendering by default. I implemented a workaround earlier this year in RADV too, probably no longer useful as well.

Launch options