Public bug reported:

[Impact]
On NVIDIA (proprietary driver), window screencasts shown to PipeWire consumers
without explicit sync (Chrome/Chromium, Firefox, so Google Meet and Microsoft
Teams in the browser) show flickering black bands. Monitor screencasts are
unaffected. Cause: mutter queues dma-bufs without waiting for the GPU, and
NVIDIA doesn't attach implicit fences, so consumers read half-rendered buffers.

Upstream: https://gitlab.gnome.org/GNOME/mutter/-/issues/5119
Fix (merged to main 2026-11-11): 
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5443
Upstream suggested asking Ubuntu directly for a backport:
https://gitlab.gnome.org/GNOME/mutter/-/work_items/5119#note_2931740

[Test Plan]
1. Ubuntu 26.04, NVIDIA proprietary driver, GNOME Wayland session.
2. Open 
https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia/
   in Chrome or Firefox and share a single window (e.g. Terminal).
3. Move the mouse over the shared window.
Expected: no black bands. Before the fix: black bands appear and disappear.
Also check: monitor sharing and OBS window capture still work.

[Where problems could occur]
Only NVIDIA (EGL vendor "NVIDIA") + consumers without SPA_META_SyncTimeline:
they now get MemFd instead of dma-buf buffers (slightly higher CPU use).
Consumers with explicit sync and all other drivers are unchanged.

[Other Info]
Tested: Ubuntu 26.04.1, mutter 50.1-0ubuntu2.5 rebuilt with the attached
backport, RTX 4090, NVIDIA 595.99.02, PipeWire 1.6.2. Before: bands in
Brave and Firefox. After: window sharing in Google Meet (Brave) is clean.
The patch applies to 50.1 after adjusting for the meta-stream-source.c →
meta-screen-cast-stream-src.c rename; the logic is unchanged.

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch resolute

** Patch added: 
"screencast-avoid-dma-bufs-without-explicit-sync-on-nvidia.patch"
   
https://bugs.launchpad.net/bugs/2174064/+attachment/6017250/+files/screencast-avoid-dma-bufs-without-explicit-sync-on-nvidia.patch

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2174064

Title:
  [SRU] Black bands in window screencasts on NVIDIA (backport upstream
  !5443)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2174064/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to