diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-03 13:29:48 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-04 14:36:34 +0200 |
| commit | f49ecc31c4d2a187c4c479e84fc6e6acaf5231f2 (patch) | |
| tree | 9b7763a90f7700ec78a515c41472a25602d76c08 /niri-config/src | |
| parent | 15b4acc17ee2c8ac31f7e6093df57aa66e6bc2de (diff) | |
| download | niri-f49ecc31c4d2a187c4c479e84fc6e6acaf5231f2.tar.gz niri-f49ecc31c4d2a187c4c479e84fc6e6acaf5231f2.tar.bz2 niri-f49ecc31c4d2a187c4c479e84fc6e6acaf5231f2.zip | |
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.
Diffstat (limited to 'niri-config/src')
| -rw-r--r-- | niri-config/src/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 06067871..527e6f2b 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -2331,8 +2331,6 @@ pub struct DebugConfig { #[knuffel(child)] pub wait_for_frame_completion_before_queueing: bool, #[knuffel(child)] - pub wait_for_frame_completion_in_pipewire: bool, - #[knuffel(child)] pub enable_overlay_planes: bool, #[knuffel(child)] pub disable_cursor_plane: bool, @@ -5327,7 +5325,6 @@ mod tests { preview_render: None, dbus_interfaces_in_non_session_instances: false, wait_for_frame_completion_before_queueing: false, - wait_for_frame_completion_in_pipewire: false, enable_overlay_planes: false, disable_cursor_plane: false, disable_direct_scanout: false, |
