mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add wait-for-frame-completion-in-pipewire debug flag for NVIDIA screencasts
This commit is contained in:
committed by
Ivan Molodetskikh
parent
e11af089aa
commit
5b6b6a5fe1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user