Open Bug 1881230 Opened 9 months ago Updated 2 months ago

Weird redrawing rectangles appear on Surface Pro 8 (Intel Iris 0x8086/0x9a49), with old version of graphics driver

Categories

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

Firefox 123
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- wontfix
firefox123 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- wontfix

People

(Reporter: bjorn, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(6 files)

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

Steps to reproduce:

  • Use a Surface Pro 8 (I suspect this is related to the SP, and possibly just the SP8) as I have not observed this behaviour on other devices.
  • The issue can appear without selecting text, but is reproducible in any text-heavy page by selecting text. The issue can appear on first load as is also evident in other places in Firefox (About dialog). This issue only appears on Firefox, so is a Firefox-specific issue.

Actual results:

Redrawing rectangles appear.

Expected results:

No visual corruption.

Confirmed to happen in a brand new profile

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

Component: Untriaged → Layout
Product: Firefox → Core

Hello, thanks for reporting your issue!

Can you :

  1. Go to about:support in your browser, and paste its contents here
  2. Does this get fixed if you go to about:config in your browser, and set gfx.webrender.software=TRUE (and restart the browser)?
  3. Has this issue started occurring on latest versions of Firefox? If yes, is it possible for you to do a bisection using: https://mozilla.github.io/mozregression/
Component: Layout → Graphics
Flags: needinfo?(bjorn)
Attached file about:support paste
# about:support

gfx.webrender.software=TRUE

As the issue is somewhat intermittent, it's hard to be 100% conclusive, but yes, I have not been able to replicate the issue with gfx.webrender.software=TRUE.

Has this issue started occurring on latest versions of Firefox?

Yes-ish. It did not appear when hardware rendering was enabled for the Surface Pro, but it has definitely occurred from the last couple of versions. Doing a mozregression now.

Flags: needinfo?(bjorn)

Ran mozregression twice, both landed on https://phabricator.services.mozilla.com/D185878

Let me know if you need anything else - happy to help.

(In reply to Bjorn Toft Madsen from comment #10)

Ran mozregression twice, both landed on https://phabricator.services.mozilla.com/D185878

Let me know if you need anything else - happy to help.

Thanks a lot for doing the bisection, this is extremely helpful!

@gw: This sounds a lot like bug 1878754

Keywords: regression
Regressed by: 1848066
Flags: needinfo?(gwatson)
Summary: Weird redrawing rectangles appear on Surface Pro 8 → Weird redrawing rectangles appear on Surface Pro 8 (Intel Iris 0x8086/0x9a49)

Bjorn, your driver version is quite old (from 2021). Can you try to manually update your driver to latest version?
Bug 1878754 had a similar issue where the reporter had an Intel Iris driver from 2021 who was seeing similar weird graphical issue as you. When they manually updated the drivers to the latest version, their issue was resolved (Reference: https://bugzilla.mozilla.org/show_bug.cgi?id=1878754#c17)
Can you try to update your graphics driver manually (and reset gfx.webrender.software to FALSE) ?

Flags: needinfo?(bjorn)

Mayank, I am sorry to have wasted your time. I have manually updated the driver and the issue has been resolved.

It's a company laptop and Windows Update has been GP'd to not allow latest updates. This created the bizarre situation where the Surface app claimed there were important updates (first time I've ever paid attention to this app) while Windows Update said all up to date. Fortunately, I have admin rights to the machine to have manually been able to update to the latest Xe drivers (Version 31.0.101.5330, Date 2/14/2024) which has resolved the issue.

I'm very grateful for the prompt help (mozregression is awesome, first time I've used this) and for having my text selection without visual corruption.

The comments you've received in https://spidermonkey.dev/blog/2024/01/30/newsletter-firefox-122-123.html are entirely on point! Have a great day and thank you for your part in making Firefox so awesome.

Flags: needinfo?(bjorn)

(In reply to Bjorn Toft Madsen from comment #13)

Mayank, I am sorry to have wasted your time. I have manually updated the driver and the issue has been resolved.

No problem at all! Its good to have confirmation from another Firefox user that updated drivers fixed their issue. Happy browsing.

Andrew: the old Intel iris drivers in this bug should benefit from the proposed blocklist in https://bugzilla.mozilla.org/show_bug.cgi?id=1878754#c19

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(gwatson) → needinfo?(aosmond)

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

Severity: -- → S3
Priority: -- → P2
See Also: → 1878754
See Also: → 1882266

Hi Bjorn, can you attach an updated about:support now that things are working so we can figure out which driver version has the fix? Thanks!

Flags: needinfo?(bjorn)

Hey there. I’d be happy to be in away for a few days without access to the SP8. I’ll be back Friday and will check the driver version then and report here.

Flags: needinfo?(bjorn)
Flags: needinfo?(bjorn)

Apologies for the lateness. I do believe Intel's Driver and Support assistant has updated the driver once since I initially updated the driver, so perhaps this is the first version that'll fix the corruption issue.

Flags: needinfo?(bjorn)
Summary: Weird redrawing rectangles appear on Surface Pro 8 (Intel Iris 0x8086/0x9a49) → Weird redrawing rectangles appear on Surface Pro 8 (Intel Iris 0x8086/0x9a49), with old version of graphics driver
See Also: → 1903048

:bhood will this be worked on in time for Fx130? We could take it in a Fx129 dot release if it was a simple patch.

Flags: needinfo?(bhood)

Running this over to Glenn to evaluate, since disabling acceleration appears to remove the issue.

Component: Graphics → Graphics: WebRender
Flags: needinfo?(bhood) → needinfo?(gwatson)

Andrew, would it be possible to add a block-list entry for this old driver version?

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

Attachment

General

Created:
Updated:
Size: