Date: Tue, 11 Jun 2019 14:28:08 -0700 From: Johannes Lundberg <johalun0@gmail.com> To: Greg V <greg@unrelenting.technology> Cc: Dale Brazelton <dalebrazelton@outlook.com>, Johannes Lundberg <johalun@freebsd.org>, x11@freebsd.org Subject: Re: Sway, Wayland, and Xwayland Message-ID: <CAECmPwvpsERzv0_DwiOXZusQBaHSAGT-Xfgrx_9yUiNGc82oHw@mail.gmail.com> In-Reply-To: <1560288228.78549.0@unrelenting.technology> References: <MWHPR19MB1533A40AB67B06DE58DA3CECA7130@MWHPR19MB1533.namprd19.prod.outlook.com> <lfy8-x4i7-wny@FreeBSD.org> <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 11, 2019 at 14:23 Greg V <greg@unrelenting.technology> wrote: > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg <johalun@FreeBSD.org> > wrote: > > On 6/10/19 7:03 PM, Jan Beich wrote: > >> (CC'ing appropriate public list. I don't help privately.) > >> > >> Dale Brazelton <dalebrazelton@outlook.com> writes: > >> > >>> I've managed to get Sway working but am > >>> unable to get any X11 apps to work thru xwayland. For instance if I > >>> start sway and then start firefox from my terminal app (alacritty) > >>> nothing happens. > >> > >> Did you change any port options in x11-wm/sway or one of its > >> dependencies? > >> Did you define LIBGL_DRI3_ENABLE=3D1 in environ(7) to avoid llvmpipe > >> fallback? > >> Does $DISPLAY in alacritty session and Xwayland 1st argument in > >> ps(1) match? > >> Can you show "sway -d" output? IIRC, Sway starts Xwayland on first > >> use. > >> Can you try "firefox --new-instance --profile $(mktemp -dt > >> ffprofile)"? > > Other simple X apps like xclock, or even glxgears that need Xwayland > > run > > but are not displayed. The window seem to be simply hidden. IIRC > > there > > was a fix to this but I can't remember what that was. I tried > > enable/disable DRI3 but to no success... > > Xwayland windows not displaying is the good old ioctl permission thing: > > >>> > https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-42279324= 5 > <<< > > ^^^ maybe it's time to merge my workaround since no one's found the > root cause ^^^ Thanks for the reminder!! =F0=9F=98=81 I think no one has looked for the root cause yet. I=E2=80=99ll put it next = on my todo list for the big 5.0 cleanup/fix up. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwvpsERzv0_DwiOXZusQBaHSAGT-Xfgrx_9yUiNGc82oHw>