Re: Sway, Wayland, and Xwayland

Johannes Lundberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On 6/11/19 2:23 PM, Greg V wrote:
>
>
> On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg <[email protected]>
> wrote:
>> On 6/10/19 7:03 PM, Jan Beich wrote:
>>>  (CC'ing appropriate public list. I don't help privately.)
>>>
>>>  Dale Brazelton <[email protected]> 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=1 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-422793245
> <<<
>
> ^^^ maybe it's time to merge my workaround since no one's found the
> root cause ^^^

Looks like this is fixed in Xorg 1.20.  I built my xorg-server and
xwayland packages from our dev branch here
https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20
and tested myself.

Hopefully we can get 1.20 out soon...

>
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.