From owner-freebsd-x11@freebsd.org Sat Oct 12 01:51:17 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A30F713E787 for ; Sat, 12 Oct 2019 01:51:17 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qnq92zv7z4Kn6; Sat, 12 Oct 2019 01:51:17 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 46067869E; Sat, 12 Oct 2019 01:51:17 +0000 (UTC) From: Jan Beich To: John Kennedy Cc: freebsd-x11@freebsd.org Subject: Re: sway-1.2_1 crashes References: <20191007165337.GA85696@phouka1.phouka.net> <20191007232340.GB85696@phouka1.phouka.net> <20191008172007.GA89365@phouka1.phouka.net> <20191011082409.2swof5muimfpwz5w@pamparam> <20191011174059.GE46984@phouka1.phouka.net> Date: Sat, 12 Oct 2019 03:51:14 +0200 In-Reply-To: <20191011174059.GE46984@phouka1.phouka.net> (John Kennedy's message of "Fri, 11 Oct 2019 10:40:59 -0700") Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: Sat, 12 Oct 2019 01:51:17 -0000 John Kennedy writes: > On Fri, Oct 11, 2019 at 10:24:09AM +0200, Tamas Szakaly wrote: > >> Hi, >> I've already left a comment on the Sway issue, but thought I should also >> mention it here, that the broken VT switching is not a sway/wlroots issue, but >> a libepoll-shim one. See https://github.com/jiixyj/epoll-shim/pull/7 for >> details. VT switching works on my 13.0-CURRENT HardenedBSD system with the >> latest version of libepoll-shim from jiixyj's repo. >> >> I think that issue could cause other weird behaviour too, so maybe it worth >> checking if these crashes occur with the latest version of libepoll-shim. > > On Thu, 10 Oct 2019 19:54:28 +0200, Jan Beich wrote: >> VT switching is broken in Sway, see https://github.com/swaywm/sway/issues/3612 >> Other than direct session Sway can use ConsoleKit2 if wlroots is built with >> CONSOLEKIT port option enabled. But I don't remember if it helps VT swich issue. > > It looks like you (Tamas) and Jan are talking about the same thing. > > Jan's link eventually leads to this: > > https://github.com/freebsd/freebsd-ports/commit/a7c3fd3d428e That didn't land in the mainline. I've used a commit from Greg's repo[1] (frequently rebased) to save time on testing. GitHub allows referencing commits from any fork, so one has to pay attention to tags and branches a commit exists in. Using the original repo instead of a fork allows to reference a commit even if the fork is removed or renamed but if the commit is orphaned for prolonged time it maybe garbage-collected. -- [1] https://github.com/myfreeweb/freebsd-ports-dank/commits/lite A lot of stuff have been submitted on bugzilla but not everything.