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

[TESTERS NEEDED] vk: Explicitly declare null subpass dependencies #7487

Merged
merged 2 commits into from Feb 15, 2020

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Feb 15, 2020

Turns out to properly remove subpass dependencies you have to declare at least two.
Seeks to address https://gitlab.freedesktop.org/mesa/mesa/issues/2502

@ghost
Copy link

ghost commented Feb 15, 2020

Unfortunately this doesn't fix the big performance loss on my RX580 since this commit in mesa https://gitlab.freedesktop.org/mesa/mesa/commit/e60de085473174e5a6b5a1e33e39006e62f5c786

@kd-11 kd-11 changed the title vk: Explicitly declare null subpass dependencies [WIP] vk: Explicitly declare null subpass dependencies Feb 15, 2020
@kd-11
Copy link
Contributor Author

kd-11 commented Feb 15, 2020

Which is the first version of mesa affected? Does 19.3.4 have this issue?
EDIT: That version seems fine.

- We do not want any actual dependencies, but it turns out removing them
  entirely makes the driver add even worse dependencies.
@kd-11 kd-11 changed the title [WIP] vk: Explicitly declare null subpass dependencies [TESTERS NEEDED] vk: Explicitly declare null subpass dependencies Feb 15, 2020
@kd-11
Copy link
Contributor Author

kd-11 commented Feb 15, 2020

Ok, there was a copypasta issue there with the bottom_of_pipe stage flag, resolved now. I checked on my end and performance is back to normal, but there are many other driver vendors and thorough testing is encouraged. Check for any difference (vs master and/or older drivers) in terms of fps or RSX load percentage (can be seen by setting overlay detail to high).

@ghost
Copy link

ghost commented Feb 15, 2020

Performance back to normal for me on mesa. Thanks kd-11.

@kd-11
Copy link
Contributor Author

kd-11 commented Feb 15, 2020

That is good news. Thanks for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant