forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on b0eb8ad8c80094de34abd88c109aea421461622bFiltered to src/backend/tty.rsClear filter

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

Remove setting max bpcIvan Molodetskikh · 98006a8Browse files

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: Fix cast for aarch64Ivan Molodetskikh · 6e8fd15Browse files
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>

2025-10-19

2025-10-17

tty: Retry adding device on changeIvan Molodetskikh · ada6e84
tty: Retry adding device on change

On my laptop, sometimes the initial addition of the dGPU fails for some
reason.
tty: Improve debug messagesIvan Molodetskikh · b38df2dBrowse files

2025-08-31

2025-09-17

tty: Close DRM device session fd in device_removed()Shaun Ren · b7f1e38
tty: Close DRM device session fd in device_removed()

Same logic as in cosmic-comp.

2025-08-24

tty: Don't print successful max bpc/HDRIvan Molodetskikh · 8b73910
tty: Don't print successful max bpc/HDR

These are not really that useful

2025-08-23

2025-08-17