Closed Bug 1725388 Opened 3 years ago Closed 3 years ago

Remove/change environment variables and prefs that can disable WR

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file, 1 obsolete file)

  1. Remove gfx.webrender.force-legacy-layers pref
  2. Change MOZ_WEBRENDER=0 to do nothing (may get either HW-WR or SW-WR), MOZ_WEBRENDER=1 continues to force HW-WR unless gfx.webrender.software is true

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.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ee9abeebd43 Remove pref/envvars that can disable WebRender. r=jrmuizel
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb961c255c8c Part 2. Fix typo in sanity test. r=jrmuizel

: 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

Attachment #9235991 - Attachment is obsolete: true
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16fa627201d1 Remove pref/envvars that can disable WebRender. r=jrmuizel
Flags: needinfo?(aosmond)

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.

(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 :).

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?

(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.

(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.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Blocks: 1677241

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?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: