New issue
Advanced search Search tips

Issue 905534 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 905511
issue 906889

Blocking:
issue 906846



Sign in to add a comment

WebGL conformance integration tests should detect GPU context loss

Project Member Reported by kainino@chromium.org, Nov 15

Issue description

In the WebGL conformance integration tests, we detect GPU process crashes:
https://cs.chromium.org/chromium/src/content/test/gpu/gpu_tests/webgl_conformance_integration_test.py?l=203&rcl=ebc16b65e4922f22c2d2b3c37172c9541dc0f0af

But we need to also detect GPU context loss:
https://cs.chromium.org/chromium/src/gpu/command_buffer/common/constants.h?l=25&rcl=ebc16b65e4922f22c2d2b3c37172c9541dc0f0af
and possibly other gpu::error::Errors.

This problem was seen here:
https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_optional_gpu_tests_rel/11658
https://chromium-swarm.appspot.com/task?id=4129606e2ec4af10&refresh=10&show_raw=1

It APPEARS that the context is lost during blitframebuffer-size-overflow, but the subsequent test fails.

...
[7/139] gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_conformance2_rendering_blitframebuffer_size_overflow passed 0.0476s
[18852:18852:1113/205130.031757:ERROR:gles2_cmd_decoder.cc(16233)] Offscreen context lost via ARB/EXT_robustness. Reset status = GL_GUILTY_CONTEXT_RESET_KHR
[18852:18852:1113/205130.031796:ERROR:gles2_cmd_decoder.cc(5789)] Error: 5 for Command kTexImage2D
[18852:18852:1113/205130.031815:ERROR:gpu_channel_manager.cc(217)] Exiting GPU process because some drivers cannot recover from problems.
[18852:18852:1113/205130.031815:ERROR:gpu_channel_manager.cc(217)] Exiting GPU process because some drivers cannot recover from problems.
...
[8/139] gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_conformance2_rendering_blitframebuffer_test failed unexpectedly 7.1647s:

 
Blockedon: 905511
The context lost is also occasionally causing a GPU process crash due to a race. Fixing that race may correct when the context loss is reported here as well.
This tryjob received a context lost on WebglConformance_conformance2_rendering_blitframebuffer_size_overflow but did not cause a failure.
In this instance, however the subsequent test did NOT fail.

webgl2_conformance_tests on NVIDIA GPU on Linux (with patch) on Ubuntu Run on OS: 'Ubuntu'

https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_optional_gpu_tests_rel/11762

[16018:16018:1115/115658.649911:ERROR:gles2_cmd_decoder.cc(16233)] Offscreen context lost via ARB/EXT_robustness. Reset status = GL_GUILTY_CONTEXT_RESET_KHR
[16018:16018:1115/115658.649950:ERROR:gles2_cmd_decoder.cc(5789)] Error: 5 for Command kTexImage2D
[16018:16018:1115/115658.649969:ERROR:gpu_channel_manager.cc(217)] Exiting GPU process because some drivers cannot recover from problems.
[16018:16018:1115/115658.650066:ERROR:sync_point_manager.cc(318)] Client did not release sync token as expected
[16018:16018:1115/115658.675615:ERROR:shared_image_stub.cc(191)] SharedImageStub: context already lost
[16018:16018:1115/115658.676274:ERROR:shared_image_stub.cc(191)] SharedImageStub: context already lost
[15981:15981:1115/115658.677316:INFO:CONSOLE(0)] "WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost", source: http://127.0.0.1:34126/third_party/webgl/src/sdk/tests/conformance2/rendering/blitframebuffer-size-overflow.html?webglVersion=2 (0)
WebglConformance_conformance2_rendering_blitframebuffer_size_overflow was expected to fail, but passed.

[7/139] gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_conformance2_rendering_blitframebuffer_size_overflow passed 0.1247s
This COULD be because  issue 905511  was fixed between those runs, but it's not clear. It's probably flaky.
Blockedon: 906889
Blocking: 906846
 Issue 906882  has been merged into this issue.

Sign in to add a comment