[X11/EGL] EGLSurface Regression with WebRender on Linux with proprietary NVIDIA
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: timewalk3r+mozilla, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
- Force enable WebRender by setting gfx.webrender.all to true
- Restart Firefox
- Check Compositor in about:support
Actual results:
Compositor is either WebRender (software) on current Nightly releases or is Basic for the current released version 88.0.1
Expected results:
Compositor is set as WebRender
There seems to be a regression as versions before 88 work fine with the proprietary NVIDIA driver 465.27. This change happened exactly with a commit that actually fixed Bug 1684194 as found out via mozregression: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=de1a1b350e9e0fb606cc7f5b709df544af8dd313&tochange=52299c7cbec44f2fe75273acdf2aed8e2496931c
Reporter | ||
Comment 1•3 years ago
|
||
Additional information:
Error log:
[GFX1-]: Failed to create EGLSurface!: 0x3009
[GFX1-]: Failed to create EGLSurface
[GFX1-]: Fallback (SW-)WR to Basic
[GFX1-]: Compositors might be mixed (5,1)
[GFX1-]: Failed to connect WebRenderBridgeChild.
IPDL protocol error: Handler returned error code!
###!!! [Parent][DispatchSyncMessage] Error: PCompositorBridge::Msg_NotifyChildRecreated Processing error: message was deserialized, but the handler returned false (indicating failure)
[GFX1-]: Failed to connect WebRenderBridgeChild.
OS: Manjaro Linux
KDE Version: 5.21.5
Graphics: NVIDIA GeForce GTX 1070 with NVIDIA 465.27
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Tony, are you sure that you don't have the MOZ_X11_EGL
env variable set? Because it looks a lot like it. If that's the case, then it's not really a regression - prop. nvidia is not yet supported for the EGL backend.
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 4•3 years ago
|
||
Of course! My mistake, I didn't clarify that I did set the MOZ_X11_EGL environment variable. I'm going to attach two files containing the raw about:support for both good and bad build just to show that X11 EGL is force set by envvar for both versions
Reporter | ||
Comment 5•3 years ago
|
||
Reporter | ||
Comment 6•3 years ago
|
||
Comment 7•3 years ago
|
||
Yes, NVIDIA binary drivers are not working with EGL backend.
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
Right, I get what you mean. Thanks for taking your time!
Since binary drivers don't support RenderCompositorEGL specifically, is there actually a possibility to work around this so it doesn't use this specific backend if binary drivers have been detected?
Comment 9•3 years ago
|
||
Yes, we need some kind of detection here. We'll look at it when we switch to EGL by default and fallback to GLX/X11 on NV drivers.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•