On Wed, Dec 27, 2023 at 6:52 AM Rafael Sadowski <raf...@sizeofvoid.org> wrote:
> On Tue Dec 26, 2023 at 11:33:16AM -0500, Neal Gompa wrote: > > On Tue, Dec 26, 2023 at 9:26 AM Rafael Sadowski <raf...@sizeofvoid.org> > wrote: > > > > > > Hi, > > > > > > I am pleased to announce that KDE Plasma is available on OpenBSD > > > alongside all KDE Gear 23.08.4 applications as well as Frameworks > > > 5.113.0. > > > > > > Today the 26.12.23 it was enabled and will be available in the next > > > release (or in -current rolling release). > > > > > > - https://twitter.com/sizeofvoid/status/1739641916050792882 > > > - https://marc.info/?l=openbsd-ports-cvs&m=170359681610856&w=4 > > > - https://marc.info/?l=openbsd-ports-cvs&m=170359673610818&w=4 > > > > > > > Congratulations! Out of curiosity, do you have KDE Plasma Wayland > > working yet? I saw recently that the basic Wayland stack was ported to > > OpenBSD and now that the Sway stack works on OpenBSD[1] and I know > > that it works on FreeBSD already[2]. > > > > [1]: https://homepages.laas.fr/matthieu/talks/wayland-openbsd.pdf > > [2]: https://euroquis.nl/kde/2021/04/30/wayland.html > > > > Thanks! > > Unfortunately no, I'm working on it. I have recorded the situation and > orther issues in the README: > > https://github.com/openbsd/ports/blob/master/meta/kde/pkg/README-plasma#L68 > > I don't want to abuse this thread, but here is the current start process > and as you can see, the DRM device cannot be opened. > While it seems strange, the issue here is the lack of a properly functioning ConsoleKit - see https://invent.kde.org/plasma/kwin/-/blob/master/src/core/session_consolekit.cpp Specifically, the function openRestricted there is used by KWin to open the GPU / Display device (in https://invent.kde.org/plasma/kwin/-/blob/master/src/backends/drm/drm_backend.cpp) as these devices are usually owned by root. > > org.kde.startup: not a reply org.freedesktop.locale1 > QDBusMessage(type=Error, service="org.freedesktop.DBus", error > name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name > org.freedesktop.locale1 was not provided by any .service files", > signature="s", contents=("The name org.freedesktop.locale1 was not provided > by any .service files") ) > dbus-daemon[37069]: [session uid=1000 pid=37069] Activating service > name='org.kde.KSplash' requested by ':1.0' (uid=1000 pid=32485 > comm="/usr/local/bin/startplasma-wayland") > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > No backend specified, automatically choosing drm > kwin_core: Failed to take control of /org/freedesktop/ConsoleKit/Session1 > session. Maybe another compositor is running? > kwin_wayland_drm: failed to open drm device at "/dev/dri/card0" > kwin_wayland_drm: No suitable DRM devices have been found > kdeinit5: Communication error with launcher. Exiting! > Error: could not determine $DISPLAY. > Error: Can not contact kdeinit5! > org.kde.startup: "kdeinit5_shutdown" () exited with code 255 > startplasma-wayland: Shutting down... > startplasmacompositor: Shutting down... > startplasmacompositor: Done. > org.kde.knotifications: WaitForName: Service was not registered within > timeout >