From owner-freebsd-questions@freebsd.org Mon Nov 2 09:08:40 2020 Return-Path: Delivered-To: freebsd-questions@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 E328644BACA for ; Mon, 2 Nov 2020 09:08:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CPnCC5vFLz4Hl6 for ; Mon, 2 Nov 2020 09:08:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.8.37.207]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MC2sH-1kelAG0ReH-00CPQL; Mon, 02 Nov 2020 10:08:37 +0100 Date: Mon, 2 Nov 2020 10:08:36 +0100 From: Polytropon To: mbj@mbjnet.dk Cc: Morten Bo Johansen via freebsd-questions , Morten Bo Johansen Subject: Re: Xorg broken after upgrade to 12.2 Message-Id: <20201102100836.91213033.freebsd@edvax.de> In-Reply-To: References: <20201102080620.ea4a434a.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Uz7jjY2VpcR2GHCxDVlgB0iB2Yv9UMhs6opRWtWiip/U2NLrAYP Yc14XjIiyc8RbtxkQZc1HAg+XWdUbIlMVBqo6mBV/k1WZ+RLjOgXah9o4uRpn4zWz+vxpRU 1Q4EhYjMxd0ukE4ly6NTQZgOXlkYzHnZgGLY9y5+pFQkUTtpUqaVj3k3WuNEVOctXt7ySlk mXW4qWf61TeB+DJcEZTEQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7cUL67ZzlyI=:QlcWnQJwkAe1nmYkjlxoTm jdDdn+1OZ7DRbBBpeId9nnqeskdqB74nX9Ey02vB+Q2b3Wqjt9R9IM9Y/cxeYCkHnbszV3Dpp xmYkPj8SLNpiblddjTyCvnqDrf73DD0DWW1MkVAZaR/Sp1LpGDCgIFv9NKjuaYylwhhQ83WGK MXcCOXzi8gnWQOGoYO1da8XpXCw9iMEr2Vuh1Yo/eOuy2DE8XhTpbASa81XfCwU/M/+kD9dCL LZZXLHz1WxLOI/LcYPhHjPG3ridsN2xjcTXbFvEUqzDKfX6SeX+J2k2/mcdyhvtOyIkDg5v5o BJH/aFnim9w7ayn5v/u/2VmHenIfOK3iH3eAaIDbB5g4F41ngWZ7JDjYVOfKZEnWEL1fhbW5/ +2J6CuBnXQrVtgUQnkCBOlysqUS3L5Wo4bFVU67+zq6V0VdDE/vFlgYcRV1Og X-Rspamd-Queue-Id: 4CPnCC5vFLz4Hl6 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [1.31 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[178.8.37.207:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.48)[-0.483]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.22)[0.221]; NEURAL_HAM_LONG(-0.82)[-0.825]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.131:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.131:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2020 09:08:40 -0000 On Mon, 2 Nov 2020 09:13:37 +0100, Morten Bo Johansen via freebsd-questions wrote: > I installed an update of drm-legacy-kmod and now at least > /dev/dri/card0 is created and the video error message has gone. > > However, I still can't start the X server. The only error > message which is left in Xorg.0.log is this > > [ 2333.719] (EE) synaptics: SynPS/2 Synaptics TouchPad: Kernel bug: min == max on ABS_X/Y > > But I suppose this is not the reason? I tried to plug in a > mouse just to bypasss the need for the toucpad but I still > can't start the server? That seems to be related to the (changed) way X now handles input devices - old: libinput; new: evdev, if I understood that correctly... > There are some modular configuration files under xorg.conf.d/ > that I did not create > > /usr/local/share/X11/xorg.conf.d/10-quirks.conf > /usr/local/share/X11/xorg.conf.d/20-evdev-kbd.conf > /usr/local/share/X11/xorg.conf.d/40-libinput.conf > > Should I remove them? For testing, yes. Maybe there is something offending? Also note that "old" keyboard configuration might not work anymore, "new" keyboard configuration is needed then. My solution was to add setxkbmap -rules evdev -layout de to my user's ~/.xinitrc file and remove the partial xorg.conf file /usr/local/etc/X11/xorg.conf.d/kbd_de.conf. That of course is not an elegant solution, but worked. However, if you're using a display manager and don't want to use a non-US keyboard layout for it - well, that's an entirely different problem. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...