Closed Bug 1750222 Opened 3 years ago Closed 3 years ago

SW WR/i3+picom X11/EndeavourOS: Momentary visual glitches where Firefox becomes transparent, showing desktop

Categories

(Core :: Widget: Gtk, defect)

Firefox 97
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1758975
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- fixed

People

(Reporter: rchristian, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: correctness, regression)

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Upgraded to firefox-developer-edition-97.0b3-1.

Downgrading to firefox-developer-edition-96.0b10-1, which was the previous version in use, corrects this issue.

I'm on Linux, EndeavourOS. Using x11, picom as the compositor, and i3 as the window manager. Let me know if I can provide more information.

Actual results:

I frequently get UI issues where parts of Firefox become transparent, showing my desktop. Attached video shows this off.

Moving my mouse seems to dismiss it usually, either off the Firefox window or on top of the glitched area.

Expected results:

This should not happen.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Oh, apparently you cannot edit before posting when pasting that in. Bizarre UX there.

The problematic version is 97.0b3-1, not 96 as is that snipped. I had to downgrade to get something usable.

Thanks! Please try to find a regression range, if possible. You get a pushlog url at the end:
$ pip3 install --user --upgrade mozregression
$ ~/.local/bin/mozregression --good 95 --bad 97 -a https://bugzilla.mozilla.org

I don't have Python installed, but the first problematic version seems to be 97.0b1-1, looking at my logs. Seems to be the first release of 97, while my current install, 96.0b10-1, which is fine, is the latest of 96.

Does this bug still occur if you set gfx.webrender.max-partial-present-rects to 0 on about:config and restart Firefox?

Yes, and if anything, it happens far more often with that set.

Would setting gfx.webrender.allow-partial-present-buffer-age to false help?

Does this bug also occur with https://nightly.mozilla.org?

Again, if anything, it becomes more aggressive with that set.

Yes, it also occurs on nightly. I tried both about:config options on nightly too, same effect. It seems to get more aggressive.

And, just for clarification, I did update to the latest (97.0b3-1) to test out those suggestions. I realize it's a bit ambiguous as I referred to 96 as "my current install".

Does this bug still occur if you start Nightly with MOZ_GTK_TITLEBAR_DECORATION=system environment variable?
$ MOZ_GTK_TITLEBAR_DECORATION=system path/to/firefox

Summary: Momentary visual glitches where Firefox becomes transparent, showing desktop → SW WR/i3+picom X11/EndeavourOS: Momentary visual glitches where Firefox becomes transparent, showing desktop

Yes, it does still occur.

Here's another video, to try to show it off more (Nightly, with that env var set): https://imgur.com/a/o46gJ5T

This does seem to most commonly anchor in the top left, under the toolbar, though I have also seen it happen in the very bottom right corner of the window too. Not sure if this means anything/matters.

(Sorry, still figuring out Bugzilla. Thought it wouldn't let me attach new items, hence the imgur link)

I had been messing around with my package manager and accidentally installed a newer version of Firefox again, so I spent some time playing around with Firefox settings and it seems like disabling hardware acceleration did the trick for me. Haven't seen those artifacts(?) in a while. I should've though to try that sooner, sorry.

Update: It reduced the frequency a bit, but still far from perfect. Some times it flares up again and causes tons of flashes, other times I can use it for hours without seeing one.

Still stuck on v96.

Hi, could you please try your steps on the latest Firefox Beta release, 99.0b7?
Firefox Beta 99.0b7 includes a fix for Bug 1758975, this may also correct the behavior reported here.

Flags: needinfo?(ryanchristian4427)

I've been playing around for a few hours now and haven't seen a single flash. Seems to be fixed!

Thanks!

Flags: needinfo?(ryanchristian4427)

(In reply to ryanchristian4427 from comment #18)

I've been playing around for a few hours now and haven't seen a single flash. Seems to be fixed!

Thanks!

Thanks very much for checking and taking the time to confirm.

Note: I can't seem to resolve this as fixed or anything along those lines. Not sure if someone with more permissions needs to do this, or if it should be marked as a duplicate of that other issue?

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

Unfortunately the fixed has regressed and the issue preset on 100.0b2. Forced to downgrade yet again.

Still present on 101.0b2 as well.

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

Attachment

General

Creator:
Created:
Updated:
Size: