Add wait-for-frame-completion-in-pipewire debug flag for NVIDIA screencasts

This commit is contained in:
Cole Leavitt
2025-03-17 10:30:20 -07:00
committed by Ivan Molodetskikh
parent e11af089aa
commit 5b6b6a5fe1
4 changed files with 81 additions and 11 deletions
+17
View File
@@ -21,6 +21,7 @@ debug {
force-pipewire-invalid-modifier
dbus-interfaces-in-non-session-instances
wait-for-frame-completion-before-queueing
wait-for-frame-completion-in-pipewire
emulate-zero-presentation-time
disable-resize-throttling
disable-transactions
@@ -152,6 +153,22 @@ debug {
}
```
### `wait-for-frame-completion-in-pipewire`
<sup>Since: next release</sup>
Wait until every screencast frame is done rendering before handing it over to PipeWire.
Sometimes helps on NVIDIA to prevent glitched frames when screencasting.
This debug flag will eventually be removed once we handle this properly (via explicit sync in PipeWire).
```kdl
debug {
wait-for-frame-completion-in-pipewire
}
```
### `emulate-zero-presentation-time`
Emulate zero (unknown) presentation time returned from DRM.