From owner-freebsd-questions@freebsd.org Mon Jun 1 18:57:05 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 7030E33ED82 for ; Mon, 1 Jun 2020 18:57:05 +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 49bPYC6zcdz4Rxt for ; Mon, 1 Jun 2020 18:57:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.46.193]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MkYLW-1jHExf25qI-00m2m6; Mon, 01 Jun 2020 20:57:01 +0200 Date: Mon, 1 Jun 2020 20:56:59 +0200 From: Polytropon To: Tomasz CEDRO Cc: FreeBSD Questions Subject: Re: Keyboard and mouse not working after X update Message-Id: <20200601205659.fac089c3.freebsd@edvax.de> In-Reply-To: References: <20200531214105.2caed717.freebsd@edvax.de> <20200531231731.85ee6d3d.freebsd@edvax.de> <20200601001117.f7075d7d.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:TPL+Q4ZYztDCGCcMXCXskbIptMBORGlR1UM4ssSZzz/ZQZpZ+XP rbXm2+4oKDfJQ7GEY4rfAe5kiJhmylxvpG30arLVsmf2+Ia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7h X-Rspamd-Queue-Id: 49bPYC6zcdz4Rxt 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 [4.26 / 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.01)[0.010]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.830]; 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.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] 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 18:57:05 -0000 On Mon, 1 Jun 2020 01:01:22 +0200, Tomasz CEDRO wrote: > On Mon, Jun 1, 2020 at 12:11 AM Polytropon wrote: > > What is the correct driver for X for "modesetting", and how > > can I easily verify it has been loaded? > > It is part of the Xorg I guess. Make sure you are in the video group. Verified. The user is also member of the "administrative groups" (operator and wheel). > Use no config launch startx and it should auto configure. Yes, this works. I no longer need (as it seems to be unsupported( a configuration file for keyboard language, as this has now become a O(n) instead of O(1) operation, bah, per user. > Well thing > changed a bit and we just need to put some time for that to work no > other way ;-) I just wish it was documented in a way a simple mind like mine could understand. :-) So at the moment, I have this (as explained in the documentation): In /boot/loader.conf: drm_load="YES" In /etc/rc.conf: kld_list="amdgpu" In the user's ~/.xinitrc: setxkbmap -rules evdev -layout de The following related packages are installed: drm-kmod-g20190710 drm-fbsd12.0-kmod-4.16.g20200221 xf86-video-amdgpu-19.1.0_1 libdrm-2.4.99,1 In /var/log/Xorg.0.log, I still get the misleading messages: [ 43.096] (II) LoadModule: "ati" [ 43.098] (WW) Warning, couldn't open module ati [ 43.098] (EE) Failed to load module "ati" (module does not exist, 0) As I seaid, when the xf86-video-ati package was installed, I just got a black screen in X. However, with xf86-video-amdgpu installed, there is no indication in the log file that a driver named "amdgpu" (or the like) has been loaded. Bit I get the message saying Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so Followd by those errors: [ 43.111] (EE) open /dev/dri/card0: No such file or directory [ 43.111] (WW) Falling back to old probe method for modesetting [ 43.111] (EE) open /dev/dri/card0: No such file or directory [ 43.111] (WW) Falling back to old probe method for scfb ... [ 43.111] (II) UnloadModule: "modesetting" And later on, it's still pointing to VESA being used. Strange thing, with "glxgears", I now get approx. 260 FPS, which is 5 times as much as before. No directory /dev/dri does exist. I have installed the MESA packages (mesa-demos, mesa-libs, and mesa-dri), but that's the software renderer. The "driinfo" program reports an error, obviously. So it still seems that there's something missing for DRI? Or is this something to enable somewhere else? > BSD still seems to be "the rational island" in this "sand castle > world" and I can clearly see that I also need to add my bricks to make > it work well thus my focus here :-) >From all the sand that is blewn over from Linux world, it becomes a bit harder to see _which_ solution is the suggested one, at least for the moment... > > > I > > > also use hald and dbus. > > > > Accepting outdated Linux stuff to make FreeBSD graphics > > work again doesn't sound as if it was the right thing to > > do... ;-) > > Yea, but this is my _work_station_ so my main focus is to get the > results in a shorter and shorter time spans.. not always I have lots > of time to play and fix things anymore.. the world gone mad :-( I have systems running MATE which also have HAL and DBus for whatever reason, and this works. > > Many many moving parts. :-) > > "Change is good" man "root is obsolete" why do we even need those > computers ;-) ;-) I don't know I'm no good with computering. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...