From owner-freebsd-questions@freebsd.org Sun Jan 24 16:10:43 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 A699F4D0E71 for ; Sun, 24 Jan 2021 16:10:43 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNydt6Km8z3kyN for ; Sun, 24 Jan 2021 16:10:42 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd22.aul.t-online.de (fwd22.aul.t-online.de [172.20.26.127]) by mailout12.t-online.de (Postfix) with SMTP id 6F0AA41AD6AA; Sun, 24 Jan 2021 17:10:40 +0100 (CET) Received: from esprimo.local (JJTTqTZroh8yYU3TcAiyN3kL1HixZPDSZ85QwXjKC0NfWxOPivdfTUhY3rfehgOZ8L@[217.226.184.156]) by fwd22.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1l3hyI-0AWo6a0; Sun, 24 Jan 2021 17:10:38 +0100 Received: by esprimo.local (Postfix, from userid 1001) id C85F958111; Sun, 24 Jan 2021 17:10:37 +0100 (CET) Date: Sun, 24 Jan 2021 17:10:37 +0100 From: Christoph Brinkhaus To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Xorg crashes several times a day Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ID: JJTTqTZroh8yYU3TcAiyN3kL1HixZPDSZ85QwXjKC0NfWxOPivdfTUhY3rfehgOZ8L X-TOI-EXPURGATEID: 150726::1611504638-00011FFC-9049F54C/0/0 CLEAN NORMAL X-TOI-MSGID: 90c4e8f3-708c-4d50-84f3-d1aa3b273f8f X-Rspamd-Queue-Id: 4DNydt6Km8z3kyN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of c.brinkhaus@t-online.de has no SPF policy when checking 194.25.134.22) smtp.mailfrom=c.brinkhaus@t-online.de X-Spamd-Result: default: False [-1.60 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[t-online.de]; RWL_MAILSPIKE_GOOD(0.00)[194.25.134.22:from]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[t-online.de]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.25.134.22:from]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.184.156:received]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[t-online.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[194.25.134.22:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.22:from]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] 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, 24 Jan 2021 16:10:43 -0000 Am Sun, Jan 24, 2021 at 10:49:01PM +0700 schrieb Victor Sudakov: > Christoph Brinkhaus wrote: > > [dd] > > > > > > > But really, is the graphics/drm-kmod port really necessary and why? The > > > default FreeBSD installation already contains /boot/kernel/i915kms.ko > > > and /boot/kernel/drm2.ko, and I load them from rc.conf. > > > > > > Is anything wrong with them? > > > > According to the FreeBSD Forum the packages are build for the oldest > > supported branches. For the 12 series it is currently 12.1. The > > drm-fbsd12.0-kmod is one of the very rare cases where is a conflict > > between FreeBSD-12.1 and FreeBSD-12.2 exists. Therefore it must be > > build from ports for FreeBSD-12.2 installations until FreeBSD-12.1 is > > end of life. > > My question was a bit different. I am sorry for my misunderstanding. > > Why are the /boot/kernel/i915kms.ko and /boot/kernel/drm2.ko modules, > those that come with the GENERIC kernel, not good enough? > > There is no problem keeping *them* in sync with the current installation. At least i915kms.ko works fine with my setup. It is loaded via kld_list="i915kms" in /etc/rc.conf. Iif I am not wrong it should get the module from /boot/kernel/i915kms.ko. The module works together with the Intel driver xf86-video-intel. I have no experience with the drm2.ko module. In the past there have been entries in the Xorg.log that the driver will be discontinued at FreeBSD-13. There is still a lot of time until I have to upgrade to FreeBSD-13. Therefore I have ignored the warning and the hassle with the compilation of the drm stuff. With the newest Intel driver even the warning in the Xorg.log is gone. Kind regards, Christoph