Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2019 04:41:54 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Vasily Postnicov <shamaz.mazum@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xorg with evdev input devices
Message-ID:  <E6AA220F-B73D-430A-B489-B72EAD91C58D@unrelenting.technology>
In-Reply-To: <CADnZ6BnCi%2BSZ46ECtLx0QJP2-eycKyrueJNoUXJ%2B26KMGoPH8g@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On October 5, 2019 8:36:24 PM GMT+03:00, Vasily Postnicov <shamaz=2Emazum@g=
mail=2Ecom> wrote:
>Hello again, Greg=2E I have some more time to play with Wayland=2E I'm
>trying
>to resolve permission errors when accessing /dev/input/event* using
>consolekit2=2E

>vasily@vonbraun:~ % sway
>2019-10-05 19:44:54 - [backend/drm/legacy=2Ec:15] HDMI-A-2: Failed to set
>CRTC: Permission denied
>
>UPD: Using truss I've found what ioctl DRM_IOCTL_MODE_SETCRTC fails [=2E=
=2E=2E]
>I don't know what DRM_MASTER is and if it is safe to remove it

You probably didn't set everything up correctly=2E

It is not safe to remove checks for DRM_MASTER=2E The master is the applic=
ation that controls the displays =E2=80=93 i=2Ee=2E your compositor=2E Regu=
lar applications should not be allowed to execute the same calls=2E

Are you sure sway is using CK2? I think there's a verbose flag to sway tha=
t shows a lot more info=2E Did you actually install wlroots with the consol=
ekit option?

You can use dbus-monitor --system to inspect dbus messages, if you don't s=
ee CK requests from sway, it's just not trying to use it=2E

wlroots likes to just silently try the next available backend, so if it ca=
n't do CK, it goes to try direct=2E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6AA220F-B73D-430A-B489-B72EAD91C58D>