From owner-freebsd-questions@freebsd.org Mon Nov 2 07:06:24 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 E9FD9448307 for ; Mon, 2 Nov 2020 07:06:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (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 4CPkV764Gjz47Z6 for ; Mon, 2 Nov 2020 07:06:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.8.37.207]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mqal4-1k4WoW1taa-00mewo; Mon, 02 Nov 2020 08:06:20 +0100 Date: Mon, 2 Nov 2020 08:06:20 +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: <20201102080620.ea4a434a.freebsd@edvax.de> In-Reply-To: References: 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:Vf3pdFdqX7EkdHzBUWYCJZD4JIPTQRLjlk3EWA1YOmCXRHrgayF nBvdZdUiCADx/bXl6NN0eZgrEIUPlxGn8OOglElhUp/hm5soFo0nqYjUYpwOhrLgP65lj2d ouz+7pe6pfIWm7lj9zeadNSjl7zMAFN01B6/HkfmTV08dSgSnPOWfO9Y8WjBIHMLXHVII9v FBre9lvKNoBFlbjFCKZhQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:vbwJFPEN0G8=:dB3irC5BBoThUqS1h0ztMf qj0w+3iSQbT/7F1uX4IR5ruZayNtrfzbeTraNXhFKnh9lp5CUU1ufXWk30JJKvBhrg8hsN1sJ ZsFYBGTYFO7c5889DZj3MgQS1OvfZnRD/v40jh78FXlzHXHNNtqFaget3NdJBci4jXNBoWgFU j6/aYfXucnJr3GFbxCfsNlbvNJQegSr5fh5HobCBanVpIGj6b4gmJIm8JO2Qk9vQxm2e5miud F8ecXQXP2igdX/S2F39WgJcuwG7Zncg9BAEU/nElD1lXOCgLIEgO9bQEoPkzfRay12NJXWhrm t2reQ/FhfbDkqUK2jdahVNbLsrio4Awi+XaFFUcvb959Ipv92AgLhdjrsS20yVti7RM9Q/wCQ 3BiZNUx3yoKoCZpnFMTJ9062LW1lZ6PFCKO9sjXrvjxfYV5+1VXyPgvzYuDM6 X-Rspamd-Queue-Id: 4CPkV764Gjz47Z6 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 217.72.192.75) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [0.85 / 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)[]; NEURAL_HAM_SHORT(-0.25)[-0.251]; 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:217.72.192.0/20, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.48)[-0.475]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.82)[-0.819]; 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)[217.72.192.75:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.75: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 07:06:25 -0000 On Mon, 2 Nov 2020 07:56:09 +0100, Morten Bo Johansen via freebsd-questions wrote: > On 2020-11-01 Tomasz CEDRO wrote: > > > you need to manually rebuild and reinstall graphics/drm-kmod port on the > > 12.2 system..? :-) > > Thar didn't do it for me. Btw, my computer is a Lenovo R61 > laptop. Same here, Lenovo R61i and R500 work horses. :-) > Is there a command that will show me which packages I have > installed from the ports collection? No, because technically _all_ software is installed via pkg. If you "make install", a package is generated, and it's installed in the same way pkg does it (including registration in the system's installed package database). > I seem to remember that I > did install something from ports to make the X system work, but > unfortunately I didn't take notes. Did you maybe "pkg lock" that package, so it didn't get updated? Related to the DRM kernel modules, verify the following measures have been taken: 1. installed from ports # cd /usr/ports/graphics/drm-kmod # make # make install 2. setting in /etc/rc.conf kld_list="/boot/modules/i915kms.ko" 3. user in "video" group # pw groupmod video -M 4. no xorg.conf The following resources will hopfeully be helpful to you: https://wiki.freebsd.org/Graphics#Intel_Integrated_Graphics_.28aka_HD_Graphics.29 https://forums.freebsd.org/threads/how-to-use-the-old-or-the-new-i915kms-driver-for-intel-integrated-graphics-with-xorg.66732/ https://freebsddesktop.github.io/2018/12/08/drm-kmod-primer.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...