-
Notifications
You must be signed in to change notification settings - Fork 343
Replace logind CanGraphical with udev monitoring #2093
Comments
One way to do this is to make
This would also help out with DRM device hotplugging, but is quite a breaking change. It doesn't fit the X11/Wayland backend initialization either, because they have no need for Another easier but crappier way is to just block inside the |
I don't know whether multiple DRM backends is a good idea. Could just have one DRM backend for all DRM devices. |
We still need a way to notify the user that a new device has appeared or disappeared. They may want to selectively enable/disable devices based on user configuration. |
That's a good point. They also may want not to use udev and have a custom list of DRM devices to open. |
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: swaywm#2093
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: swaywm#2093
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: swaywm#2093
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: swaywm#2093
See https://lists.freedesktop.org/archives/systemd-devel/2020-April/044245.html
The text was updated successfully, but these errors were encountered: