Before v.80 hit the stable FF release I tried Webrender + VAAPI on Firefox Dev Edition and it worked like a charm, but I just used it to test for a couple of days. When it finally got to the official release, I installed it and got Compositing back to “Basic”, but VAAPI worked perfectly. Now the browser started chugging a couple of times and I decided to properly check about:support and try to fix it.
- Without the environmental flag MOZ_X11_EGL=1 everything seems perfect, Webrender is shown as the compositing method, WebGL drivers are all there, but the browser feels really sluggish, and looking better at the about:support page shows:
WEBRENDER
opt-in by default: WebRender is an opt-in feature
available by user: Force enabled by pref
WEBRENDER_QUALIFIED
available by default
blocklisted by env: No qualified hardware
Focus on the “blocklisted by env: No qualified hardware”, I’m running the latest NVIDIA proprietary optimus drivers (maybe Optimus has something to do with it???) on a setup with an Intel HD 630 and a GTX 1050Ti, where most of the time it’s running on the NVIDIA card due to me using an external monitor with it.
- Using MOZ_X11_EGL=1, as stated in the beginning, everything starts being kinda smooth again, but as I check about:support, compositing is back to “Basic”, I get no WebGL drivers, and the following errors:
(#0) Error Failed to create EGLContext!: 0x3000
(#1) Error Failed to create EGLContext!: 0x3000
(#2) Error Failed GL context creation for WebRender: 0
(#3) Error Failed to connect WebRenderBridgeChild.
(#4) Error Failed to create EGLContext!: 0x3000
(#5) Error Failed to create EGLContext!: 0x3000
(#6) Error [OPENGL] Failed to init compositor with reason: FEATURE_FAILURE_OPENGL_CREATE_CONTEXT
(#7) Error Failed to create EGLContext!: 0x3000
(#8) Error Failed to create EGLContext!: 0x3000
(#9) Error [OPENGL] Failed to init compositor with reason: FEATURE_FAILURE_OPENGL_CREATE_CONTEXT
(#10) Error Failed to create EGLContext!: 0x3000
(#11) Error Failed to create EGLContext!: 0x3000
(#12) Error [OPENGL] Failed to init compositor with reason: FEATURE_FAILURE_OPENGL_CREATE_CONTEXT
(#13) Error Failed to create EGLContext!: 0x3000
(#14) Error Failed to create EGLContext!: 0x3000
(#15) Error [OPENGL] Failed to init compositor with reason: FEATURE_FAILURE_OPENGL_CREATE_CONTEXT
At this point, I don’t know what I can do to make everything work together 100%.