Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2019 08:03:57 +0300
From:      Vasily Postnicov <shamaz.mazum@gmail.com>
To:        Greg V <greg@unrelenting.technology>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xorg with evdev input devices
Message-ID:  <CADnZ6BkW98jW51E%2Bykp08=gEJLGJb69adsxqsDvTQ7Y8zmQwqw@mail.gmail.com>
In-Reply-To: <E6AA220F-B73D-430A-B489-B72EAD91C58D@unrelenting.technology>
References:  <CADnZ6B=foNChKaH6j%2Bx4pv4Z6g2ycCL7yiuLvDZSAOBHOa4ugw@mail.gmail.com> <bceb7ed1804dd98d9c186c42b08473c1@unrelenting.technology> <CADnZ6Bnzdk_kr608wg8t8Ugth%2BS8zMDy18w7KhoLWbLoBXCjJg@mail.gmail.com> <300f65b7469c608ad4cd32a9ad6c41d6@unrelenting.technology> <CADnZ6BnCi%2BSZ46ECtLx0QJP2-eycKyrueJNoUXJ%2B26KMGoPH8g@mail.gmail.com> <E6AA220F-B73D-430A-B489-B72EAD91C58D@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
Today it's again libinput failure;) It seems there is some communication
between sway and consolekit2: https://pastebin.com/5ARuVNQT

To make sure libinput backend is not loaded I set WLR_BACKENDS to "drm".
Here is the output of sway -dV: https://pastebin.com/Z14QJwV4.
You can see the following line at the beginning of this log:
> 2019-10-06 07:51:22 - [backend/session/consolekit2.c:833] Successfully
loaded consolekit2 session
But mouse and keyboard do not work when sway is started.

Consolekit is built with your patches. Can I verify that is's working
correctly?

=D0=B2=D1=81, 6 =D0=BE=D0=BA=D1=82. 2019 =D0=B3. =D0=B2 04:42, Greg V <greg=
@unrelenting.technology>:

> On October 5, 2019 8:36:24 PM GMT+03:00, Vasily Postnicov <
> shamaz.mazum@gmail.com> wrote:
> >Hello again, Greg. I have some more time to play with Wayland. I'm
> >trying
> >to resolve permission errors when accessing /dev/input/event* using
> >consolekit2.
>
> >vasily@vonbraun:~ % sway
> >2019-10-05 19:44:54 - [backend/drm/legacy.c:15] HDMI-A-2: Failed to set
> >CRTC: Permission denied
> >
> >UPD: Using truss I've found what ioctl DRM_IOCTL_MODE_SETCRTC fails [...=
]
> >I don't know what DRM_MASTER is and if it is safe to remove it
>
> You probably didn't set everything up correctly.
>
> It is not safe to remove checks for DRM_MASTER. The master is the
> application that controls the displays =E2=80=93 i.e. your compositor. Re=
gular
> applications should not be allowed to execute the same calls.
>
> Are you sure sway is using CK2? I think there's a verbose flag to sway
> that shows a lot more info. Did you actually install wlroots with the
> consolekit option?
>
> You can use dbus-monitor --system to inspect dbus messages, if you don't
> see CK requests from sway, it's just not trying to use it.
>
> wlroots likes to just silently try the next available backend, so if it
> can't do CK, it goes to try direct.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADnZ6BkW98jW51E%2Bykp08=gEJLGJb69adsxqsDvTQ7Y8zmQwqw>