aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Debug-Options.md
diff options
context:
space:
mode:
authorCole Leavitt <coleleavitt@protonmail.com>2025-03-17 10:30:20 -0700
committerIvan Molodetskikh <yalterz@gmail.com>2025-03-17 12:03:43 -0700
commit5b6b6a5fe111c3b55ba1f8976ec7a3daac3fc04c (patch)
treec67baa6e04542a37d7b75c863cf1309130707f91 /wiki/Configuration:-Debug-Options.md
parente11af089aaf43ff6f1d4036dbbddccc342c3bc29 (diff)
downloadniri-5b6b6a5fe111c3b55ba1f8976ec7a3daac3fc04c.tar.gz
niri-5b6b6a5fe111c3b55ba1f8976ec7a3daac3fc04c.tar.bz2
niri-5b6b6a5fe111c3b55ba1f8976ec7a3daac3fc04c.zip
Add wait-for-frame-completion-in-pipewire debug flag for NVIDIA screencasts
Diffstat (limited to 'wiki/Configuration:-Debug-Options.md')
-rw-r--r--wiki/Configuration:-Debug-Options.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/wiki/Configuration:-Debug-Options.md b/wiki/Configuration:-Debug-Options.md
index e3586b7a..0911ebb1 100644
--- a/wiki/Configuration:-Debug-Options.md
+++ b/wiki/Configuration:-Debug-Options.md
@@ -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.