Remove/change environment variables and prefs that can disable WR
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file, 1 obsolete file)
- Remove
gfx.webrender.force-legacy-layers
pref - Change
MOZ_WEBRENDER=0
to do nothing (may get either HW-WR or SW-WR),MOZ_WEBRENDER=1
continues to force HW-WR unlessgfx.webrender.software
istrue
Assignee | ||
Comment 1•3 years ago
|
||
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.
MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.
Assignee | ||
Comment 3•3 years ago
|
||
Comment 5•3 years ago
•
|
||
Backed out for causing multiple failures:
Failure logs:
bc - browser_startup_mainthreadio.js: https://treeherder.mozilla.org/logviewer?job_id=348239311&repo=autoland&lineNumber=3240
bc: browser_parsable_script.js: https://treeherder.mozilla.org/logviewer?job_id=348239011&repo=autoland&lineNumber=2075
mochitest-chrome: https://treeherder.mozilla.org/logviewer?job_id=348238730&repo=autoland&lineNumber=7066
Backout: https://hg.mozilla.org/integration/autoland/rev/9189a202acd8a2c49834b7661ef1cbb9e266445c
Comment 6•3 years ago
|
||
: aosmond , please also take a look over this bc failure on browser_test_clipboardcache.js -> https://treeherder.mozilla.org/logviewer?job_id=348232556&repo=autoland&lineNumber=27862
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Can we still have something that devs can use to test non-wr as long as that configuration is still reasonably runnable? I still regularly run into things that are broken with webrender but working with non-wr and knowing that is very useful information.
Assignee | ||
Comment 9•3 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #8)
Can we still have something that devs can use to test non-wr as long as that configuration is still reasonably runnable? I still regularly run into things that are broken with webrender but working with non-wr and knowing that is very useful information.
The impression I have gotten from others eager to remove code, is that the only reason it hasn't been ripped out yet is because we don't want to break CI. I would be surprised if non-WR makes it another week after this lands :).
Assignee | ||
Comment 10•3 years ago
|
||
The code will remain in ESR, although almost no users will be getting it (safe mode, force disable WR). That may be useful as a benchmark for the next year?
Comment 11•3 years ago
|
||
(In reply to Andrew Osmond [:aosmond] from comment #9)
(In reply to Timothy Nikkel (:tnikkel) from comment #8)
Can we still have something that devs can use to test non-wr as long as that configuration is still reasonably runnable? I still regularly run into things that are broken with webrender but working with non-wr and knowing that is very useful information.
The impression I have gotten from others eager to remove code, is that the only reason it hasn't been ripped out yet is because we don't want to break CI. I would be surprised if non-WR makes it another week after this lands :).
I hope that the apz gtests can still work until Botond has had a chance to refactor them to work in a layer-less world (bug 1593381).
(In reply to Andrew Osmond [:aosmond] from comment #10)
The code will remain in ESR, although almost no users will be getting it (safe mode, force disable WR). That may be useful as a benchmark for the next year?
I plan to just use the last nightly build that non-wr works in for this testing purpose whenever the sunsetting happens.
Assignee | ||
Comment 12•3 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #11)
(In reply to Andrew Osmond [:aosmond] from comment #9)
(In reply to Timothy Nikkel (:tnikkel) from comment #8)
Can we still have something that devs can use to test non-wr as long as that configuration is still reasonably runnable? I still regularly run into things that are broken with webrender but working with non-wr and knowing that is very useful information.
The impression I have gotten from others eager to remove code, is that the only reason it hasn't been ripped out yet is because we don't want to break CI. I would be surprised if non-WR makes it another week after this lands :).
I hope that the apz gtests can still work until Botond has had a chance to refactor them to work in a layer-less world (bug 1593381).
Yes, mstange brought up that up in the daily. None of my changes will break/disable those tests, since right now the code it needs is still there (and I don't intend to remove it myself). I am going to assume nobody will go out of their way to break tests that are still running.
Comment 13•3 years ago
|
||
bugherder |
Comment 14•3 years ago
|
||
Firefox Headless uses software webrender and can't play certain videos. See this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1693011
As I result, we were disabling WebRender in Playwright so that our users can play videos. There's no way to disable webrender now – are there any plans to fix the video playback?
Description
•