From owner-freebsd-questions@freebsd.org Sun Jan 24 15:44:30 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 25EDF4FFBBF for ; Sun, 24 Jan 2021 15:44:30 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (static-71-163-255-121.washdc.fios.verizon.net [71.163.255.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail", Issuer "mail" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNy3d3b5Mz3hkD for ; Sun, 24 Jan 2021 15:44:28 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from tripel.monochrome.org (tripel.monochrome.org [192.168.1.11]) by mail.monochrome.org (8.15.2/8.15.2) with ESMTP id 10OFiMsY035424; Sun, 24 Jan 2021 10:44:22 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sun, 24 Jan 2021 10:44:22 -0500 (EST) From: Chris Hill To: Victor Sudakov cc: freebsd-questions@freebsd.org Subject: Re: Xorg crashes several times a day In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4DNy3d3b5Mz3hkD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of chris@monochrome.org has no SPF policy when checking 71.163.255.121) smtp.mailfrom=chris@monochrome.org X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[chris]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[monochrome.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.163.255.121:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[71.163.255.121:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:71.163.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; 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:44:30 -0000 This seems like almost the exact issue I had a few days ago. See Tomasz's reply to my post 'drm-kmod kills FreeBSD'. Once I built graphics/drm-fbsd12.0-kmod-4.16.g20201016 from ports, X worked well from then on. The one from graphics/drm-kmod crashed my system instantly. /boot/kernel/i915kms.ko didn't crash anything, but also didn't work. On Sun, 24 Jan 2021, Victor Sudakov wrote: > 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? > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ > -- Chris Hill chris@monochrome.org