From nobody Fri Apr 7 10:08:41 2023 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PtDbt0nmrz44R8X for ; Fri, 7 Apr 2023 10:08:58 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (mail.yourbox.net [IPv6:2001:41d0:1:767d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.yourbox.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtDbr1w7fz4YKZ for ; Fri, 7 Apr 2023 10:08:56 +0000 (UTC) (envelope-from fbl@aoek.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aoek.com header.s=mailbox header.b=RuftYwAm; spf=pass (mx1.freebsd.org: domain of fbl@aoek.com designates 2001:41d0:1:767d::1 as permitted sender) smtp.mailfrom=fbl@aoek.com; dmarc=pass (policy=reject) header.from=aoek.com Received: from mail.yourbox.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.yourbox.net (8.17.1/8.17.1) with ESMTP id 337A8k86074661; Fri, 7 Apr 2023 12:08:47 +0200 (CEST) (envelope-from fbl@aoek.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aoek.com; s=mailbox; t=1680862127; bh=z3bkInu/h/7yL0XCTViBMx0GTS5vJrZ8XcHmAZsqJI4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=RuftYwAmsMWwOn9h6pofBwGtdQiPzpiMAfeR5ExHtg7wknfBdvruL7Cbgir7BiCMf EXwePkimPFyHzk3T507uwpOfF5eGN802gUl089VZN/SoPQT+te9oFMCPOicSAsv3Ol B/sFwTB1RFlbIfW06+B/5Lxm0ozuEbynHk+nYTKkgPmeYtvQdHYw/T/AcFtcWfm5N3 wficph8Wx3xfkqZMDuo/bqCWE+WaLcRVyTgQsOEVOMFxYGip9EQxYntZm2AuEI5MK1 1GXgE4RRW4/kO9Ttv7QdEDDvAAAC0q7Jo9T590yZtgQjGaLUhXXiu/RbJugNDBy0jM ljY3dnC9KfhSg== List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 07 Apr 2023 12:08:41 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: Emmanuel Vadot Cc: x11@freebsd.org Subject: Re: x11/sddm fails to start with latest ports on current In-Reply-To: <20230404181410.b5d4212200109e475e1e7801@bidouilliste.com> References: <20230404181410.b5d4212200109e475e1e7801@bidouilliste.com> Message-ID: <3c1530adecb5634e998f385a2e9091f2@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.2.0 X-Spamd-Result: default: False [-3.23 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_MIXED_CHARSET(0.77)[subject]; DMARC_POLICY_ALLOW(-0.50)[aoek.com,reject]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[aoek.com:s=mailbox]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[x11@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[aoek.com:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PtDbr1w7fz4YKZ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N El 2023-04-04 18:14, Emmanuel Vadot escribió: > On Tue, 04 Apr 2023 17:51:57 +0200 > José Pérez wrote: > >> Hi, >> so I need to have this working one way or another, so I bypassed >> sddm and launched X directly (via xinit/startx) and in either cases >> I end up with this: >> [ 71.222] (II) Using input driver 'libinput' for 'System keyboard >> multiplexer' >> [ 71.222] (**) System keyboard multiplexer: always reports core >> events >> [ 71.222] (**) Option "Device" "/dev/input/event0" >> [ 71.222] (EE) Segmentation fault at address 0xb0 >> [ 71.222] (EE) >> Fatal server error: >> [ 71.222] (EE) Caught signal 11 (Segmentation fault). Server >> aborting >> [ 71.222] (EE) >> [ 71.222] (EE) >> Please consult the The X.Org Foundation support >> at http://wiki.x.org >> for help. >> [ 71.222] (EE) Please also check the log file at >> "/var/log/Xorg.0.log" for additional information. >> [ 71.222] (EE) >> >> >> At the same time I see this in /var/log/messages >> Apr 4 16:26:13 kernel: pid 97974 (Xorg), jid 0, uid 0: exited on >> signal >> 6 >> Apr 4 16:26:21 devd[82755]: notify_clients: send() failed; dropping >> unresponsive client >> >> >> Is anyone else experiencing this issue with current? >> >> Thank you. >> >> BR, > > Yes this is (was) caused by the syscall kqueue1 addition, > libepoll-shim detected it because NetBSD had it but we weren't > compatible. > This should be fixed by > https://cgit.freebsd.org/src/commit/?id=dac310248826c37b60306c1b25fb94c35802196d > > Cheers, > >> >> El 2023-04-03 17:55, José Pérez escribió: >> > Hi, >> > I am experiencing sddm failing with this error: >> > [12:55:45.875] (II) DAEMON: Running: /usr/local/bin/X -nolisten tcp >> > -auth /var/run/sddm/{4222cd10-f4fa-45ce-a0e0-ec395a5e9be0} -background >> > none -noreset -displayfd 17 -seat seat0 vt9 >> > [12:55:46.584] (EE) DAEMON: Failed to read display number from pipe >> > [12:55:46.584] (EE) DAEMON: Could not start Display server on vt 9 >> > >> > This used to work up to ports/current from a few weeks ago. >> > >> > >> > I checked perms in /var/lib/sddm/ and they seem ok >> > drwxr-xr-x 4 sddm sddm 4 Apr 3 12:43 sddm/ >> > >> > I have dbus running (but not hald). >> > >> > Can anyone reproduce or has idea what to look for? >> > >> > Env: >> > FreeBSD 14.0-CURRENT #1 main-n261959-cfccc7f30a01: Mon Apr 3 06:28:40 >> > CEST 2023 >> > sddm-0.19.0_8 QML based login manager >> > Hi Emanuel, thank you so much, both issues have been solved. Now the screen remains black and with no cursor when sddm starts but, at least, xinit works. There are no errors in sddm or X logs, so this needs to be investigated. BR, -- José Pérez