Closed Bug 1963194 Opened 1 year ago Closed 1 year ago

webgl tests failing on samsung a55

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

in trying to migrate our android hardware unittests from pixel5 to a55 phones some webgl tests are failing.

A few things:

  • debug has a crash, it seems to be on dozens of tests
  • opt has an issue with test_renderer_strings, specifically: [ignore if not on CI] getParameter(renderer) -> 'Generic Renderer' must be in KNOWN_ON_CI. I have added Generic Renderer to the test case an still get a failure.

I will attach a WIP for this so the extent of the failure are more well documented.

:jgilbert, is there anything in the attached patch or info that could help reduce the need for so many skip-ifs?

Flags: needinfo?(jgilbert)
Blocks: 1948972

Bug 1940933 might fix the renderer strings issue?

:jnicol- yes Bug 1940933 seems to fix the renderer strings, here is the output:

[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-START | dom/canvas/test/webgl-mochitest/test_renderer_strings.html
[task 2025-05-02T19:49:41.816Z] 19:49:41  WARNING -  TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | [ignore if not on CI] getParameter(renderer) -> 'ANGLE (Samsung Xclipse 920) on Vulkan, or similar' must be in KNOWN_ON_CI
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      testKnownCiStrings@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:94:7
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      async*@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:226:9
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      @dom/canvas/test/webgl-mochitest/test_renderer_strings.html:231:3
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | [ignore if not on CI] getParameter(vendor) -> 'Mozilla' must be in KNOWN_ON_CI
[task 2025-05-02T19:49:41.816Z] 19:49:41  WARNING -  TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | [ignore if not on CI] getParameter(unmasked_renderer) -> 'ANGLE (Samsung Xclipse 530) on Vulkan 1.3.231' must be in KNOWN_ON_CI
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      testKnownCiStrings@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:94:7
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      async*@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:226:9
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      @dom/canvas/test/webgl-mochitest/test_renderer_strings.html:231:3
[task 2025-05-02T19:49:41.816Z] 19:49:41  WARNING -  TEST-UNEXPECTED-FAIL | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | [ignore if not on CI] getParameter(unmasked_vendor) -> 'Samsung Electronics Co., Ltd.' must be in KNOWN_ON_CI
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      testKnownCiStrings@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:94:7
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      async*@dom/canvas/test/webgl-mochitest/test_renderer_strings.html:226:9
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -      @dom/canvas/test/webgl-mochitest/test_renderer_strings.html:231:3
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | When pref disabled: Should not have access to 'WEBGL_debug_renderer_info'.
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | v92 behavior w/o ext: Was {"renderer":"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar","vendor":"Mozilla"}
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | With RFP: Should not have access to 'WEBGL_debug_renderer_info'.
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | RFP behavior: Was {"renderer":"Mozilla","vendor":"Mozilla"}
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | By default: Should have access to 'WEBGL_debug_renderer_info'.
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | v92 behavior: Was {"renderer":"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar","vendor":"Mozilla","unmasked_renderer":"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar","unmasked_vendor":"Google Inc."}
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | v91 behavior: Was {"renderer":"Mozilla","vendor":"Mozilla","unmasked_renderer":"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar","unmasked_vendor":"Google Inc."}
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | v90 behavior: Was {"renderer":"Mozilla","vendor":"Mozilla","unmasked_renderer":"ANGLE (NVIDIA, NVIDIA GeForce RTX 3070 Direct3D11 vs_5_0 ps_5_0, D3D11-27.21.14.5751)","unmasked_vendor":"Google Inc."}
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-PASS | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | Test complete.
[task 2025-05-02T19:49:41.816Z] 19:49:41     INFO -  TEST-OK | dom/canvas/test/webgl-mochitest/test_renderer_strings.html | took 302ms

this means that we have actual values to work with.

so we have two questions:

  1. when can 1940933 land? :)
  2. how to fix the crashes we see on debug.

The logcat seems to show the debug crash is an assertion when failing to parse the renderer string, so I think it should also be fixed by the same bug.

Nothing blocking landing it I think it just fell off our radar. Kelsey, are you able to re-review it? I believe I made the changes you previously requested.

great, I can make some adjustments once bug 1940933 lands. Thanks for the help so far

Depends on: 1940933
Depends on: 1965276
Attachment #9481608 - Attachment is obsolete: true
Severity: -- → S4
Flags: needinfo?(jgilbert)
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #9486311 - Attachment description: WIP: Bug 1963194 - green up and migrate mochitest-webgl from android pixel5 -> a55. → Bug 1963194 - green up and migrate mochitest-webgl from android pixel5 -> a55.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: