Closed Bug 1868737 Opened 2 years ago Closed 2 years ago

backdrop-filter css property is disabled in RDP session

Categories

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

Desktop
All
defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox-esr115 --- fixed
firefox121 --- wontfix
firefox122 --- wontfix
firefox123 --- fixed

People

(Reporter: mz+bugzilla, Assigned: aosmond)

References

(Blocks 2 open bugs)

Details

Attachments

(4 files)

Attached image Firefox1.PNG

When using Firefox in Microsoft RDP session, backdrop-filter css property is blocklisted by driver and causing menus with it applied to be transparent (see attached screenshot).
Setting layout.css.backdrop-filter.force-enabled fixing the issue, but it would be nice to have it working out of the box.
More details in this bug report initially filled for Jenkins: https://issues.jenkins.io/browse/JENKINS-72430

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)

Would you be able to supply the output of your about:support when running RDP in this configuration?

Flags: needinfo?(gwatson) → needinfo?(mz+bugzilla)
Flags: needinfo?(mz+bugzilla)

Attached two reports from Firefox release and my regular profile, and current Nightly on clean profile, please check if they ok for you :)

Flags: needinfo?(gwatson)

Looks like the relevant information is:

BACKDROP_FILTER:
default: available,
env: blocklisted, #BLOCKLIST_FEATURE_FAILURE_EMPTY_DRIVER_VERSION, Blocklisted; failure code FEATURE_FAILURE_EMPTY_DRIVER_VERSION

I'm not really sure why we block backdrop-filter in this case though, it's running on sw-wr so it should be fine to run it. Andrew, do you know much about the blocking here - should we ever block a feature for empty driver version if we're running sw-wr?

Flags: needinfo?(gwatson) → needinfo?(aosmond)

We've been talking about what to do in these scenarios, and there are a set of features that should be allowed regardless.

Assignee: nobody → aosmond
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)
Priority: -- → P3

Some features such as the GPU process (except on Android), backdrop
filter (because it always works with Software WebRender), ANGLE (because
it is generally good) and out of process WebGL (we generally want to
remote WebGL for sandboxing purposes) are special, and should not be
disabled simply because we are uncertain about our configuration. In
these situations, disable most features, but keep these enabled by
default.

Marking this was wontfix for 122 because I think this should ride the trains. If it causes minimal fuss, we can consider uplifting to ESR.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/03a4fbacc768 Allow minimal gfx features by default for uncertain configurations. r=jrmuizel

Backed out for causing talos performance tests related failures.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: PROCESS-CRASH | MOZ_DIAGNOSTIC_ASSERT(eventWnd) (CreateWindowW for EventWindow failed twice) [@ nsAppShell::InitHiddenWindow::<lambda_11>::operator()] | tp5n
Flags: needinfo?(aosmond)

It appears that we were failing to use the GPU process before because the vendor was 0x0, the GPU process crashes during initialization so we disable it, the test passes, but because it found minidumps, it fails and dumps them at the end, hence the diagnostic assert.

I think the test is a bit tricky to solve because we actually want the behaviour the test is demonstrating in the real world. If we can't use the GPU process, fine, but we want to try first. We could flip a pref just for this test to force disable the GPU process.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6443c86506e Allow minimal gfx features by default for uncertain configurations. r=jrmuizel,perftest-reviewers,kshampur
Flags: needinfo?(aosmond)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Duplicate of this bug: 1877621
See Also: → CVE-2024-2605

Is this something we should backport to ESR? Would need a bit of rebasing if yes.

Flags: needinfo?(aosmond)

I think we can be reasonably confident in an uplift yes. I will prep a patch.

Actually if we uplift bug 1870159 as well it should merge cleanly, that is my recommendation.

Flags: needinfo?(aosmond)

Comment on attachment 9370895 [details]
Bug 1868737 - Allow minimal gfx features by default for uncertain configurations.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Users with edge case configurations will be denied basic features like backdrop filters and the GPU process
  • User impact if declined:
  • Fix Landed on Version: 123
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We still deny most features, and the ones we will now keep are either guaranteed to work, or we can can recover gracefully. This patch requires bug 1870159 to be uplifted first.
Attachment #9370895 - Flags: approval-mozilla-esr115?

Comment on attachment 9370895 [details]
Bug 1868737 - Allow minimal gfx features by default for uncertain configurations.

Approved for 115.8esr.

Attachment #9370895 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
No longer blocks: 1816630
Blocks: 1877621
No longer duplicate of this bug: 1877621
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: