Also affected on Ubuntu 26.04.1 (resolute), mutter 50.1-0ubuntu2.5, gnome-shell 
50.1-0ubuntu1.5, Wayland.
Hardware: Intel i5-8265U, UHD 620 (i915), external HDMI 1920x1080@60 + internal 
eDP panel.

Capture client: OBS Studio 33.0.0, PipeWire screen capture (DMA-BUF, BGRA, 
framerate 0/1, max 60/1).
With MUTTER_DEBUG screen-cast topic enabled, during a 20 s recording with 
Activities overview and workspace switches:
- "Skipped recording frame on stream N, too early": 6915
- "Recording full frame on stream N": 534
- "Recording cursor frame on stream N": 717
- ~14 "too early" skips per recorded full frame; bursts of 460-800 skips per 
second during animations.
- Gaps of 130-210 ms between recorded full frames inside every workspace-switch 
/ overview animation,
  while the physical display stays smooth.
- OBS at 60 fps receives at most ~39 new frames/s; at 30 fps it receives ~20-30 
new frames/s.
- The GNOME built-in screen recorder shows the same problem (~9 fps average, 
worse).
- KMS capture (gpu-screen-recorder -w HDMI-A-1) of the same actions is smooth 
at 60 fps,
  so the drops happen in the mutter screencast path.

The symptoms match the "too early" rounding issue fixed upstream by mutter !5358
(commit 6771b410, "stream-source: Round to nearest interval boundary in 
is_it_too_early"),
which is in gnome-51/main but not in 50.x. A backport/SRU to 50.1 in resolute 
would be appreciated.

-- 
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/2174434

Title:
  Monitor screen casts drop to about 40 fps at 60/1 (and about 23 fps at
  30/1); fixed upstream by mutter !5358

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


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

Reply via email to