Closed Bug 1924578 Opened 1 month ago Closed 15 days ago

Google Docs is twitchy and rendering incorrectly on Ubnutu 24 w/ NVIDIA 550

Categories

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

Firefox 131
defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox133 --- fixed
firefox134 --- fixed

People

(Reporter: bhood, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Attached file aboutsupport.txt

Ubuntu 24.04.01 LTS using NVIDIA 550 driver on an RTX 2080 Ti GPU.

Google Docs is rendering pages incorrectly. From the attached video, you can see that it flashes back and forth between two unrelated documents, leaving them intertwined once it has settled down. Specifically in the video, it is leaking data from a "confidential" document that was opened in the browser some hours earlier but is now no longer open.

I recently upgraded my system from Ubuntu 22.04 LTS, which updated the NVIDIA driver from 535 to 550.

I tested this behavior in Chrome on the same system, and it does not display this issue. Indeed, much to my distaste, I must use Chrome in order to properly edit documents at the moment.

The only STR I can provide is to open a Google Doc in a similarly configured machine.

Group: mozilla-employee-confidential
See Also: → 1917225

Sotaro and Martin, this seems like it may be a DMABuf/Nvidia-ish compositing issue? Ideas?

Severity: -- → S3
Flags: needinfo?(stransky)
Flags: needinfo?(sotaro.ikeda.g)

I've disabled gfx.canvas.accelerated (as suggested in 1917225) and that seems to be working around the issue so far.

I see many similar reports from Fedora users which run NVIDIA drivers, for instance Bug 1908370. Yes, looks like related to dmabuf but I have no idea how. As it's NVIDIA only I'd report it to NVIDIA as their driver bug. Looks like it affects both X11 and Wayland.

Flags: needinfo?(stransky)

Disable dmabuf on the affected drivers may be an option.

Bug 1901697 is another one.

See Also: → 1901697

I think I've confirmed with Lee that setting widget.dmabuf.enabled to false while leaving gfx.canvas.accelerated enabled addresses the glitching.

I wonder if Bug 1907828 might be related to this bug.

Flags: needinfo?(sotaro.ikeda.g)
See Also: → 1907828
Blocks: gfx-triage
Severity: S3 → S2
Priority: -- → P2

According to comment 35 in bug 1907828 (the See Also cited above), setting widget.dmabuf.enabled to false does not fix that other issue. I'm not sure these two are connected, since it does in this reported use case.

See Also: → 1928447
See Also: → 1928167

This adds a DMABUF_WEBGL feature that can be independently blocklisted from DMABUF itself.

After that, this adds a blocklist entry for the Nvidia driver which gives incorrect rendering.

Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
The content of attachment 9430849 [details] has been deleted for the following reason: Deleted at rquest of :bhood
Group: mozilla-employee-confidential
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f0ffcbcde75e Disable DMABUF_WEBGL on Nvidia driver. r=aosmond

Backed out for causing build bustages.

Flags: needinfo?(lsalzman)
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db4055e6504b Disable DMABUF_WEBGL on Nvidia driver. r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Duplicate of this bug: 1919456
Duplicate of this bug: 1928447
Duplicate of this bug: 1928167
Duplicate of this bug: 1901697
Duplicate of this bug: 1917225
Duplicate of this bug: 1907828

Comment on attachment 9434689 [details]
Bug 1924578 - Disable DMABUF_WEBGL on Nvidia driver. r?aosmond

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Incorrect rendering for Linux + Nvidia users.
  • Is this code covered by automated tests?: Unknown
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This adds a blocklist entry to disable a buggy feature affected users.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9434689 - Flags: approval-mozilla-beta?

Comment on attachment 9434689 [details]
Bug 1924578 - Disable DMABUF_WEBGL on Nvidia driver. r?aosmond

Approved for 133.0b5

Attachment #9434689 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Duplicate of this bug: 1930044
Duplicate of this bug: 1930764

We've blocked DMABUF for NVIDIA binary driver users in Firefox 132 and earlier. DMABUF will come back for Firefox 133+, released on Nov 26, but DMABUF + WebGL will still be blocked by the hard coded rule in Firefox itself.

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

Attachment

General

Created:
Updated:
Size: