From owner-freebsd-questions@freebsd.org Sun May 31 21:17:36 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 28B6B2F1CD4 for ; Sun, 31 May 2020 21:17:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (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 49Zrjp5RHFz3gqD for ; Sun, 31 May 2020 21:17:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.46.193]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MBSJT-1jqFUq2Mn9-00D0gR; Sun, 31 May 2020 23:17:31 +0200 Date: Sun, 31 May 2020 23:17:31 +0200 From: Polytropon To: Tomasz CEDRO Cc: FreeBSD Questions Subject: Re: Keyboard and mouse not working after X update Message-Id: <20200531231731.85ee6d3d.freebsd@edvax.de> In-Reply-To: References: <20200531214105.2caed717.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:ba/dtjmvXlyUh4Ou8Jv7VHUyc4EiRaD8FhHPh3KSFeMXEqRL8rG DdXd2MDrpIi/+Ngjqd7CMi5hh5onu0qwTMiIMEP/L4QG57LREZ1Wnp17PkohQQWP39qt3DI 7AmqGQbnpt3GAb8ReO0VQtfOqV/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-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.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.40 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[178.12.46.193: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)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.514]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.47)[0.471]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.02)[1.016]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.134:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.134:from]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 31 May 2020 21:17:36 -0000 On Sun, 31 May 2020 22:21:49 +0200, Tomasz CEDRO wrote: > Hey Poly :-) There were big changes recently in Xorg and video and > input drivers handling in FreeBSD.. those changes mostly come from and > are enforced by a Linux world and the hardware vendors.. not really > much to be done about it rather than adapt (and the upstream > development). I also experienced those problems with video and I also > get the impression that input is a bit worse than before.. but it > works now.. and if you search the history there are people with > similar problems and solutions :-) Here is what at the moment (!) works at least for me: I first verified the system has installed libinput-1.15.4 xf86-input-libinput-0.29.0 and it is not running HAL or DBus. I then tried ~/.xinitrc with the addition of setxkbmap -rules evdev -layout de and removing /usr/local/etc/X11/xorg.conf.d/keyboard-de.conf. _That_ probably was the correct thing to do, at least here. Now keyboard language has to be set on a per-user basis, as it seems... terrible... Let's see what stops working with the next update, and what five new ways of fixing it temporarily will emerge. ;-) The "xinput" command shows both mouse and keyboard correctly, even though it uses ugly "graphics characters" where something more ASCII would have been sufficient. Yes, nobody pipes program outputs anywhere today, people just want colorful screenshots. I have no idea what to say... > Another upcoming solution for the Xorg issues may be Wayland on > FreeBSD instead of Xorg. There also was quite a large mailing thread > for that. You may take a look at Enlightenment as the Xorg but also > Wayland enabled WM :-) That would be no problem for me; hopefully other applications intended for use with X will soon be ported to work with Wayland. The current situation is definitely not in line with the decades of "it just works" experienced on FreeBSD... :-/ Sidenote: It seems that there's still something wrong with the video driver that X has loaded. It's probably still VESA... while "xvinfo" reports Adaptor #0: "GLAMOR Textured Video" and "glxinfo" states AMD PALM (DRM 2.29.0 / 12.1-RELEASE-p5, LLVM 8.0.1) (0x9802) I can get only 60 fps in "glxgears" (5600 on my old home PC from 2007). The user is a member of the "video" group. Sadly /var/log/Xorg.0.log is far from usable to easily determine which graphics driver has been loaded; [ 996.700] (II) LoadModule: "ati" [ 996.701] (WW) Warning, couldn't open module ati [ 996.702] (EE) Failed to load module "ati" (module does not exist, 0) As I mentioned, installing the matching package leads to a black screen. All that can't be normal... too many moving parts... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...