From owner-freebsd-questions@freebsd.org Sun Jan 24 15:32:56 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 0ED884FF159 for ; Sun, 24 Jan 2021 15:32:56 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) (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 4DNxpH1z45z3h8F for ; Sun, 24 Jan 2021 15:32:55 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout10.t-online.de (Postfix) with SMTP id CD44E418B721; Sun, 24 Jan 2021 16:32:53 +0100 (CET) Received: from esprimo.local (SU-PAkZSZhz+4YsorMvhDanEP6H65zNPLxcRucbWNEZDAh1tU8z1paPUZx9TYFpQ9C@[217.226.184.156]) by fwd32.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1l3hNl-35sYsa0; Sun, 24 Jan 2021 16:32:53 +0100 Received: by esprimo.local (Postfix, from userid 1001) id 17D3958096; Sun, 24 Jan 2021 16:32:53 +0100 (CET) Date: Sun, 24 Jan 2021 16:32:53 +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: SU-PAkZSZhz+4YsorMvhDanEP6H65zNPLxcRucbWNEZDAh1tU8z1paPUZx9TYFpQ9C X-TOI-EXPURGATEID: 150726::1611502373-0000C7C3-6A698AE8/0/0 CLEAN NORMAL X-TOI-MSGID: d239022a-06bb-4b88-8511-72ecafa99ecc X-Rspamd-Queue-Id: 4DNxpH1z45z3h8F 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.21) 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]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.184.156:received]; 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.21:from]; FROM_EQ_ENVFROM(0.00)[]; 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.21:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.21:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.21:from]; 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 15:32:56 -0000 Am Sun, Jan 24, 2021 at 09:28:11PM +0700 schrieb Victor Sudakov: Hi Victor, > Victor Sudakov wrote: > > Jacques Foucry wrote: > > > > I forgot to mention that I've tried using /boot/modules/i915kms.ko from > > > > the package graphics/drm-fbsd12.0-kmod instead of the bundled > > > > /boot/kernel/i915kms.ko - but it is even worse: the X graphics screem > > > > freezes very soon after startx, maybe a minute or two. > > > > > > > > Victor Sudakov wrote: > > > > > Dear Colleagues, > > > > > > > > > > After a recent pkg upgrade, Xorg started crashing several times a day: > > > > > > > > > > pid 71319 (Xorg), jid 0, uid 0: exited on signal 6 > > > > > > > > > > The log https://termbin.com/68b1 looks pretty normal to me. > > > > > > > > > > I was unable to find the core file. > > > > > > > > > > Is anybody experiencing similar issues? > > > > > > > > > > 12.2-RELEASE-p2, xorg-server-1.20.9_1,1, xorg-drivers-7.7_6 > > > > > > I know it's stupid, and you can forgot my answer, but did you recompile from > > > sources i915kms.ko module? The one which come with pkg is buggy. > > > > No, I did not, just installed from pkg. I'll recompile/install from the > > ports if you advise so. > > Well, I've recompiled and installed graphics/drm-fbsd12.0-kmod, now my > drm_info output looks like this: https://termbin.com/481e > I shall see how often Xorg will crash now. > > 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. Kind regards, Christoph