https://bugs.kde.org/show_bug.cgi?id=529231

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
This regression is reachable without Vulkan and without NVIDIA: an active
screencast session (OBS / PipeWire portal) on an otherwise normal Wayland
desktop makes every Chromium-based client drop to a hardcoded 60 Hz. Stopping
the screencast restores the panel rate immediately.

SYSTEM

Plasma 6.8.3, KWin 6.8.3-1 (Arch), Wayland, Mesa 26.3.1, kernel 7.3.5
AMD Radeon RX 9070 XT (radeonsi gfx1201), ANGLE / OpenGL ES 3.2
2x DisplayPort 2560x1440 @ 143.995 Hz, scale 1, VRR Automatic (also with Never)
Compositing: OpenGL ES; supportInformation reports "Refresh Rate: 143995"
kwin upgraded 6.8.2-2 -> 6.8.3-1 on 2026-11-22; slowness started with it

REPRODUCER

Start an OBS screen capture (xdg-desktop-portal / PipeWire screencast).
Open Chromium 158 or any Electron 45 app on native Wayland, maximised, and
scroll it.
Average 240 animation-frame intervals in the page: with screencast: avg 16.53
ms, max 16.8 ms -> 60 Hz screencast stopped: avg 6.90 ms, max 7.1 ms -> 145 Hz
Same binary; only the screencast changes. XWayland gets 145 Hz either way.
Firefox on native Wayland keeps 144 Hz throughout.
Chromium logs, with the screencast active:

ERROR:ui/gl/gl_surface_presentation_helper.cc:276]
GetVSyncParametersIfAvailable() failed for N times!

WAYLAND_DEBUG=1 shows why: every presentation feedback is answered with
discarded() and no presented() is ever sent.

[21:56:57.565540] wl_registry#2.global(46, "wp_presentation", 2)
[21:56:57.565684] wp_presentation#30.clock_id(1) [21:56:57.853641] ->
wp_presentation#30.feedback(wl_surface#53, new id wp_presentation_feedback#67)
[21:56:57.856463] wp_presentation_feedback#67.discarded() [21:56:57.864150] ->
wp_presentation#30.feedback(wl_surface#53, new id wp_presentation_feedback#76)
[21:56:57.876229] wp_presentation_feedback#76.discarded() [21:56:57.879929] ->
wp_presentation#30.feedback(wl_surface#53, new id wp_presentation_feedback#75)
[21:56:57.880285] wp_presentation_feedback#78.discarded() ... (no presented()
in the whole capture)

INTERPRETATION 

A screencast creates a second SceneView for the output. That is precisely the
situation commit 179a5225 "scene: only progress fifo and commit timing on one
SceneView" (MR !10261) changes: it progresses fifo/commit timing on a single
view. With a screencast view present, the surface appears to be progressed (or
its feedback resolved) on a view that is not the one presenting to the output,
so the feedback is discarded and clients that derive vsync from wp_presentation
fall back to their default 60 Hz.

Note this makes the regression much wider than the original report: any screen
sharing session (OBS, browser Meet/Zoom share, Spectacle recording) reproduces
it, with any Chromium/Electron client, on any GPU vendor.

WORKAROUNDS

- Stop the screencast (immediate, confirmed).
- Run Chromium/Electron through XWayland: --ozone-platform=x11 (145 Hz
measured).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to