Commits
2026-09-23
input: support press and release bind actionsJustin Spedding · 5331880
input: support press and release bind actions There's a small behavior change: pressing a bind that is on a cooldown and has repeat=true won't start the key repeat (it used to). The reason is that for Press+Release keys it would make it annoying to track when the release bind should fire (only after the first repeated key rather than currently when it's recorded on press).
2026-10-01
tty: Add CTM fallback to set approximate gammaMrFantOlas · c761632
tty: Add CTM fallback to set approximate gamma When neither GAMMA_LUT nor legacy gamma is available, approximate the gamma ramp with a CTM scaling matrix.
tty: Move legacy gamma into GammaPropsIvan Molodetskikh · 9e38dd2
tty: Move legacy gamma into GammaProps Also implement restoring legacy gamma on TTY switch.
tty: Cache GAMMA_LUT_SIZE valueIvan Molodetskikh · 008992f
tty: Cache GAMMA_LUT_SIZE value Should be immutable, no need to query every time.
tty: Fix wrong green/blue variable namesIvan Molodetskikh · 51f5533
tty: Fix wrong green/blue variable names Somehow two mistakes combined and it came out right.
2026-08-24
tty: Use saturating math in calculate_mode_cvt()WitteShadovv · 3d8779d
tty: Use saturating math in calculate_mode_cvt() Width and height get here from the client through set_custom_mode, which takes anything up to u16::MAX, and the CVT timing sums then overflow u16 and panic with overflow-checks on. 1920x65535 is enough. Like the virtual pointer, output management is behind client_is_unrestricted, so this is robustness rather than a sandbox issue.
2026-09-13
backend: Use DeviceFd for GBM allocationIvan Molodetskikh · c3fff2c
backend: Use DeviceFd for GBM allocation DrmDeviceFd acquires master which won't work on winit. I don't think it's needed on the GbmDevice type.
2026-09-12
feat: implement ext-image-copy-capture for outputs and cursorsPatrick Gaskin · 849c576
feat: implement ext-image-copy-capture for outputs and cursors No toplevel capture support yet since that'll require more refactoring.
2026-08-11
2026-07-19
Update Smithay + bump MSRV to 1.87Ivan Molodetskikh · 0dce5f1
Update Smithay + bump MSRV to 1.87 - rotated output damage fix - DP-MST missing monitor fix - GLFW DnD crash fix - pointer constraint improvement - VRAM leak fixes - dmabuf v6 - ClickGrab track last position - 32-bit fixes MSRV bump due to new Smithay requirement.
2026-07-08
fix: color format for copy in multigpu setupMichael Yang · 0777769
fix: color format for copy in multigpu setup This fixes #4113 where copying from a rendering Nvidia GPU to a target iGPU fails because the latter has chosen a color format the former does not support. The `nvidia-drm` proprietary driver only supports XB30 and AB30, not XR30/AR30. Therefore, the first two color formats are used.
2026-05-28
feat: add 10-bit framebuffer pixel formatMichael Yang · 9bd6c2c
feat: add 10-bit framebuffer pixel format Enable true 10-bit content on supported outputs (tested).
2025-12-31
feat: add per output max-bpc config and ipc actionMichael Yang · c525396
feat: add per output max-bpc config and ipc action List current max-bpc values in outputs. fix: remove 16 bpc and change default behaviour feat(ipc): add max_bpc and format to output fix: bpc on output config change docs: add bpc to Outputs feat: use atomic commits for connector properties fix: drm `value_type` breaking change fix: minor changes based on PR review Rename bpc to max-bpc. Add max-bpc output action. refactor: add set_connector_properties Fix niri-config parse test. fix: bail when outside valid max bpc range
2026-04-19
tty: Re-evaluate ignored nodes on udev add events and session resume (#3651)jan Lemata · Unverified04c422e
tty: Re-evaluate ignored nodes on udev add events and session resume (#3651) * tty: Re-evaluate ignored nodes on udev add events When a DRM device is removed and rescanned (e.g. during a dGPU suspend/resume cycle), the kernel may assign it a new device ID. Re-evaluating the config paths specifically on UdevEvent::Added ensures that symlinks like /dev/dri/by-path/... are resolved to their new underlying IDs, preventing niri from accidentally opening an ignored hotplugged device. This check is restricted to device additions to avoid unnecessary filesystem I/O on the hot path during bursts of other udev events. * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Fix input lock when starting compositor while on a different TTY (#3593)Dubakula Sai Venkata Chaitanya · Unverified6fc50a1
Fix input lock when starting compositor while on a different TTY (#3593) * fix: no longer input locks when TTY is switched before full compositor start * reword --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2026-04-16
2026-04-14
2026-02-06
2026-01-30
2026-03-07
2026-02-10
2026-01-10
Update Insta snapshots for new Insta versionIvan Molodetskikh · 45fc763
Update Insta snapshots for new Insta version No functional changes intended.
2025-12-29
tty: Load libinput plugins if availableIvan Molodetskikh · 1ab1737
tty: Load libinput plugins if available Some distros like Fedora build libinput with plugin autoloading, however by default, the compositor needs to explicitly load them. Plus, we need to load manually if we want to also load from $XDG_CONFIG_HOME/libinput/plugins. Ref. https://gitlab.gnome.org/GNOME/mutter/-/commit/c5b12fbf6313d51f3279901bb561023e56181e36
2025-12-18
2025-11-25
2025-11-21
2025-11-20
tty: Throttle VBlanks on displays running faster than expectedIvan Molodetskikh · 9d522ed
tty: Throttle VBlanks on displays running faster than expected Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Extract time and refresh_interval higherIvan Molodetskikh · 8ef5cc2
tty: Extract time and refresh_interval higher Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Fall back to primary GPU for display-only devicesIvan Molodetskikh · 46308bb
tty: Fall back to primary GPU for display-only devices This enables DisplayLink support. Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Name is_ccs variable explicitlyIvan Molodetskikh · ade8dd5
tty: Name is_ccs variable explicitly Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Create allocator at device creationIvan Molodetskikh · 5555e55
tty: Create allocator at device creation Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Ensure we only use the primary render node for dmabuf globalIvan Molodetskikh · a21aac9
tty: Ensure we only use the primary render node for dmabuf global Necessary for a future refactor making render node optional. Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
tty: Initialize primary node before othersIvan Molodetskikh · cb47cab
tty: Initialize primary node before others Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
2025-11-19
tty: Make sure to cleanup all CRTCs except used onesIvan Molodetskikh · 1ae4898
tty: Make sure to cleanup all CRTCs except used ones Apparently a CRTC can be active and use bandwidth even without any connectors on it.
tty: Avoid modeset on adding device if possibleIvan Molodetskikh · 63f5808
tty: Avoid modeset on adding device if possible Session resume will still modeset; more work would be needed to support that (namely, handling changes to the CRTC mapping).
2025-11-18
2025-11-17
tty: Avoid reloading ignored nodes unnecessarilyIvan Molodetskikh · 3eef19d
tty: Avoid reloading ignored nodes unnecessarily Also fixes panic when the code ran while udev_dispatcher was already locked.
2025-10-29
tty: Move HDR property reset to session resumeIvan Molodetskikh · db32f52
tty: Move HDR property reset to session resume Not sure why it was in output config changed, but it shouldn't be there as that's called quite frequently.
tty: Tone down some property setting messagesIvan Molodetskikh · 978aace
tty: Tone down some property setting messages If those props are missing we don't want to scream "error" in the logs.
Add support for custom modes and modelines. (#2479)Merlijn · Unverified6a2c626
Add support for custom modes and modelines. (#2479) * Implement custom modes and modelines Co-authored-by: ToxicMushroom <32853531+ToxicMushroom@users.noreply.github.com> * fixes * refactor mode and modeline kdl parsers. * add IPC parse checks * refactor: address feedback * fix: add missing > 0 refresh rate check * move things around * fixes * wiki fixes --------- Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>