Skip to content
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

F1 2021: Flickering in the main menu #950

Closed
hakzsam opened this issue Dec 30, 2021 · 3 comments
Closed

F1 2021: Flickering in the main menu #950

hakzsam opened this issue Dec 30, 2021 · 3 comments

Comments

@hakzsam
Copy link
Contributor

hakzsam commented Dec 30, 2021

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.

@hakzsam
Copy link
Contributor Author

hakzsam commented Dec 30, 2021

@HansKristian-Work
Copy link
Owner

HansKristian-Work commented Jan 19, 2022

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.

@hakzsam
Copy link
Contributor Author

hakzsam commented Jun 29, 2022

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.

@hakzsam hakzsam closed this as completed Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants