From owner-freebsd-x11@freebsd.org Tue Jun 11 21:28:22 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17E9B15C773D for ; Tue, 11 Jun 2019 21:28:22 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 60CDC81085 for ; Tue, 11 Jun 2019 21:28:21 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1A5B215C773C; Tue, 11 Jun 2019 21:28:21 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA67D15C773B for ; Tue, 11 Jun 2019 21:28:20 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 801E881083; Tue, 11 Jun 2019 21:28:20 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi1-x243.google.com with SMTP id q186so10124732oia.0; Tue, 11 Jun 2019 14:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RBAYSR/iyz4xvurwfr/33ek3wuHRz2yR7Ra07ADA2tI=; b=tjKfERS/SVE9dFKaTri77xjO9jT1RxFP1Woa59+5Ylkf4IaFF1n/GeiT8ny9HYGxMW XA3dcJxlP7YERWJUhGPuly62X1REx3lq+xwm0fdKBBbguWT8GXfKUiqfT7dMKWk5dptJ QeqZ2ICo3GkDYUj5jpWlTCtWgcpdphuQ0uK2n14YKdE0j4nAkAz32iU0CypZ9oOQUaua OS918BHFnUGesQTglBOi0n01f6UV4lghIx3KkSmJCiKznUeTVOJTXKEJmSUSDxheLEWt Lq7m9pN6KjbN6u/JM6hlGzbGf43NxcWlh6Fpak0xlsTu9gsOC/beQLeMpfmFgAx8GgK+ GPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RBAYSR/iyz4xvurwfr/33ek3wuHRz2yR7Ra07ADA2tI=; b=O+s0sWfHISffUTnCW4JMLKak/ntlTPcUs0cr6Z2zqsJtoVQwdv+BELmnKOK53fbGHj 90YRClsINM7cNubsveFmAL8AvCh7Qk/bkqccuxULs1F477IevzL00N4Pde8zPl2/rq7x 20/ZmfEwI+bCKZ9kEqUCzm+e9SeQMY+iuw0uHZQR35BRrYTbihrmlr9QXG+92ZHPN5nl wvrNF91W8WbKHRUU/JxBTJZn0ujnyFcMMEURqcwhM6TIXO+2YANfNVqz7UXg3Mt/T6XG mayYt3s9aK3M9ELCJWKnHJlMQFRydtJC1gIGffN5jKczXnkQ9MjZRVg10YU2MeV888eV xAXA== X-Gm-Message-State: APjAAAUY2OD83MK46WhITP2/ST7QIh7BcqfG58ngjbnedncFifuY80vf F8ETbewq0D5BB6f1srBqw02rxqk5v0syys69bco= X-Google-Smtp-Source: APXvYqwJbQr9dpwHW1gn4z8eIc0iBn8m0UOWjAHgOF3+pc4usaRhrPTFAQ5lCK2D+RduUEotwpJPTjzMU+z7I2JJ0z8= X-Received: by 2002:aca:5050:: with SMTP id e77mr11035980oib.52.1560288499515; Tue, 11 Jun 2019 14:28:19 -0700 (PDT) MIME-Version: 1.0 References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> <1560288228.78549.0@unrelenting.technology> In-Reply-To: <1560288228.78549.0@unrelenting.technology> From: Johannes Lundberg Date: Tue, 11 Jun 2019 14:28:08 -0700 Message-ID: Subject: Re: Sway, Wayland, and Xwayland To: Greg V Cc: Dale Brazelton , Johannes Lundberg , x11@freebsd.org X-Rspamd-Queue-Id: 801E881083 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.92)[-0.918,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2019 21:28:22 -0000 On Tue, Jun 11, 2019 at 14:23 Greg V wrote: > > > On Mon, Jun 10, 2019 at 19:24, Johannes Lundberg > wrote: > > On 6/10/19 7:03 PM, Jan Beich wrote: > >> (CC'ing appropriate public list. I don't help privately.) > >> > >> Dale Brazelton 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. > > >