Closed Bug 1721190 Opened 3 years ago Closed 3 years ago

Allow fallback from WR to SW-WR on Android

Categories

(Core :: Graphics: WebRender, task, P1)

All
Android
task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox90 --- disabled
firefox91 --- wontfix
firefox92 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Blocks: wr-android
Severity: S3 → S2
Priority: P3 → P1
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f0914306ef83 Allow fallback from WR to SW-WR on Android. r=jrmuizel

Comment on attachment 9231947 [details]
Bug 1721190 - Allow fallback from WR to SW-WR on Android.

Beta/Release Uplift Approval Request

  • User impact if declined: SW-WR won't be enabled for any users in 91 by default
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This should have been in 91 beta already. Very few users in nightly/beta get SW-WR, so we haven't missed much in testing coverage.
  • String changes made/needed:
Attachment #9231947 - Flags: approval-mozilla-beta?

Backed out for geckoview failures on profileLocked

[task 2021-07-19T16:56:56.966Z] 16:56:56     INFO -  TEST-START | org.mozilla.geckoview.test.ProfileLockedTest.profileLocked
[task 2021-07-19T16:57:26.979Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: numtests=795
[task 2021-07-19T16:57:26.980Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stream=
[task 2021-07-19T16:57:26.980Z] 16:57:26     INFO -  org.mozilla.geckoview.test | Error in profileLocked(org.mozilla.geckoview.test.ProfileLockedTest):
[task 2021-07-19T16:57:26.980Z] 16:57:26     INFO -  org.mozilla.geckoview.test | java.util.concurrent.TimeoutException
[task 2021-07-19T16:57:26.981Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.GeckoResult.poll(GeckoResult.java:834)
[task 2021-07-19T16:57:26.981Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.GeckoResultTestKt.pollDefault(GeckoResultTest.kt:16)
[task 2021-07-19T16:57:26.981Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.ProfileLockedTest.profileLocked(ProfileLockedTest.kt:98)
[task 2021-07-19T16:57:26.981Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-07-19T16:57:26.982Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-07-19T16:57:26.982Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-07-19T16:57:26.982Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-07-19T16:57:26.982Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-07-19T16:57:26.982Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
[task 2021-07-19T16:57:26.983Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
[task 2021-07-19T16:57:26.983Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[task 2021-07-19T16:57:26.983Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[task 2021-07-19T16:57:26.983Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[task 2021-07-19T16:57:26.983Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[task 2021-07-19T16:57:26.984Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[task 2021-07-19T16:57:26.984Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[task 2021-07-19T16:57:26.984Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[task 2021-07-19T16:57:26.984Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[task 2021-07-19T16:57:26.984Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[task 2021-07-19T16:57:26.985Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:104)
[task 2021-07-19T16:57:26.985Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.Suite.runChild(Suite.java:128)
[task 2021-07-19T16:57:26.985Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.Suite.runChild(Suite.java:27)
[task 2021-07-19T16:57:26.985Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[task 2021-07-19T16:57:26.985Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[task 2021-07-19T16:57:26.986Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[task 2021-07-19T16:57:26.987Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56)
[task 2021-07-19T16:57:26.987Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:388)
[task 2021-07-19T16:57:26.987Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
[task 2021-07-19T16:57:26.987Z] 16:57:26     INFO -  org.mozilla.geckoview.test |
[task 2021-07-19T16:57:26.987Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
[task 2021-07-19T16:57:26.988Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: test=profileLocked
[task 2021-07-19T16:57:26.988Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: class=org.mozilla.geckoview.test.ProfileLockedTest
[task 2021-07-19T16:57:26.988Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: stack=java.util.concurrent.TimeoutException
[task 2021-07-19T16:57:26.988Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.GeckoResult.poll(GeckoResult.java:834)
[task 2021-07-19T16:57:26.988Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.GeckoResultTestKt.pollDefault(GeckoResultTest.kt:16)
[task 2021-07-19T16:57:26.989Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.mozilla.geckoview.test.ProfileLockedTest.profileLocked(ProfileLockedTest.kt:98)
[task 2021-07-19T16:57:26.989Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at java.lang.reflect.Method.invoke(Native Method)
[task 2021-07-19T16:57:26.989Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2021-07-19T16:57:26.989Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2021-07-19T16:57:26.989Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2021-07-19T16:57:26.990Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2021-07-19T16:57:26.990Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
[task 2021-07-19T16:57:26.990Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
[task 2021-07-19T16:57:26.990Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[task 2021-07-19T16:57:26.990Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[task 2021-07-19T16:57:26.991Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[task 2021-07-19T16:57:26.991Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[task 2021-07-19T16:57:26.991Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[task 2021-07-19T16:57:26.991Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[task 2021-07-19T16:57:26.991Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[task 2021-07-19T16:57:26.992Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[task 2021-07-19T16:57:26.992Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[task 2021-07-19T16:57:26.992Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.ext.junit.runners.AndroidJUnit4.run(AndroidJUnit4.java:104)
[task 2021-07-19T16:57:26.992Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.Suite.runChild(Suite.java:128)
[task 2021-07-19T16:57:26.992Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.Suite.runChild(Suite.java:27)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[task 2021-07-19T16:57:26.993Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[task 2021-07-19T16:57:26.994Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[task 2021-07-19T16:57:26.994Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[task 2021-07-19T16:57:26.994Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56)
[task 2021-07-19T16:57:26.994Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:388)
[task 2021-07-19T16:57:26.994Z] 16:57:26     INFO -  org.mozilla.geckoview.test | 	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1932)
[task 2021-07-19T16:57:26.995Z] 16:57:26     INFO -  org.mozilla.geckoview.test |
[task 2021-07-19T16:57:26.995Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS: current=421
[task 2021-07-19T16:57:26.995Z] 16:57:26     INFO -  org.mozilla.geckoview.test | INSTRUMENTATION_STATUS_CODE: -2
[task 2021-07-19T16:57:26.995Z] 16:57:26     INFO -  Printing logcat for test:
[task 2021-07-19T16:57:27.144Z] 16:57:27     INFO -  None
[task 2021-07-19T16:57:27.144Z] 16:57:27  WARNING -  TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.ProfileLockedTest.profileLocked | java.util.concurrent.TimeoutException
[task 2021-07-19T16:57:27.144Z] 16:57:27     INFO -  TEST-INFO took 30178ms
Flags: needinfo?(aosmond)

Timing out here:

https://searchfox.org/mozilla-central/rev/70a94bffbb73d2b0ba751fb3905428fdbcd4d402/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ProfileLockedTest.kt#98

So it doesn't ever launch. The strange thing here is that this isn't a WR variant of the test, so the changing of the fallback pref shouldn't make a difference. If I assume for a moment we are indeed getting WR anyways, the WR variants of this same test do pass. This doesn't add up.

Flags: needinfo?(aosmond)
07-19 17:30:57.800  5888  5888 D GeckoThread: State changed to LAUNCHED
07-19 17:30:57.801  5888  5904 I GeckoThread: preparing to run Gecko
07-19 17:30:57.836  5862  5879 D GeckoViewStartup: observe: app-startup
07-19 17:30:57.896  5862  5879 I GeckoConsole: No chrome package registered for chrome://browser/content/built_in_addons.json
07-19 17:30:57.924  5862  5879 I Gecko   : [Parent 5862, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/protocol/res/SubstitutingProtocolHandler.cpp:415
07-19 17:30:57.924  5862  5879 I Gecko   : [Parent 5862, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/dom/fetch/FetchDriver.cpp:636
07-19 17:30:57.954  5862  5879 D GeckoThread: State changed to PROFILE_READY
07-19 17:30:57.967  5862  5879 D GeckoViewStartup: observe: profile-after-change
07-19 17:30:57.970  5862  5879 D GeckoThread: State changed to RUNNING
07-19 17:30:58.004  5862  5879 E GeckoConsole: [JavaScript Error: "Error: File resource://default-theme/ does not contain a valid manifest" {file: "resource://gre/modules/addons/XPIInstall.jsm" line: 669}]
07-19 17:30:58.004  5862  5879 E GeckoConsole: [JavaScript Error: "Error: File resource://default-theme/ does not contain a valid manifest" {file: "resource://gre/modules/addons/XPIInstall.jsm" line: 669}]
07-19 17:30:58.005  5862  5879 I Gecko   : nsWindow[0x7bf36ea84000]::Create 0x0 [0 0 1 1]
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticStringField MODEL
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticStringField PRODUCT
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticStringField MANUFACTURER
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticIntField SDK_INT
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticStringField HARDWARE
07-19 17:30:58.005  5862  5879 I Gecko   : AndroidBridge::GetStaticStringField RELEASE
07-19 17:30:58.007  5862  5879 D         : HostConnection::get() New Host Connection established 0x7bf36e61f580, tid 5879
07-19 17:30:58.008  5862  5879 E EGL_emulation: tid 5879: eglBindAPI(1132): error 0x300c (EGL_BAD_PARAMETER)
07-19 17:30:58.008  5862  5879 I Gecko   : [Parent 5862, Main Thread] WARNING: Failed to bind API to GL!: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:637
07-19 17:30:58.008  5862  5879 I Gecko   : [Parent 5862, Main Thread] WARNING: Failed to create GLContext from PBuffer: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:1180
07-19 17:30:58.015  5862  5879 D EGL_emulation: eglCreateContext: 0x7bf36e6ad620: maj 2 min 0 rcv 2
07-19 17:30:58.015  5862  5879 I Gecko   : Initializing context 0x7bf36e623680 surface 0x7bf36e6ca300 on display 0x1
07-19 17:30:58.016  5862  5879 D EGL_emulation: eglMakeCurrent: 0x7bf36e6ad620: ver 2 0 (tinfo 0x7bf36e6c05e0)
07-19 17:30:58.018  5862  5879 I Gecko   : [Parent 5862, Main Thread] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:628
07-19 17:30:58.019  5862  5879 I Gecko   : Destroying context 0x7bf36e623680 surface 0x7bf36e6ca300 on display 0x1
07-19 17:30:58.020  5862  5879 I Gecko   : AndroidBridge::getScreenSize
07-19 17:30:58.027  5862  5918 D         : HostConnection::get() New Host Connection established 0x7bf36e61f880, tid 5918
07-19 17:30:58.028  5862  5918 E EGL_emulation: eglCreateContext: EGL_BAD_CONFIG: no ES 3 support
07-19 17:30:58.028  5862  5918 E EGL_emulation: tid 5918: eglCreateContext(1404): error 0x3005 (EGL_BAD_CONFIG)
07-19 17:30:58.028  5862  5918 I Gecko   : [Parent 5862, Unnamed thread 7bf34a296680] WARNING: Failed to create EGLContext with required_attribs: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:758
07-19 17:30:58.028  5862  5918 I Gecko   : [GFX1-]: Failed to create EGLContext!: 0x3005
07-19 17:30:58.028  5862  5918 I Gecko   : [GFX1-]: Failed GL context creation for hardware WebRender: true
07-19 17:30:58.030  5862  5918 E EGL_emulation: eglCreateContext: EGL_BAD_CONFIG: no ES 3 support
07-19 17:30:58.030  5862  5918 E EGL_emulation: tid 5918: eglCreateContext(1404): error 0x3005 (EGL_BAD_CONFIG)
07-19 17:30:58.030  5862  5918 I Gecko   : [Parent 5862, Unnamed thread 7bf34a296680] WARNING: Failed to create EGLContext with required_attribs: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:758
07-19 17:30:58.030  5862  5918 I Gecko   : [GFX1-]: Failed to create EGLContext!: 0x3005
07-19 17:30:58.030  5862  5918 I Gecko   : [GFX1-]: Failed GL context creation for hardware WebRender: true
07-19 17:30:58.043  5862  5918 E EGL_emulation: eglCreateContext: EGL_BAD_CONFIG: no ES 3 support
07-19 17:30:58.043  5862  5918 E EGL_emulation: tid 5918: eglCreateContext(1404): error 0x3005 (EGL_BAD_CONFIG)
07-19 17:30:58.043  5862  5918 I Gecko   : [Parent 5862, Unnamed thread 7bf34a296680] WARNING: Failed to create EGLContext with required_attribs: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:758
07-19 17:30:58.043  5862  5918 I Gecko   : [GFX1-]: Failed to create EGLContext!: 0x3005
07-19 17:30:58.043  5862  5918 I Gecko   : [GFX1-]: Failed GL context creation for hardware WebRender: true
07-19 17:30:58.043  5862  5918 I Gecko   : [GFX1-]: Failed to get shared GL context
07-19 17:30:58.043  5862  5918 I Gecko   : [GFX1-]: FEATURE_FAILURE_WEBRENDER_INITIALIZE_UNSPECIFIED
07-19 17:30:58.044  5862  5879 I Gecko   : [GFX1-]: Failed to connect WebRenderBridgeChild.
07-19 17:30:58.045  5862  5927 I Gecko   : [Parent 5862, Unnamed thread 7bf34a296350] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:370
07-19 17:30:58.045  5862  5879 I Gecko   : [GFX1-]: Fallback WR to SW-WR
07-19 17:30:58.049  5862  5918 D EGL_emulation: eglCreateContext: 0x7bf36e6ad800: maj 2 min 0 rcv 2
07-19 17:30:58.049  5862  5918 I Gecko   : Initializing context 0x7bf36e623a80 surface 0x0 on display 0x1
07-19 17:30:58.050  5862  5918 D EGL_emulation: eglMakeCurrent: 0x7bf36e6ad800: ver 2 0 (tinfo 0x7bf36e6c07c0)
07-19 17:30:58.054  5862  5918 I Gecko   : [Parent 5862, Unnamed thread 7bf34a296680] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:628
07-19 17:30:58.064  5862  5918 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
07-19 17:30:58.065  5862  5918 E emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glBindFramebuffer:2245 GL error 0x500
07-19 17:30:58.066  5862  5918 F MOZ_CRASH: Hit MOZ_CRASH(Caught GL error 500 at bind_framebuffer) at gfx/wr/webrender/src/device/gl.rs:1417
--------- beginning of crash
07-19 17:30:58.066  5862  5918 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 5918 (Renderer)
07-19 17:30:58.066  1296  1296 W         : debuggerd: handling request: pid=5862 uid=10062 gid=10062 tid=5918
07-19 17:30:58.125  5930  5930 E DEBUG   : unexpected waitpid response: n=5918, status=00000b00
07-19 17:30:58.125  5930  5930 E         : debuggerd: timed out waiting for signal
07-19 17:30:58.126  5930  5930 E         : debuggerd: ptrace detach from 5918 failed: No such process
07-19 17:30:58.126  5930  5930 E         : debuggerd: failed to kill process 5862: No such process
07-19 17:30:58.127  1296  1296 W         : debuggerd: resuming target 5862

It appears there is evidence the QR variants of the tests fall back to basic:

07-19 17:31:25.919  7953  7968 I Gecko   : [GFX1-]: Failed to connect WebRenderBridgeChild.
07-19 17:31:25.919  7953  7968 I Gecko   : [Child 7953, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2832

So by shifting it to try SW-WR first, we hit a crash perhaps?

One of the passing logs for the debug WR variant shows it successfully initialized however:

07-19 17:28:59.585  3148  3163 I TestRunner: started: profileLocked(org.mozilla.geckoview.test.ProfileLockedTest)
07-19 17:28:59.585  3148  3167 D GeckoViewNavigation: onDisable
07-19 17:28:59.586  3148  3167 D GeckoViewProcessHangMonitor: onDisable
07-19 17:28:59.586  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.586  3148  3148 I MonitoringInstr: Activities that are still in CREATED to STOPPED: 0
07-19 17:28:59.587  3148  3167 D GeckoViewProcessHangMonitor: onDestroy
07-19 17:28:59.587  7054  7069 D GeckoViewSelectionActionDelegate[C]: handleEvent: visibilitychange
07-19 17:28:59.587  3148  3167 D GeckoViewProgress: onDisable
07-19 17:28:59.587  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.588  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.589  3148  3167 D GeckoViewMediaControl: onDisable
07-19 17:28:59.589  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.593  7091  7091 I art     : Not late-enabling -Xcheck:jni (already on)
07-19 17:28:59.593  7054  7069 D GeckoViewMediaControl[C]: onDisable
07-19 17:28:59.593  7091  7091 W art     : Unexpected CPU variant for X86 using defaults: x86_64
07-19 17:28:59.595  3148  3221 D EGL_emulation: eglMakeCurrent: 0x71ddd49a5060: ver 3 0 (tinfo 0x71ddb3c6c000)
07-19 17:28:59.595  3148  3221 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
07-19 17:28:59.595  7054  7069 D GeckoViewSelectionActionDelegate[C]: handleEvent: visibilitychange
07-19 17:28:59.595  7054  7069 D GeckoViewAutofill[C]: handleEvent: pagehide
07-19 17:28:59.596  7054  7069 D GeckoViewAutofill: Clearing auto-fill
07-19 17:28:59.598  1617  2110 I ActivityManager: Start proc 7091:org.mozilla.geckoview.test:profiletest0/u0a62 for service org.mozilla.geckoview.test/.TestProfileLockService$p0
07-19 17:28:59.603  7054  7069 I Gecko   : [Child 7054, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:40
07-19 17:28:59.603  7054  7069 I Gecko   : [Child 7054, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:40
07-19 17:28:59.606  3148  3230 I Gecko   : [Parent 3148, Unnamed thread 71ddb29a9350] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:370
07-19 17:28:59.607  3148  3167 I Gecko   : nsWindow[0x71dd9d074800]::Show 0
07-19 17:28:59.609  3148  3167 D GeckoViewNavigation: onDisable
07-19 17:28:59.610  3148  3167 D GeckoViewProcessHangMonitor: onDisable
07-19 17:28:59.610  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.610  3148  3167 D GeckoViewProcessHangMonitor: onDestroy
07-19 17:28:59.610  3148  3167 D GeckoViewProgress: onDisable
07-19 17:28:59.610  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.611  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.612  3148  3167 D GeckoViewMediaControl: onDisable
07-19 17:28:59.612  3148  3167 D GeckoViewModule: unregisterListener
07-19 17:28:59.613  6486  6504 D GeckoViewSelectionActionDelegate[C]: handleEvent: visibilitychange
07-19 17:28:59.616  3148  3221 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
07-19 17:28:59.617  7091  7091 I MultiDex: VM with version 2.1.0 has multidex support
07-19 17:28:59.617  7091  7091 I MultiDex: Installing application
07-19 17:28:59.617  7091  7091 I MultiDex: VM has multidex support, MultiDex support library is disabled.
07-19 17:28:59.619  6486  6504 D GeckoViewMediaControl[C]: onDisable
07-19 17:28:59.622  6486  6504 D GeckoViewSelectionActionDelegate[C]: handleEvent: visibilitychange
07-19 17:28:59.625  3148  3230 I Gecko   : [Parent 3148, Unnamed thread 71ddb29a9350] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:370
07-19 17:28:59.625  6486  6504 D GeckoViewAutofill[C]: handleEvent: pagehide
07-19 17:28:59.626  6486  6504 D GeckoViewAutofill: Clearing auto-fill
07-19 17:28:59.631  7054  7054 I ServiceChildProcess: Destroying GeckoServiceChildProcess
07-19 17:28:59.631  7091  7091 D GeckoThread: State changed to LAUNCHED
07-19 17:28:59.633  7091  7108 I GeckoThread: preparing to run Gecko
07-19 17:28:59.634  7054  7054 I art     : System.exit called, status: 0
07-19 17:28:59.634  7054  7054 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
07-19 17:28:59.636  7091  7108 D GeckoThread: State changed to MOZGLUE_READY
07-19 17:28:59.642  7091  7108 W Settings: Setting animator_duration_scale has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only global URI.
07-19 17:28:59.643  7091  7108 E GeckoLibLoad: Load sqlite start
07-19 17:28:59.644  7091  7108 E GeckoLibLoad: Load sqlite done
07-19 17:28:59.644  7091  7108 E GeckoLibLoad: Load nss start
07-19 17:28:59.644  7091  7108 E GeckoLibLoad: Load nss done
07-19 17:28:59.653  7091  7108 E GeckoLibLoad: Loaded libs in 8.629513ms total, 0ms(10ms) user, 0ms(0ms) system, 0(0) faults
07-19 17:28:59.653  7091  7108 D GeckoThread: State changed to LIBS_READY
07-19 17:28:59.654  7091  7108 W GeckoThread: zerdatime 332480 - runGecko
07-19 17:28:59.656  6486  6504 I Gecko   : [Child 6486, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:40
07-19 17:28:59.656  6486  6504 I Gecko   : [Child 6486, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:40
07-19 17:28:59.693  7091  7108 I Gecko:DumpUtils: Fifo watcher disabled via pref.
07-19 17:28:59.703  1617  1798 I ActivityManager: Process org.mozilla.geckoview.test:tab30 (pid 7054) has died
07-19 17:28:59.704  1617  1798 D ActivityManager: cleanUpApplicationRecord -- 7054
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.704  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: [1.1]: Ignoring message 'EVENT_MESSAGE' to unknown peer A646F8C1946A3D21.AA9E88E03FCF9A10: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:289
07-19 17:28:59.706  3148  3170 I Gecko   : [Parent 3148, Unnamed thread 71ddc50209a0] WARNING: waitpid failed pid:7054 errno:10: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:238
07-19 17:28:59.710  7091  7108 D GeckoAppShell: System memory: 3006MB.
07-19 17:28:59.711  7091  7108 I Gecko   : AndroidBridge::Init
07-19 17:28:59.712  7091  7108 D GeckoThread: State changed to JNI_READY
07-19 17:28:59.721  7117  7117 I art     : Not late-enabling -Xcheck:jni (already on)
07-19 17:28:59.721  7117  7117 W art     : Unexpected CPU variant for X86 using defaults: x86_64
07-19 17:28:59.727  1617  1628 I ActivityManager: Start proc 7117:org.mozilla.geckoview.test:tab23/u0a62 for service org.mozilla.geckoview.test/org.mozilla.gecko.process.GeckoChildProcessServices$tab23
07-19 17:28:59.728  7091  7115 D ServiceAllocator: org.mozilla.gecko.process.GeckoChildProcessServices$tab23 updateBindings: BACKGROUND priority, 0 importance, 2 successful binds, 0 failed binds, 0 successful unbinds
07-19 17:28:59.739  7117  7117 I MultiDex: VM with version 2.1.0 has multidex support
07-19 17:28:59.739  7117  7117 I MultiDex: Installing application
07-19 17:28:59.739  7117  7117 I MultiDex: VM has multidex support, MultiDex support library is disabled.
07-19 17:28:59.740  7117  7117 I ServiceChildProcess: onCreate
07-19 17:28:59.741  7117  7117 D GeckoThread: State changed to LAUNCHED
07-19 17:28:59.742  7117  7132 I GeckoThread: preparing to run Gecko
07-19 17:28:59.803  7091  7108 D GeckoViewStartup: observe: app-startup
07-19 17:28:59.885  7091  7108 I GeckoConsole: No chrome package registered for chrome://browser/content/built_in_addons.json
07-19 17:28:59.922  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/protocol/res/SubstitutingProtocolHandler.cpp:415
07-19 17:28:59.922  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/dom/fetch/FetchDriver.cpp:636
07-19 17:28:59.960  7091  7108 D GeckoThread: State changed to PROFILE_READY
07-19 17:28:59.974  7091  7108 D GeckoViewStartup: observe: profile-after-change
07-19 17:28:59.978  7091  7108 D GeckoThread: State changed to RUNNING
07-19 17:29:00.019  7091  7108 E GeckoConsole: [JavaScript Error: "Error: File resource://default-theme/ does not contain a valid manifest" {file: "resource://gre/modules/addons/XPIInstall.jsm" line: 669}]
07-19 17:29:00.019  7091  7108 E GeckoConsole: [JavaScript Error: "Error: File resource://default-theme/ does not contain a valid manifest" {file: "resource://gre/modules/addons/XPIInstall.jsm" line: 669}]
07-19 17:29:00.020  7091  7108 I Gecko   : nsWindow[0x71ddd7887800]::Create 0x0 [0 0 1 1]
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticStringField MODEL
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticStringField PRODUCT
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticStringField MANUFACTURER
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticIntField SDK_INT
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticStringField HARDWARE
07-19 17:29:00.020  7091  7108 I Gecko   : AndroidBridge::GetStaticStringField RELEASE
07-19 17:29:00.022  7091  7108 D         : HostConnection::get() New Host Connection established 0x71ddd741f580, tid 7108
07-19 17:29:00.024  7091  7108 E EGL_emulation: tid 7108: eglBindAPI(1132): error 0x300c (EGL_BAD_PARAMETER)
07-19 17:29:00.024  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: Failed to bind API to GL!: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:637
07-19 17:29:00.024  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: Failed to create GLContext from PBuffer: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:1180
07-19 17:29:00.035  7091  7108 D EGL_emulation: eglCreateContext: 0x71ddd74ad620: maj 3 min 0 rcv 3
07-19 17:29:00.035  7091  7108 I Gecko   : Initializing context 0x71ddd7423680 surface 0x71ddd74ca440 on display 0x1
07-19 17:29:00.036  7091  7108 D EGL_emulation: eglMakeCurrent: 0x71ddd74ad620: ver 3 0 (tinfo 0x71ddd74c0660)
07-19 17:29:00.037  7091  7108 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
07-19 17:29:00.037  7091  7108 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
07-19 17:29:00.040  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:628
07-19 17:29:00.043  7091  7108 I Gecko   : Destroying context 0x71ddd7423680 surface 0x71ddd74ca440 on display 0x1
07-19 17:29:00.045  7091  7108 I Gecko   : AndroidBridge::getScreenSize
07-19 17:29:00.051  7091  7146 D         : HostConnection::get() New Host Connection established 0x71ddd741f880, tid 7146
07-19 17:29:00.056  7091  7146 D EGL_emulation: eglCreateContext: 0x71ddd74ad800: maj 3 min 0 rcv 3
07-19 17:29:00.057  7091  7146 I Gecko   : Initializing context 0x71ddd7423a80 surface 0x0 on display 0x1
07-19 17:29:00.058  7091  7146 D EGL_emulation: eglMakeCurrent: 0x71ddd74ad800: ver 3 0 (tinfo 0x71ddd74c07c0)
07-19 17:29:00.058  7091  7146 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
07-19 17:29:00.058  7091  7146 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
07-19 17:29:00.064  7091  7146 I Gecko   : [Parent 7091, Unnamed thread 71ddb30979b0] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:628
07-19 17:29:00.073  7091  7146 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
07-19 17:29:00.096  7091  7146 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008caa
07-19 17:29:00.120  7091  7146 W webrender::device::gl: Missing optimized shader source for gpu_cache_update
07-19 17:29:00.124  7091  7146 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008741
07-19 17:29:00.130  7091  7108 W ResourceType: Too many attribute references, stopped at: 0x01010099
07-19 17:29:00.139  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/layout/style/Loader.cpp:2014
07-19 17:29:00.157  7091  7091 D GeckoNetworkManager: Incoming event enableNotifications for state OffNoListeners -> OffWithListeners
07-19 17:29:00.157  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4227
07-19 17:29:00.158  7091  7091 D GeckoNetworkManager: New network state: UP, CELLULAR, CELL_4G
07-19 17:29:00.161  7091  7108 D GeckoViewStartup: onEvent GeckoView:SetLocale
07-19 17:29:00.162  7091  7108 D GeckoViewStartup: onEvent GeckoView:ResetUserPrefs
07-19 17:29:00.168  7091  7108 I Gecko   : [Parent 7091, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4227
07-19 17:29:00.223  7091  7108 D GeckoViewNavigation: sessionContextId=null
07-19 17:29:00.243  7091  7115 D ServiceAllocator: org.mozilla.gecko.process.GeckoChildProcessServices$tab23 updateBindings: FOREGROUND priority, 0 importance, 1 successful binds, 0 failed binds, 0 successful unbinds
07-19 17:29:00.247  7117  7132 D GeckoThread: State changed to MOZGLUE_READY
Attachment #9231947 - Flags: approval-mozilla-beta?

I wonder if bug 1670622 is related.

It seems not, as the patch in bug 1670622 should apply to this case as well (I was thinking we would hit another path).

Any ideas?

Flags: needinfo?(jnicol)

It appears we get EGL 3.0 for the passing QR variants, hence why they don't fallback. Why does non-QR get 2.0?

Looks like the problem starts from the very beginning. No obvious (to me) reason why.

QR variant log:

07-19 17:23:28.243  1340  1340 I qemu-props: connected to 'boot-properties' qemud service.
07-19 17:23:28.243  1340  1340 I qemu-props: receiving..
07-19 17:23:28.243  1340  1340 I qemu-props: received: ro.opengles.version=196608
07-19 17:23:28.546  1343  1343 I SurfaceFlinger: SurfaceFlinger is starting
07-19 17:23:28.546  1343  1343 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
07-19 17:23:28.546  1343  1343 D libEGL  : Emulator has host GPU support, qemu.gles is set to 1.
07-19 17:23:28.547  1343  1343 E libEGL  : load_driver(/system/lib64/egl/libGLES_emulation.so): dlopen failed: library "/system/lib64/egl/libGLES_emulation.so" not found
07-19 17:23:28.550  1343  1343 D libEGL  : loaded /system/lib64/egl/libEGL_emulation.so
07-19 17:23:28.551  1343  1343 D libEGL  : loaded /system/lib64/egl/libGLESv1_CM_emulation.so
07-19 17:23:28.557  1343  1343 D libEGL  : loaded /system/lib64/egl/libGLESv2_emulation.so
07-19 17:23:28.564  1343  1343 D         : HostConnection::get() New Host Connection established 0x782574e2d540, tid 1343
07-19 17:23:28.566  1343  1343 E SurfaceFlinger: hwcomposer module not found
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: EGL information:
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: vendor    : Android
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: version   : 1.4 Android META-EGL
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable 
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: Client API: OpenGL_ES
07-19 17:23:28.566  1343  1343 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x2
07-19 17:23:28.569  1343  1343 D EGL_emulation: eglCreateContext: 0x782574e42140: maj 3 min 0 rcv 3
07-19 17:23:28.572  1343  1343 D EGL_emulation: eglMakeCurrent: 0x782574e42140: ver 3 0 (tinfo 0x782574e2bea0)
07-19 17:23:28.574  1343  1343 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
07-19 17:23:28.575  1343  1343 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
07-19 17:23:28.576  1343  1343 I SurfaceFlinger: OpenGL ES informations:
07-19 17:23:28.576  1343  1343 I SurfaceFlinger: vendor    : Google (VMware, Inc.)
07-19 17:23:28.576  1343  1343 I SurfaceFlinger: renderer  : Android Emulator OpenGL ES Translator (llvmpipe (LLVM 10.0.0, 256 bits))
07-19 17:23:28.576  1343  1343 I SurfaceFlinger: version   : OpenGL ES 3.0 (3.3 (Core Profile) Mesa 20.0.8)
07-19 17:23:28.576  1343  1343 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0 

non-QR variant log:

07-19 17:25:49.315  1340  1340 I qemu-props: connected to 'boot-properties' qemud service.
07-19 17:25:49.315  1340  1340 I qemu-props: receiving..
07-19 17:25:49.315  1340  1340 I qemu-props: received: ro.opengles.version=131072
07-19 17:25:49.502  1343  1343 I SurfaceFlinger: SurfaceFlinger is starting
07-19 17:25:49.502  1343  1343 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
07-19 17:25:49.502  1343  1343 D libEGL  : Emulator has host GPU support, qemu.gles is set to 1.
07-19 17:25:49.503  1343  1343 E libEGL  : load_driver(/system/lib64/egl/libGLES_emulation.so): dlopen failed: library "/system/lib64/egl/libGLES_emulation.so" not found
07-19 17:25:49.508  1343  1343 D libEGL  : loaded /system/lib64/egl/libEGL_emulation.so
07-19 17:25:49.510  1343  1343 D libEGL  : loaded /system/lib64/egl/libGLESv1_CM_emulation.so
07-19 17:25:49.518  1343  1343 D libEGL  : loaded /system/lib64/egl/libGLESv2_emulation.so
07-19 17:25:49.524  1343  1343 D         : HostConnection::get() New Host Connection established 0x78b581a2d540, tid 1343
07-19 17:25:49.527  1343  1343 E SurfaceFlinger: hwcomposer module not found
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: EGL information:
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: vendor    : Android
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: version   : 1.4 Android META-EGL
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable 
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: Client API: OpenGL_ES
07-19 17:25:49.528  1343  1343 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x2
07-19 17:25:49.534  1343  1343 D EGL_emulation: eglCreateContext: 0x78b581a42140: maj 2 min 0 rcv 2
07-19 17:25:49.536  1343  1343 D EGL_emulation: eglMakeCurrent: 0x78b581a42140: ver 2 0 (tinfo 0x78b581a2bea0)
07-19 17:25:49.539  1343  1343 I SurfaceFlinger: OpenGL ES informations:
07-19 17:25:49.539  1343  1343 I SurfaceFlinger: vendor    : Google (VMware, Inc.)
07-19 17:25:49.539  1343  1343 I SurfaceFlinger: renderer  : Android Emulator OpenGL ES Translator (llvmpipe (LLVM 10.0.0, 256 bits))
07-19 17:25:49.539  1343  1343 I SurfaceFlinger: version   : OpenGL ES 2.0 (3.3 (Core Profile) Mesa 20.0.8)
07-19 17:25:49.539  1343  1343 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2 

For some reason when we kick off the emulator itself, it seems to decide QEMU should support GLES 3.0 vs 2.0:

emulator: argv[57] = "no_timer_check clocksource=pit no-kvmclock console=ttyS0,38400 cma=16M@0-4G loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X7X5X0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=196608 qemu.uirenderer=skiagl androidboot.selinux=permissive qemu.dalvik.vm.heapsize=576m androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ android.qemud=1"

vs

emulator: argv[57] = "no_timer_check clocksource=pit no-kvmclock console=ttyS0,38400 cma=16M@0-4G loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X7X5X0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 androidboot.selinux=permissive qemu.dalvik.vm.heapsize=576m androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ android.qemud=1"

from the emulator setup logs.

We launch the Android emulator with the following in both cases:

emulator -avd test-1 -gpu on -skip-adb-auth -verbose -show-kernel -ranchu -selinux permissive -memory 3072 -cores 4

According to https://developer.android.com/studio/run/emulator-acceleration#accel-graphics,

-gpu on

isn't a valid option. It probably defaults to auto? And it makes a different choice.

I'll dig up the details tomorrow when I'm back at my computer, but I recall that gles 3 is disabled by default for the android emulator on Linux, and you have to set a value in a config file to enable that. I think we only do that for the qr variants.

But what I don't understand is why the non-qr is failing due to only having gles 2. We definitely need it to work on just gles 2.

Flags: needinfo?(jnicol)
Flags: needinfo?(jnicol)

We write the advancedFeatures.ini file here if use_gles3 is set. use_gles3 gets set in a few different harnesses only if webrender is enabled, eg here. I'm not sure if we do that for the junit test harness though..

Flags: needinfo?(jnicol)

Thanks for the pointer. I see we set env variables for the emulator here, but we don't explicitly set MOZ_WEBRENDER -- maybe we expected an earlier script to do this. I've added it to the script, and pushed to try:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=126b24b735165812cbade0bc4c72ec2fe6b5b768

For the second issue, let's try not intializing the SW-WR shaders as per jnicol's suggestion / bug 1719437. We don't have a backtrace to confirm whether or not this is the same issue in this case.

https://treeherder.mozilla.org/jobs?repo=try&revision=ea5d8686c65b44dc1169ff2c668c7daf44ff2f71

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19948f589432 Allow fallback from WR to SW-WR on Android. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

Next week is RC week for 91. Is this something that needs to be uplifted still?

Flags: needinfo?(aosmond)

No, we compromised and uplifted bug 1721407.

Flags: needinfo?(aosmond)
Regressions: 1731980
Regressions: 1747116
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: