From owner-freebsd-x11@freebsd.org Fri Jan 4 01:01:40 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C46D143D66A for ; Fri, 4 Jan 2019 01:01:40 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E0FDC71723 for ; Fri, 4 Jan 2019 01:01:39 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: by mailman.ysv.freebsd.org (Postfix) id A4944143D669; Fri, 4 Jan 2019 01:01:39 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91895143D668 for ; Fri, 4 Jan 2019 01:01:39 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BDFA7171F for ; Fri, 4 Jan 2019 01:01:38 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.gem.co (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 3b16cd1f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 3 Jan 2019 17:01:32 -0800 (PST) Subject: Re: GPU hang on ThinkPad T420 with drm-kmod on 12.0-RELEASE To: Kevin Zheng , x11@FreeBSD.org References: From: Pete Wright Message-ID: Date: Thu, 3 Jan 2019 17:01:31 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 0BDFA7171F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 01:01:40 -0000 On 1/3/19 4:39 PM, Kevin Zheng wrote: > Hi there, > > I don't know if anyone else has been having similar issues. > > On the ThinkPad T420 (i5-2540M, Sandybridge), the drm-kmod > (drm-fbsd12.0-kmod-4.16.g20181215) hangs like this, infrequently, but > often enough on GPU applications: > > [drm] GPU HANG: ecode 6:0:0x61f7fffd, in chrome [100694], reason: Hang > on rcs0, action: reset > drmn0: Resetting chip after gpu hang > last message repeated 1 times > drmn0: i915_reset_device timed out, cancelling all in-flight rendering. > > It doesn't just hang with Chromium, it hangs on other apps as well. > > Tricky thing is that things otherwise seem to work, and I haven't > figured out how to reliably reproduce the hang. > > Particularly, https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix > claims that other people have working Ivy Bridge with drm-kmod; maybe > that has to be drm-kmod-legacy until I figure out what's going on. > > Should I create a PR, or wait until I have more info? > Can you test out the drm-legacy-kmod pkg and see if that resolves these issues?  There was a recent user report that Ivy Bridge was working with the drm-kmod package, but it's possible I was mistaken there. Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA