From owner-freebsd-questions@freebsd.org Mon Jun 1 22:20:32 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 62FD42F4A5A for ; Mon, 1 Jun 2020 22:20:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (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 49bV3z2TJPz3gVS for ; Mon, 1 Jun 2020 22:20:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.46.193]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MkpjD-1jGwlL2MxT-00mMJz; Tue, 02 Jun 2020 00:20:16 +0200 Date: Tue, 2 Jun 2020 00:20:16 +0200 From: Polytropon To: Emmanuel Vadot Cc: Tomasz CEDRO , FreeBSD Questions Subject: Re: Keyboard and mouse not working after X update Message-Id: <20200602002016.e4839f70.freebsd@edvax.de> In-Reply-To: <20200601234718.6db5f0a62f6b42b53fa23b51@bidouilliste.com> References: <20200531214105.2caed717.freebsd@edvax.de> <20200531231731.85ee6d3d.freebsd@edvax.de> <20200601001117.f7075d7d.freebsd@edvax.de> <20200601205659.fac089c3.freebsd@edvax.de> <20200601210904.26383caf62c0cb59f4a2b68a@bidouilliste.com> <20200601221334.c9486a27.freebsd@edvax.de> <20200601224324.af8aecf82db7ad2b5efb4679@bidouilliste.com> <20200601234024.4511a19d.freebsd@edvax.de> <20200601234718.6db5f0a62f6b42b53fa23b51@bidouilliste.com> 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:+8h0bAurQbxD/EtVr2wELpn+HjtGXYBFUlxSltTez1f64D2X8ss Xaxst9ulusoGsR6cjJZGxr+eR1GDrCfJWMMPvMkIgLPH4BerBuTlJuAZXjk7fA4zsetKcjM qC7sLjUVLrC9ExCdh/MF5NDY8KvXsgdFTBm+v47ltK61UFeX057zMwAnGX2dJt1VEs46WLG h3HIDuO8yb6+2jTnWO6CA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ogm+/ghjmew=:E9vRoUj5fmEXFOFJ50qbm8 I+09ZLHXm5yLz3EPtjGH6oHTqE73pdruWheNNuRZ/hRslbsfAD77Abn5Igj58InzetNz+YC5i kmQ7g4LxPKHpRBR+04fYxLbmBVF+QLwMauJcJyqpXx4ch9qwfOr+sMWkJynmFRnEb7ddaciZZ H3qH4InQrfIdtiCGEHoe40G0Loll0esHdCLeIwoLnEne6gNUyodyNAoj7ZJl0yV8xCvBIba61 MxOoeA4UMGF/Z6AWBiVTOeu3mDZx0adLrgZM9wIH0XdijlaUvoC6FdSOr/k9VDqJVrMYK7scP BlOaOVLgFTwSln7YJraG6IidvnDjcEczEf+/KYEOZQPhgWLhmqcVILqs7sbhkXi0XA1P18MN3 CRgOIevdDsybf7m37dvafq2a9FVItsdNGzt4m6LCbaABAmY79vsm0NcoGy9HclM2NYX9cepzy 3YJxxxswthNHrvNzx7INZJzabWybiF6+Plfyre5ItLDyNoxREOcpI9CcueQKAve81A05DxFB+ CMMTsUoCJoOxe69z2rKX/gAVx8N55V2Y8VBm/4fNwvgWCPoQepAF4CNLZIoR2T0/pmDYAvbbm vI/h07/9szSeewsUg+Ol1lgH386s4V6teHJYDfc3Sd3xI1NMfPV1wJ7WUZV2uYdmkbEvfgJyi xd5huVyjZZwIuD9GgEIBQZdhoRaCUgoMUDCxGNF/vcHAGiIrl0RaqLQbvOUaFxfKka4Cw++/N gNu/7Qfa94hIefMRKLXYRYs/ycgLInhdKHSASZGYcY5UIipsxkR7UKRjkasEvNZWhOdFjEFxQ hRY3yCjlHERkmGjoC1jcGdSnzY2Q5TBXzyOSwKqaJDhgIUfBAf7hQMOhZ1WD9DzSr6HupQ5 X-Rspamd-Queue-Id: 49bV3z2TJPz3gVS 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.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.31 / 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)[]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.29)[0.289]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.65)[0.654]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.96)[0.964]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.133:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.133: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: Mon, 01 Jun 2020 22:20:32 -0000 On Mon, 1 Jun 2020 23:47:18 +0200, Emmanuel Vadot wrote: > On Mon, 1 Jun 2020 23:40:24 +0200 > Polytropon wrote: > > > On Mon, 1 Jun 2020 22:43:24 +0200, Emmanuel Vadot wrote: > > > On Mon, 1 Jun 2020 22:13:34 +0200 > > > Polytropon wrote: > > [...] > > Okay, as this machine is already "quite old", I should > > probably not use amdgpu, even though it "somehow works". :-) > > The module was loaded but didn't do anything. Correct. And X tried to load "ati", but that didn't work with "amdgpu" loaded. So the correct _combination_ is important. > For AMD cards it really depend on the hardware, I suggest you try both > and see which one works better. As I understand, only "radeonkms" kernel module + "ati" X driver package (uses "radeon" driver) works. If I try "amdgpu" kernel module + "amdgpu" X driver package, VESA (!) will be used. > > It now seems to work in X. Testing with "glxgears" again is only 60 FPS, > > except when I use this: > > > > % setenv vblank_mode 0 > > % glxgears > > > > I get almost 1300 FPS, which is much better. > > I don't know why it is better, vsync is needed for good rendering, no > need to render a frame 20 times if it will be only draw once on the > screen. This is, if I remember correctly, only important (here: better) to check if the calculations performed in the GPU go up to a certain value, significantly higher than software rendering, as it _should_ be if the GPU is capable. The three little gears display smootly. I will experiment tomorrow with building xlockmore from ports, because the package does not include the "fire" GL screen saver or the planetary gears to be run in fullscreen; those are a good test to see if the hardware rendering kicks in as planned. OpenArena is also good for testing. I'm glad the update performed from 12.0 to 12.1 didn't force me to throw the laptop into the garbage can. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...