You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Impeller] Investigate remaining Flutter gallery performance issues on Vulkan/GLES. #132690
So I suspect the issue may be destroying command pools is stalling on the raster thread. We should re-arrange this code to use the resource manager if possible.
We noted this offline too, but just creating and deleting CommandPoolVK and command buffers may be faster than the synchronization that was added to try to cache them. Also it seems like maybe CommandPoolVK is built on the assumption that the command buffers need to be deleted on the raster thread which shouldn't be the case. Since the tracked objects is trying to delete it on the resource tracker thread, we should be able to delete them safely there.
changed the title [-][Impeller] investigate remaining Flutter gallery performance issues on Vulkan/Gles.[/-][+][Impeller] Investigate remaining Flutter gallery performance issues on Vulkan/GLES.[/+]on Aug 22, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
jonahwilliams commentedon Aug 18, 2023
The slow render pass encoding reproduces on a Pixel 7 as well. Here is a highly annotated trace:
In this case, GARBO2 is a trace event I added in the command pool recycler:
So I suspect the issue may be destroying command pools is stalling on the raster thread. We should re-arrange this code to use the resource manager if possible.
gaaclarke commentedon Aug 19, 2023
We noted this offline too, but just creating and deleting CommandPoolVK and command buffers may be faster than the synchronization that was added to try to cache them. Also it seems like maybe CommandPoolVK is built on the assumption that the command buffers need to be deleted on the raster thread which shouldn't be the case. Since the tracked objects is trying to delete it on the resource tracker thread, we should be able to delete them safely there.
[Impeller] Added recycled command buffers. (#44904)
Shrink image sizes of attachments in Reply app. (#996)
[-][Impeller] investigate remaining Flutter gallery performance issues on Vulkan/Gles.[/-][+][Impeller] Investigate remaining Flutter gallery performance issues on Vulkan/GLES.[/+][gallery] roll gallery to ecfb9e5352bd12032301b12b30d5853d83d89bda (#…
[Impeller] Added recycled command buffers. (flutter-team-archive#44904)
jonahwilliams commentedon Sep 25, 2023
Closing as a duplicate of #135443
github-actions commentedon Oct 9, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.