From owner-freebsd-x11@freebsd.org Tue Jun 11 21:23:55 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 7DB4915C768B for ; Tue, 11 Jun 2019 21:23:55 +0000 (UTC) (envelope-from greg@unrelenting.technology) 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 C63FF80FE2 for ; Tue, 11 Jun 2019 21:23:54 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by mailman.ysv.freebsd.org (Postfix) id 7D39415C768A; Tue, 11 Jun 2019 21:23:54 +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 69D6215C7688 for ; Tue, 11 Jun 2019 21:23:54 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D558580FE0 for ; Tue, 11 Jun 2019 21:23:53 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 11 Jun 2019 21:23:51 +0000 Received: from [192.168.1.127] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 75344B26-49EF-420D-BD27-4DD5A9928A08.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 11 Jun 2019 21:23:50 +0000 Date: Wed, 12 Jun 2019 00:23:48 +0300 From: Greg V Subject: Re: Sway, Wayland, and Xwayland To: Johannes Lundberg Cc: Dale Brazelton , x11@freebsd.org Message-Id: <1560288228.78549.0@unrelenting.technology> In-Reply-To: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> References: <3112c733-c168-8683-892f-d3042b136ec7@FreeBSD.org> X-Mailer: geary/3.34-dev MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=4WRuZw5oZRTRGcMhRISxewA79ia9f9Tx4p406oc4k0A=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=Q1/TN2TkL0d2isxO0wL273ggvGmJucP9kYEzlZPwNgxYKBBUoAQXEBMQ2mjHye7cXZk7dGNVmH6+a0lZjCL+MfER0hiv13rtClgoCjKKJuDm0nnegeSx6EXairdjRyr/Ys/K3jE3mKzPqRJkYVxZB/jfS3Vk7CiNfsSve0+r2EM= X-Rspamd-Queue-Id: D558580FE0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.979,0] 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:23:55 -0000 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=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 ^^^