diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-09 08:18:34 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-09 08:18:34 +0400 |
| commit | b2df3e104f2375af10c0f891eb82253545b952e1 (patch) | |
| tree | 8e871e6b6f2d2346b8276020e1d29edad9c9d628 | |
| parent | ec2d339a86f8c3c38de8c9f3d47274bf3601779d (diff) | |
| download | niri-b2df3e104f2375af10c0f891eb82253545b952e1.tar.gz niri-b2df3e104f2375af10c0f891eb82253545b952e1.tar.bz2 niri-b2df3e104f2375af10c0f891eb82253545b952e1.zip | |
Document debug settings in the default config
| -rw-r--r-- | resources/default-config.kdl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 8aba085c..eec4838b 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -318,3 +318,30 @@ binds { Mod+Shift+Ctrl+T { toggle-debug-tint; } } + +// Settings for debugging. Not meant for normal use. +// These can change or stop working at any point with little notice. +debug { + // Make niri take over its DBus services even if it's not running as a session. + // Useful for testing screen recording changes without having to relogin. + // The main niri instance will *not* currently take back the services; so you will + // need to relogin in the end. + // dbus-interfaces-in-non-session-instances + + // Wait until every frame is done rendering before handing it over to DRM. + // wait-for-frame-completion-before-queueing + + // Enable direct scanout into overlay planes. + // May cause frame drops during some animations on some hardware. + // enable-overlay-planes + + // Disable the use of the cursor plane. + // The cursor will be rendered together with the rest of the frame. + // disable-cursor-plane + + // Slow down animations by this factor. + // animation-slowdown 3.0 + + // Override the DRM device that niri will use for all rendering. + // render-drm-device "/dev/dri/renderD129" +} |
