Open Bug 1996562 Opened 2 months ago Updated 1 month ago

Recent versions cause small graphical glitches with websites

Categories

(Core :: Graphics, defect)

Firefox 144
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox144 --- wontfix
firefox145 --- wontfix
firefox146 --- wontfix
firefox147 --- fix-optional

People

(Reporter: asmodai, Assigned: sotaro, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files)

Attached image donner-background.png β€”

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0

Steps to reproduce:

Two separate instances:

  1. Visit https://www.nos.nl/

  2. Read an article

  3. Notice minor graphical glitches around fonts

  4. Selecting text causes the graphical glitches to move around, but it seems not randomly

  5. Switching tabs causes this to go away.

  6. Visit https://www.donner.nl/

  7. Search for any book or author, click on their name or title

  8. Notice graphical glitches on the white background of the viewpane

  9. Switching tabs does not cause this to go away

Actual results:

For nos.nl there graphical corruption around the fonts. Sadly, no current screenshot.

For donner.nl there is obvious graphical weirdness happening in the background. The scrawly stuff you see in the image moves to the right across the view pane. The text and images all remain in place, it's only the background. It also only seems to happen during a (blocking) GET request, e.g. GET https://www.donner.nl/producten/invisible-sun-9781447247623/ while on a page such as https://www.donner.nl/auteurs/charles-stross/
The pattern that occurs is consistent on every blocking GET switching from author to book page. Almost feels like it's some graphical data slipping across a boundary of an array somewhere in a consistent manner.

Expected results:

In the first case, no graphical glitches surrounding the fonts in the text.

For the second case, judging by the results of Chrome and Edge, the background during a GET should just remain static.

Some additional information: this is on Windows 11 (25H2, 26200.6899).

For the second graphical glitch I can actually reproduce this on macOS Tahoe 26.0.1 using Firefox 144.0 (aarch64) by clicking between the two links I provided (book to author to book).

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Reassigned to Graphics, because my initial guess seems it's more aimed at the rendering side of things. For the fonts, the corruption showed the rainbow-like colours you would normally associate with corrupt memory or a graphics card, but since this only happens in Firefox and only saw it on one particular site, I think it is way more likely it's exposing a bug somewhere.

On the Windows side, it's using an AMD 7900 XT with driver version 25.9.1.

Component: Layout: Text and Fonts → Graphics
OS: Unspecified → All
Hardware: Unspecified → All
Flags: needinfo?(sotaro.ikeda.g)
Keywords: regression
Regressed by: 1984549
Status: UNCONFIRMED → NEW
Ever confirmed: true

:sotaro, it's likely too late to fix this in Fx144 since Fx145 goes to RC next week.
If you had a low-risk fix this week, then it might make Fx145.

Assignee: nobody → sotaro.ikeda.g
Flags: needinfo?(sotaro.ikeda.g)

Hi Jeroen Ruigrok van der Werven, than you for the report. Can you attach about:support to this bug?

And can you take screenshot by using Windows' PrintScreen?

Flags: needinfo?(asmodai)

The attached image already shows the issue. I was able to reproduce consistently on mac and the reporter is on Windows so likely not due to any specific hardware or OS.

I was able to reproduce consistently by going to https://www.donner.nl/producten/invisible-sun-9781447247623/ then clicking on the link "Charles Stross", then on the resulting page clicking the "Invisible Sun" result and it will bring you back to the first page. Just doing that is enough to reproduce.

:tnikkel, thank you! I confirmed the issue.

So, I managed to reproduce my other case. I am not sure if this is related to the bug pointed out to Ikeda-san, but it's beyond me to judge unfortunately. Happy to open another bug report if it isn't, but I would need some help for the right categorization.

I managed to trigger it on https://nos.nl/nieuwsuur/artikel/2588865-new-york-schuift-naar-links-tot-woede-van-trump by scrolling down to the photo of Mamdani with Bernie and AOC. Then selecting the text underneath that photo, you will see corruption appear with the text depending on how much you have selected. I can reliably reproduce this when I open a new tab, so it's not confined to a particular tab. I could also reproduce it by starting a private window, browse to the same URL and position in the article and select text.

Playing around with it a bit more, it seems only the direct paragraph below the image is triggering this. I tried only selecting from the secondparagraph, but nothing happens. Only once I cross the paragraph boundary upwards to the first paragraph following the image does it start to exhibit this behaviour.

Please see the attached screenshot and recording for details.

Flags: needinfo?(asmodai)
Attached image nos-corruption.png β€”

And the moment I post all this with the text corruption I managed to reproduce it elsewhere, not in Firefox (Steam), and I am thinking it's AMD that has introduced a bug in their latest drivers with browser hardware acceleration. I'll be filing a bug report with them.

Disabling mix-blend-mode seemed to address the problem.

From it, interaction between mix-blend-mode and linear gradient with dithering seemed to cause the problem.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(bhood)

Set release status flags based on info from the regressing bug 1984549

Attached patch temporal patch - Add log β€” β€” Splinter Review
Flags: needinfo?(bhood)

Hmm, the problem did not happen with software WebRender with the following prefs.

  • pref gfx.webrender.software = true
  • pref gfx.webrender.software.d3d11 = false

(In reply to Sotaro Ikeda [:sotaro] from comment #17)

Hmm, the problem did not happen with software WebRender with the following prefs.

  • pref gfx.webrender.software = true
  • pref gfx.webrender.software.d3d11 = false

I thought that Bug 627771 address dithering with software WebRender. But it seemed wrong. The problem of Bug 1976163 happens with software WebRender.

Created Bug 2000770 for enable dithering with software WebRender.

Just as an FYI: For that corruption issue I talked about earlier, I found this comment thread on Reddit from a few days ago that essentially confirms it's a known issue with AMD drivers up to including 25.11.1 and most likely will be fixed in the next driver release.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(bhood)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: