Updates:
Cc:
rom...@google.comComment #2 on issue 8688 by
abdolr...@google.com: modern_combat_5 consistently fails on Pixel 6 perf
https://bugs.chromium.org/p/angleproject/issues/detail?id=8688#c2Update:
* I was able to repro this on the `main` branch on a local Pixel 6 device with the old build (used by some of the bots). (It may need locking the clocks to repro.)
* However, the device can also crash when not hot. Not sure if the crash rate increases due to high temperature.
* The context-lost error is coming from vkQueueSubmit(), where there is a Vulkan device-lost error.
* I tried using vkQueueWaitIdle() after the submission to catch the device-lost, but I was unable to see a crash with this change.
* A fence-related message is logged in logcat before the crash, possibly as a result of the driver crashing, similar to below:
```
05-09 15:37:43.659 22982 23014 E Fence : waitForever: Throttling EGL Production: fence 132 didn't signal in 3000 ms
05-09 15:37:43.659 22982 23014 I Fence : waitForever: fence(mali-mali.timeline254955-262) status(0)
05-09 15:37:43.659 22982 23014 I Fence : waitForever: sync point: timeline(mali.timeline) drv(mali) status(0) timestamp(0.000000)
```
* The submissions that show the error seem to occur during the call glDrawElements(..., 1368, ...), and seems like the first submission of those frames (e.g., Frame 170). The submission before it is in between the frames during EGL_SwapBuffers().