by gautamcgoel · 7y ago · 0 comments
Looks like OpenBSD has a fairly up to date kms/drm stack now, but you also need:
- to have epoll - https://github.com/jiixyj/epoll-shim might just work
- to expose input devices from the kernel as evdev devices (good idea) or to implement support for your legacy protocol in wlroots / in other places for other compositors (terrible idea)
- to have a device enumeration and hotplug system and either have it pretending it's udev (as we do with https://github.com/FreeBSDDesktop/libudev-devd) or implement support for it in wlroots and everywhere
- direct session glue code at least e.g. https://github.com/swaywm/wlroots/blob/master/backend/sessio...
- but ideally, a working session manager that supports acquiring drm+evdev devices over d-bus e.g. https://github.com/ConsoleKit2/ConsoleKit2/pull/116 && https://github.com/swaywm/wlroots/pull/1467