From owner-freebsd-x11@freebsd.org Fri Oct 11 17:42:23 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 E57DB1568C1 for ; Fri, 11 Oct 2019 17:42:23 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qZz25Nrlz3NT3 for ; Fri, 11 Oct 2019 17:42:22 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id x9BHex7A070299 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 11 Oct 2019 10:40:59 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id x9BHexUh070298 for freebsd-x11@freebsd.org; Fri, 11 Oct 2019 10:40:59 -0700 (PDT) (envelope-from warlock) Date: Fri, 11 Oct 2019 10:40:59 -0700 From: John Kennedy To: freebsd-x11@freebsd.org Subject: Re: sway-1.2_1 crashes Message-ID: <20191011174059.GE46984@phouka1.phouka.net> References: <20191007165337.GA85696@phouka1.phouka.net> <20191007232340.GB85696@phouka1.phouka.net> <20191008172007.GA89365@phouka1.phouka.net> <20191011082409.2swof5muimfpwz5w@pamparam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191011082409.2swof5muimfpwz5w@pamparam> User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46qZz25Nrlz3NT3 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [2.50 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.36)[ipnet: 107.170.192.0/18(0.14), asn: 14061(1.71), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.44)[0.445,0]; DMARC_NA(0.00)[phouka.net]; NEURAL_SPAM_LONG(0.50)[0.495,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 11 Oct 2019 17:42:24 -0000 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 Which is a bump in libepoll-shim from 0.0.20190311 to 0.0.20190903. I'm running the would-be-previous version: $ pkg info | grep libepoll libepoll-shim-0.0.20190311 epoll shim implemented using kevent Not sure why I'm not seeing the updated Makefile yet. It looks like Jan bumped the version from 0.0.20181229 -> 0.0.20190311 back in late April. $ (cd /usr/ports && git branch && git remote -v) * master origin https://github.com/freebsd/freebsd-ports.git (fetch) origin https://github.com/freebsd/freebsd-ports.git (push) Browsing into the git repo still shows my current version: https://github.com/freebsd/freebsd-ports/blob/master/devel/libepoll-shim/Makefile