From owner-freebsd-questions@freebsd.org Sun Jan 10 22:49:36 2021 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 A033F4DC825 for ; Sun, 10 Jan 2021 22:49:36 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDX8b6m0Wz3q8h for ; Sun, 10 Jan 2021 22:49:35 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 10AMnTRk031706 for ; Sun, 10 Jan 2021 17:49:29 -0500 (EST) (envelope-from doug@safeport.com) Date: Sun, 10 Jan 2021 17:49:29 -0500 (EST) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: xorg-7.7_3 and freebsd 12.2 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sun, 10 Jan 2021 17:49:29 -0500 (EST) X-Rspamd-Queue-Id: 4DDX8b6m0Wz3q8h X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.74.231.101:from:127.0.2.255]; DMARC_NA(0.00)[safeport.com]; NEURAL_SPAM_SHORT(0.99)[0.985]; NEURAL_HAM_LONG(-0.98)[-0.978]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 22:49:36 -0000 I updated a Lenovo ideapad 700 from 11.3 --> 12.2 and installed xorg, xdm, and xfce4. I did not do anything about address the evdev mode recommendation. Everything worked except double click would not paste. Sadly I did not accept this situation. I tried the evdev sysctl suggestions, starting moused forcing '-3' and a number of other options without effecting any change at all. So I thought I would try `Xorg -configure` and pick out the input section. AT this point the xserver/xdm would not start any more getting the errors: Command: startx xauth: file /root/.serverauth.5930 does not exist : Fatal server error: (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices Since there was nothing of use on this system I removed all packages and tried again with the above error persisting. I removed all packages again and also clear /usr/local, /tmp/ and removed all xorg.conf files. The error persists even with that. The current state of the system: pkg prime-origins ports-mgmt/pkg x11/xdm x11/xorg At this point I checked question and the "Xorg broken after upgrade to 12.2" thread. I did not think it relevant on the first pass as I had an almost working system. The error messages in Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 4257.423] (EE) Failed to load module "intel" (module does not exist, 0) [ 4257.425] (EE) open /dev/dri/card0: No such file or directory [ 4257.425] (EE) open /dev/dri/card0: No such file or directory [ 4257.425] (EE) Screen 0 deleted because of no matching config section. [ 4257.425] (EE) [ 4257.425] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices [ 4257.425] (EE) [ 4257.425] (EE) [ 4257.425] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 4257.425] (EE) [ 4257.426] (EE) Server terminated with error (1). Closing log file. So I tried building graphics/drm-kmod from a ports tree I portsnap'd Saturday. That would not build. When I did a `make clean` I cancelled that cleared /usr/ports and portsnap'd a new copy. graphics/drm-kmod is not in the current tree BTW, so I am going to try graphics/drm-legacy-kmod which I expect to meet the same fate. The solution here (if it works) is somewhat at odds with this statement from the handbook: "Warning: Before installing and using the Ports Collection, please be aware that it is generally ill-advised to use the Ports Collection in conjunction with the binary packages provided via pkg to install software. pkg, by default, tracks quarterly branch-releases of the ports tree and not HEAD. Dependencies could be different for a port in HEAD compared to its counterpart in a quarterly branch release and this could result in conflicts between dependencies installed by pkg and those from the Ports Collection. If the Ports Collection and pkg must be used in conjunction, then be sure that your Ports Collection and pkg are on the same branch release of the ports tree." _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277