aboutsummaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2024-03-19tty: Generalize DRM property helpersIvan Molodetskikh
2024-03-15Restore gamma on TTY switch backIvan Molodetskikh
2024-03-15Store gamma changes to apply on session resumeIvan Molodetskikh
2024-03-15Implement gamma adjustment via GAMMA_LUT propertyIvan Molodetskikh
2024-03-15gamma-control: Misc. clean ups and fixesIvan Molodetskikh
2024-03-15Adds support for wlr_gamma_control_unstable_v1 protocolphuhl
2024-03-14tty: Make binding EGL wl-display optionalIvan Molodetskikh
2024-03-13tty: Set max bpc to 8Ivan Molodetskikh
2024-03-08Pass through subpixel layoutIvan Molodetskikh
2024-03-03Catch panics from edid-rsIvan Molodetskikh
Work around an integer overflow. See: https://github.com/YaLTeR/niri/issues/239
2024-03-02Disentangle frame callback sequence from real DRM sequenceIvan Molodetskikh
It can currently happen that the estimated VBlank timer fires right before a real VBlank, which can cause some sequence collisions, which might cause frame callbacks to never be sent. To prevent this, just track the frame callback sequence fully separately. There isn't really any harm in this, and if we accidentally increment it more frequently than necessary then nothing terrible will happen.
2024-03-01tty: Bump sequence on successful queue_frame()Ivan Molodetskikh
Before this commit: - niri queues frame - successful VBlank happens, sequence is bumped, frame callbacks are sent - niri receives commit, redraws, queues next frame, tries to send frame callbacks, but there wasn't a new VBlank yet, so the sequence is old, and frame callbacks aren't sent - frame callbacks are sent only next VBlank
2024-03-01tty: Avoid zero estimated vblank timerIvan Molodetskikh
2024-03-01Fix presentation feedback panic with zero presentation timeIvan Molodetskikh
2024-03-01Add emulate-zero-presentation-time debug flagIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21Change non-bug error! to warn!Ivan Molodetskikh
Be consistent with our usage.
2024-02-21Fix debug tint desync for new outputsIvan Molodetskikh
2024-02-18Update for Smithay MultiGpu shadow copiesIvan Molodetskikh
2024-02-14tty: Filter out interlaced modesIvan Molodetskikh
They don't seem to work. wlroots also filters them: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/feb54979c0940655e36119c63e18a9ee72cc03b0/backend/drm/drm.c#L1461
2024-02-14tty: Truncate Edid strings to nulIvan Molodetskikh
Otherwise they crash in wayland-rs when converting to CString.
2024-02-12Implement DRM leasingShawn Wallace
Closes #178
2024-02-12tty: Activate monitors on session resumeIvan Molodetskikh
2024-02-12tty: Notify idle activity on session resumeIvan Molodetskikh
2024-02-10Remove logind-zbus dependencyIvan Molodetskikh
It isn't updated and we don't really need it anyway.
2024-02-06Split render_helpers.rsIvan Molodetskikh
2024-02-05Fix Clippy warningsIvan Molodetskikh
2024-02-05Add lib.rs, become a mixed lib-bin crateIvan Molodetskikh
Will be used for visual tests.
2024-02-01Add error messages to backend initializationIvan Molodetskikh
2024-01-31Hardcode winit transform for nowIvan Molodetskikh
2024-01-30tty: reset surface state after changing monitor stateChristian Meissl
changing the "ACTIVE" property of a surface requires to re-evaluate the surface state.
2024-01-28winit: Don't remove output on CloseRequestedIvan Molodetskikh
More winit events can process after CloseRequested, which will cause a panic if trying to access the now-removed output.
2024-01-25Remove hack for fixed EGLDisplay issueChristian Meissl
2024-01-25Update smithayChristian Meissl
2024-01-23screencast: Emit MonitorsChangedIvan Molodetskikh
2024-01-22Update Smithay, use device changed session resume codeIvan Molodetskikh
Should fix most cases of monitors failing to light up after a TTY switch.
2024-01-21tty: Delay output config update until resumeIvan Molodetskikh
We can't do anything while paused.
2024-01-21tty: Check changes against pending connectors and modeIvan Molodetskikh
If we queued some DRM changes, they will be in pending. Also be more resilient by removing unwrap.
2024-01-17Add an IPC socket and a niri msg outputs subcommandIvan Molodetskikh
2024-01-17Rename connectors to enabled_outputsIvan Molodetskikh
2024-01-17tty: Add Tracy span to on_output_config_changed()Ivan Molodetskikh
2024-01-16Add live-reload for output modeIvan Molodetskikh
2024-01-16tty: Extract pick_mode()Ivan Molodetskikh
2024-01-16Add live-reload for output on/offIvan Molodetskikh
2024-01-16tty: Remove connector arg from connector_disconnected()Ivan Molodetskikh
2024-01-16Move output scale setting into niriIvan Molodetskikh
2024-01-07Move config into a separate crateIvan Molodetskikh
Get miette and knuffel deps contained within.
2024-01-06Add render-drm-device debug config optionIvan Molodetskikh
2024-01-06tty: Print full path to render nodeIvan Molodetskikh
2024-01-05tty: Avoid non-linear cross-device formatsIvan Molodetskikh