Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-19 | backend/session: add a timeout waiting for GPUs | Simon Ser | |
If a GPU doesn't show up in 10s, bail out and return zero GPUs. | |||
2020-11-19 | backend/session: replace session_signal with events.active | Simon Ser | |
This is more idiomatic wlroots API. The new name makes it clear that the signal is emitted when wlr_session.active changes. | |||
2020-11-19 | backend/session: wait for DRM device if none found | Simon Ser | |
Wait for a DRM device if none is found in wlr_session_find_gpus. This can happen if the compositor is loaded before the display kernel driver. This supersedes the logind CanGraphical property. To test, e.g. with i915 and sway: rmmod -f i915 sway & modprobe i915 Closes: https://github.com/swaywm/wlroots/issues/2093 | |||
2020-11-19 | backend/session: introduce wlr_session.events.add_drm_card | Simon Ser | |
This is triggered when a new DRM card is added. An easy way to test this patch is `modprobe vkms`. | |||
2020-11-19 | backend/session: filter udev events by sysname | Simon Ser | |
We're only interested in card devices. The loop over wlr_session.devices would take care of ignoring non-card events, but a future patch will listen to udev "add" events as well. | |||
2020-11-19 | backend/session: operate on wlr_device | Simon Ser | |
Instead of operating on FDs in {open,close}_device, operate on wlr_devices. This avoids the device lookup in wlr_session and allows callers to have access to wlr_device fields. For now, we use it to remove wlr_session_signal_add and replace it with a more idiomatic wlr_session.events.change field. In the future, other events will be added. | |||
2020-11-19 | backend/session: don't return FD on failure in open_file | Simon Ser | |
When wlr_session_open_file fails, don't return the FD, otherwise the caller will think the call succeeded. | |||
2020-08-24 | session: Add libseat backend | Kenny Levinsen | |
2020-02-17 | backend/session: allow GPU enumeration on FreeBSD | Jan Beich | |
https://github.com/FreeBSDDesktop/libudev-devd/commit/f11ee5b418c740ba6fd4c946ab10b0d89702e4d0 | |||
2019-08-12 | backend/session: non-void function should return a value | Antonin Décimo | |
With assertions disabled, it should make sense to return NULL. | |||
2019-07-27 | Remove all wayland-server.h includes | Simon Ser | |
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration. | |||
2019-03-02 | backend/session: add noop session | emersion | |
This is the first step towards being able to run via DRM leasing and on render nodes. Test with: export WLR_BACKENDS=drm export WLR_SESSION=noop export WLR_DRM_DEVICES=/dev/dri/renderD128 | |||
2018-11-12 | Use #if instead of #ifdef for wlroots config data | emersion | |
This prevents some annoying issues when e.g. not including wlr/config.h or making a typo in the guard name. | |||
2018-09-18 | Add support for WLR_SESSION env variable | random human | |
Valid values are "logind"/"systemd" and "direct". If WLR_SESSION is set, only its value is potentially tried; it will not try any other option. | |||
2018-08-27 | Init the new destroy signals added by #1200 | Alexander Bakker | |
2018-08-26 | Add destroy signals to types that are destroyed by wl_display_destroy | Alexander Bakker | |
2018-08-08 | session: load GPU devices even if they have zero crtcs/connectors/encoders | Ilia Bozhinov | |
On some systems (most notably laptops with two GPUs) there are GPUs that don't have attached outputs. However, we still want to load those GPUs because they could still be used by the compositor for rendering. | |||
2018-07-21 | Revert "Merge pull request #1153 from emersion/include-config" | Drew DeVault | |
This reverts commit ef0a6ea4d2934ec014d791150c42348061ec4f7f, reversing changes made to 8d03bc9178d8544cbcd24293ece6ac9f1698e602. | |||
2018-07-21 | Always include config.h | emersion | |
2018-07-09 | util: add wlr_ prefix to log symbols | emersion | |
2018-06-14 | Multiseat fixes | Scott Anderson | |
2018-02-19 | Revert "ELF Visibility" | Drew DeVault | |
2018-02-19 | Explicitly export EFL symbols | Scott Anderson | |
2018-02-12 | Reformat all #include directives | emersion | |
2018-02-12 | Make wlr_signal_emit_safe private | emersion | |
2018-02-12 | Add wlr_signal_emit_safe | emersion | |
2018-01-21 | style: include brackets for if/while/for, even if it's a single statement | Johannes Schramm | |
2018-01-02 | fix build without systemd | PoroCYon | |
2017-12-27 | config: Avoid clash with other config-headers | Björn Esser | |
2017-12-26 | config: Put all defines into config.h | Björn Esser | |
2017-12-08 | Listen to display destroy in session | emersion | |
It's not the backend's responsibility to destroy the session anymore. | |||
2017-11-16 | Fix a bunch of mistakes detected with scan-build | emersion | |
2017-11-10 | Remove VLA from session.h | Eric Molitor | |
VLAs are optional C11 features and not supported by C++. | |||
2017-10-11 | Add FreeBSD compatibility | Greg V | |
2017-10-02 | Check for fd failure properly | Scott Anderson | |
2017-10-02 | Add explicitly picking GPUs with environment var | Scott Anderson | |
2017-10-01 | Change wlr_session to open every GPU | Scott Anderson | |
2017-09-22 | Add elogind support | dudemanguy | |
Resolves SirCmpwn/wlroots#146 | |||
2017-08-26 | Remove single GPU assumptions from wlr_session | Scott Anderson | |
2017-08-26 | Merge wlr_udev into wlr_session | Scott Anderson | |
2017-08-26 | Rename functions to be consistent with #93 | Scott Anderson | |
2017-08-06 | Changed header paths. | Scott Anderson | |
2017-08-06 | Moved session/ into backend/ | Scott Anderson | |