forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 055a94de3d3b792adfb6842bdddd8eab6384164fFiltered to src/pw_utils.rsClear filter

2025-08-04

pw_utils: Set sequence in buffer meta headerIvan Molodetskikh · 378a90e
pw_utils: Set sequence in buffer meta header

Useful for debugging.

2025-08-03

pw_utils: Wait for frame completion before queueingIvan Molodetskikh · f49ecc3
pw_utils: Wait for frame completion before queueing

Without explicit sync, we have no way to signal the PipeWire consumer when the
rendering is done. So, wait until it's done before giving it the frame.

This should fix flickering screencasts on NVIDIA.
pw_utils: Fill dmabuf strides and offsets at add_buffer()Ivan Molodetskikh · 15b4acc
pw_utils: Fill dmabuf strides and offsets at add_buffer()

As far as I understand, these don't change.
pw_utils: Store LoopHandleIvan Molodetskikh · 43577f4Browse files

2025-08-02

pw_utils: Switch to using raw pw_buffersIvan Molodetskikh · 8fba696
pw_utils: Switch to using raw pw_buffers

We're gonna need to store these in the future, and the lifetime on the pw-rs
Buffer prevents us from easily doing that. Besides, we'll need access to
metadata which pw-rs doesn't expose yet.

2025-07-17

2025-05-16

2025-03-17

2025-03-16

Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh · 287480b
Keep buffer size when switching dynamic cast to Nothing

Otherwise, we won't actually clear it because it'll become Pending.

2025-03-15

Store cast Stream ID, use it for Redraw requestIvan Molodetskikh · 8c4ebb0
Store cast Stream ID, use it for Redraw request

Unlike StopCast, Redraw targets a specific Cast. Use the stream ID to
identify it.

2025-01-10

Fix two manual let-elseIvan Molodetskikh · 7dee2f6Browse files

2025-01-04

Restart PipeWire on errorsIvan Molodetskikh · b2ca280
Restart PipeWire on errors

This lets you restart pipewire and then get a screencast successfully.

2024-12-09

2024-12-13

2024-11-23

2024-08-24

Rework PW screencast frame timingIvan Molodetskikh · b2c7d3a
Rework PW screencast frame timing

- Remove the 0.5 ms hack.
- Add redraw scheduling to fix stuck frame if the last redrawn frame
  happened too soon.

2024-08-23

Add damage check to PW screencastsIvan Molodetskikh · 471dc71
Add damage check to PW screencasts

Avoids unnecessary frames.

2024-08-06

2024-07-26

pw: Don't require LINEAR bufferIvan Molodetskikh · d777810
pw: Don't require LINEAR buffer

It's not needed and apparently doesn't work on NVIDIA together with the
rendering flag.

2024-06-28

Ignore compositor opacity for window screencastsIvan Molodetskikh · a43f30b
Ignore compositor opacity for window screencasts

When using opacity as unfocused indicator, it will show up on the
screencast, which is undesired.

This is not a problem for window screen*shot*s where the window is
focused.
Add transparency support to window screencastsIvan Molodetskikh · 88f7b08
Add transparency support to window screencasts

Turns out it needed to be in a separate pod.

2024-06-27

2024-06-21

2024-05-16

Update Smithay and other depsIvan Molodetskikh · ae63773Browse files

2024-02-22

Fix new warningsIvan Molodetskikh · af6485cBrowse files

2024-02-10

Update dependenciesIvan Molodetskikh · a388c25Browse files

2024-01-29

2024-01-28

2024-01-18

Redraw upon starting PW streamIvan Molodetskikh · 3461c66
Redraw upon starting PW stream

Otherwise it may take a while for the first frame to arrive.

2023-10-10

2023-09-24

Remove LoopDataIvan Molodetskikh · cd4f7c0
Remove LoopData

The calloop Smithay update finally lets me do this.
Update SmithayIvan Molodetskikh · c422fdaBrowse files

2023-09-08

Add initial monitor screencast portal implIvan Molodetskikh · d52ca23
Add initial monitor screencast portal impl

DmaBuf monitor screencasting through xdg-dekstop-portal-gnome!

Somewhat limited currently, e.g. the cursor is always embedded. But gets
most of the job done.