From owner-freebsd-current@freebsd.org Thu Jan 28 20:22:16 2021 Return-Path: Delivered-To: freebsd-current@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 57B6F4EC90D; Thu, 28 Jan 2021 20:22:16 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRX2H2ZtVz4fWB; Thu, 28 Jan 2021 20:22:14 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1611865333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wyCDmrBDlFFbyeHPfSYk1xwTNw66JFEZzifB7RzUI5k=; b=tW6ujBNaK/xnzChJQQpc1ffWXL3RIBjy+9jjZftYuu554vlKJSa27n4TC19awrmksrCIki V559JCDfhy7pVsSWtQLTnzoLhdgAEVXOGIKLNcgrUW8NBYGzjrSmMjpdFf1RNA5KIJCvBj 7VokIFfHK3rdEaQ71cTf70rdLjnsP+Q= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 593170ae (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 28 Jan 2021 20:22:13 +0000 (UTC) Date: Thu, 28 Jan 2021 21:22:13 +0100 From: Emmanuel Vadot To: Steve Kargl Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: i915kms and chip resets on rsc0? Message-Id: <20210128212213.a7e14bc4b469c745b522ea0a@bidouilliste.com> In-Reply-To: <20210128200255.GA96914@troutmask.apl.washington.edu> References: <20200710192736.GA69592@troutmask.apl.washington.edu> <20210128191510.GA96585@troutmask.apl.washington.edu> <20210128204806.77d1e676a592ec638a82d5be@bidouilliste.com> <20210128200255.GA96914@troutmask.apl.washington.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DRX2H2ZtVz4fWB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=tW6ujBNa; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-x11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 20:22:16 -0000 On Thu, 28 Jan 2021 12:02:55 -0800 Steve Kargl wrote: > On Thu, Jan 28, 2021 at 08:48:06PM +0100, Emmanuel Vadot wrote: > > On Thu, 28 Jan 2021 11:15:10 -0800 > > Steve Kargl wrote: > > > > > All, > > > > > > I have finally gotten my old laptop somewhat back to it > > > 2 Dec 2020 working state. The kernel/world/drm-current-kmod > > > from 2 Dec 2020 worked wonderfully. Sadly, the two week > > > recover from a failed update has one final hurdle. > > > > > > With nearly top-of-tree src/ and ports/ > > > > > > % cd /usr/src > > > % git log | more > > > commit 0e01ea872ee475d7aef11d21588504e2ef4eb32c > > > Author: Cy Schubert > > > Date: Wed Jan 27 21:52:08 2021 -0800 > > > > > > % pkg info | grep kmod > > > drm-current-kmod-5.4.62.g20210128 DRM modules for the linuxkpi-based KMS components > > > gpu-firmware-kmod-g20201213 Firmware modules for the linuxkpi-based KMS components > > > > > (snip) > > > > Asynchronous wait on fence i915:Xorg[100156]:4 timed out (hint:0x24ad37f0S) > > > drmn0: GPU recovery timed out, cancelling all in-flight rendering. > > > drmn0: Resetting chip for hang on rcs0 > > > > > > > Does 5.4.62.g20210118 works ? > > It works to the extent that the X server loads and > the fvwm2 window manager comes up with my normal > desktop. In fact, I'm typing this in a xterm at > that moment. > > What I don't know is if the X server is ignoring the GPU. > It is unclear to me if the last "drmn0: Resetting chip > for hang on rcs0" is disabling some functionality. xwininfo > reports > > % xwininfo > > xwininfo: Window id: 0xef (the root window) (has no name) > > Absolute upper-left X: 0 > Absolute upper-left Y: 0 > Relative upper-left X: 0 > Relative upper-left Y: 0 > Width: 1400 > Height: 1050 > Depth: 24 > Visual: 0x21 > Visual Class: TrueColor > Border width: 0 > Class: InputOutput > Colormap: 0x20 (installed) > Bit Gravity State: ForgetGravity > Window Gravity State: NorthWestGravity > Backing Store State: NotUseful > Save Under State: no > Map State: IsViewable > Override Redirect State: no > Corners: +0+0 -0+0 -0-0 +0-0 > -geometry 1400x1050+0+0 > > which looks like what I expect for 'startx -- -depth 24'. > > -- > Steve No I meant does the previous version of the ports works or was it since today's update ? -- Emmanuel Vadot