Document debug settings in the default config
Browse files at this commitb2df3e104f2375af10c0f891eb82253545b952e1Parent: ec2d3391 changed file +27 -0
- resources/default-config.kdl +27 -0
resources/default-config.kdlmodified+27 -0
| @@ -318,3 +318,30 @@ binds { | |||
| 318 | 318 | ||
| 319 | Mod+Shift+Ctrl+T { toggle-debug-tint; } | 319 | Mod+Shift+Ctrl+T { toggle-debug-tint; } |
| 320 | } | 320 | } |
| 321 | + | ||
| 322 | +// Settings for debugging. Not meant for normal use. | ||
| 323 | +// These can change or stop working at any point with little notice. | ||
| 324 | +debug { | ||
| 325 | + // Make niri take over its DBus services even if it's not running as a session. | ||
| 326 | + // Useful for testing screen recording changes without having to relogin. | ||
| 327 | + // The main niri instance will *not* currently take back the services; so you will | ||
| 328 | + // need to relogin in the end. | ||
| 329 | + // dbus-interfaces-in-non-session-instances | ||
| 330 | + | ||
| 331 | + // Wait until every frame is done rendering before handing it over to DRM. | ||
| 332 | + // wait-for-frame-completion-before-queueing | ||
| 333 | + | ||
| 334 | + // Enable direct scanout into overlay planes. | ||
| 335 | + // May cause frame drops during some animations on some hardware. | ||
| 336 | + // enable-overlay-planes | ||
| 337 | + | ||
| 338 | + // Disable the use of the cursor plane. | ||
| 339 | + // The cursor will be rendered together with the rest of the frame. | ||
| 340 | + // disable-cursor-plane | ||
| 341 | + | ||
| 342 | + // Slow down animations by this factor. | ||
| 343 | + // animation-slowdown 3.0 | ||
| 344 | + | ||
| 345 | + // Override the DRM device that niri will use for all rendering. | ||
| 346 | + // render-drm-device "/dev/dri/renderD129" | ||
| 347 | +} | ||