forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/screencasting/pw_utils.rsClear filter

2026-09-21

2026-09-20

pw_utils: Preserve the screencast frame cadencez · 4fa7fdf
pw_utils: Preserve the screencast frame cadence

Advance the capture timeline by the negotiated interval instead of anchoring every deadline to a late frame. This avoids cumulative scheduling drift and unnecessary frame skips.

Restart after a missed interval or a negotiated rate change so idle streams do not accumulate catch-up frames.
pw_utils: retain SHM mappings for buffer lifetimez · 6b02f42
pw_utils: retain SHM mappings for buffer lifetime

Map each sealed memfd once when allocating its buffer. Keep the mapping owned by Shmbuf and unmap it on drop. Make the caller safety requirements explicit and use slices for copying and clearing.
pw_utils: borrow SHM buffers when rendering and clearingz · 6e6e829
pw_utils: borrow SHM buffers when rendering and clearing

Pass the Copy layout to completion metadata instead of cloning the file owner. Release the buffer borrow before queueing to PipeWire.

2026-09-13

backend: Use DeviceFd for GBM allocationIvan Molodetskikh · c3fff2c
backend: Use DeviceFd for GBM allocation

DrmDeviceFd acquires master which won't work on winit. I don't think
it's needed on the GbmDevice type.
Make gbm optional for PW castsIvan Molodetskikh · bfb5dd5
Make gbm optional for PW casts

Without gbm, only shm is advertised.

Enables PW screencasting in winit niri.

2026-09-12

2026-04-29

pw_utils: support render and clean to shm bufferwrvsrx · f6f8290
pw_utils: support render and clean to shm buffer


Publish the complete validated SHM size after rendering and clear any
corruption flag left when the same PipeWire buffer was previously
returned unused.

2025-09-01

pw_utils: support add and remove shm bufferwrvsrx · 937a3b3
pw_utils: support add and remove shm buffer

Co-authored-by: z <h.meng.81771@gmail.com>

2026-02-17

pw_utils: support sending SHM sharing as fallback when first negotiatingwrvsrx · be6ec0a
pw_utils: support sending SHM sharing as fallback when first negotiating

Keep DONT_FIXATE set while multiple alternatives remain so niri can test
and confirm a usable modifier. Preserve the existing implicit-modifier
behavior for a lone DRM_FORMAT_MOD_INVALID, and never reopen a choice
that niri has already confirmed.

Cover empty, explicit, implicit, multi-modifier, and confirmed choices
with unit tests.

Co-authored-by: z <h.meng.81771@gmail.com>
pw_utils: change early return to match in modifier negotiationwrvsrx · 3644e03
pw_utils: change early return to match in modifier negotiation

This commit is preparation for supporting shared memory sharing

2025-08-31

2026-07-07

Upgrade pipewire to 0.10.0Sertonix · ef5b737
Upgrade pipewire to 0.10.0

Fixes a few issues when compiling on 32-bit systems

2026-07-05

pw_utils: Set pts to -1 in spa_meta_headerIvan Molodetskikh · a30ca79
pw_utils: Set pts to -1 in spa_meta_header

Fixes playback when using GStreamer, since pts = 0 were interpreted as
"all buffers are at the same timestamp = 0".

(pipewiresrc still won't work as-is in most cases as it doesn't support
multi-tile DMA-BUF formats yet)

2026-03-10

Refactor screencopy/screencast to render via the damage tracker, fix cursorless screencopy with damageIvan Molodetskikh · 19866f8
Refactor screencopy/screencast to render via the damage tracker, fix cursorless screencopy with damage

The damage tracker stores framebuffer effect cache, so we want anything
that renders repeatedly to render through a reused damage tracker. This
way, the cache persists and is reused across renders.

This will be important for the non-xray background effects.

2026-01-27

pw_utils: Lower default buffer count to 8Ivan Molodetskikh · a00b271
pw_utils: Lower default buffer count to 8

We certainly don't need 16 buffers.

2026-01-14

2026-01-12

Extract cast session/stream ID counters to global scopeIvan Molodetskikh · 570ea11
Extract cast session/stream ID counters to global scope

Add CastSessionId and CastStreamId newtypes. This lifts the atomic
counters from the D-Bus mutter_screen_cast module to a shared location,
preparing for adding screencopy cast tracking which will need the same
ID types.