From owner-freebsd-x11@freebsd.org Sat Jan 5 10:50: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 1993814975D5 for ; Sat, 5 Jan 2019 10:50:40 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) 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 91A3475F19 for ; Sat, 5 Jan 2019 10:50:39 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.ysv.freebsd.org (Postfix) id 54CDD14975D4; Sat, 5 Jan 2019 10:50: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 41D8414975D3 for ; Sat, 5 Jan 2019 10:50:39 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB5C975F15 for ; Sat, 5 Jan 2019 10:50:38 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 43Wz2h4v2zzDjK1; Sat, 5 Jan 2019 10:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1546685436; bh=5rsh165rstwUPicYZ/R4TT9G diesiW2J68Dhgp9LKhY=; b=oHJJrf62tQkltt/oC+qrU19Oa7FGYHDKOCOr4S0R EUaL96135tWaWMJI0s9CTC2vmR7UhME6pjyt1lY8xsNOwBMyuUbUv+MRpav0pich fxa9gbS2WHjUT+c6MfdyNUglyBfmjd2JBpychAXG212PaQvFase1TmtSDML/UDh1 Kt8= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id zOBa_j4dppdI; Sat, 5 Jan 2019 10:50:36 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:d005:8063:a25e:aeb6]) by mail.daemonic.se (Postfix) with ESMTPSA id 43Wz2g71X7zDjCL; Sat, 5 Jan 2019 10:50:35 +0000 (UTC) Subject: Re: GPU hang on ThinkPad T420 with drm-kmod on 12.0-RELEASE To: Kevin Zheng , Kevin Oberman Cc: "freebsd-x11@freebsd.org" References: <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com> <3ac7e853-82d8-7bb8-c77c-770792cbfee9@gmail.com> From: Niclas Zeising Message-ID: <8e1e40d4-304c-5307-2600-9786055c0602@daemonic.se> Date: Sat, 5 Jan 2019 11:50:27 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <3ac7e853-82d8-7bb8-c77c-770792cbfee9@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CB5C975F15 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd]; 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: Sat, 05 Jan 2019 10:50:40 -0000 On 1/5/19 3:16 AM, Kevin Zheng wrote: > On 1/4/19 7:10 PM, Kevin Oberman wrote: >> First, sorry if I have forgotten about things early in the thread. >> >> Have you examined xorg.0.log to confirm which driver is actually >> running? Do you have multimedia/libva-intel-driver installed? If so, >> is HYBRID enabled in the configuration? I had hangs with it in the >> past, but it's been working for over two days now with a recent >> 12.0-STABLE (r342382),mesa-18.3.1 and modesetting. Also, I run with >> SCHED_4SD, not the default SCHED_ULE scheduler. > > Ah! I was confused when you mentioned xf86-intel-driver earlier; I was > indeed running that instead of the modesetting driver. > > I was not aware at all of the modesetting driver... perhaps it'd be good > to document somewhere, like maybe the pkg-message for drm-kmod? This is the default configuration, you have to explicitly install xf86-inteldriver to have it on your system. Which kernel driver are you using? Regards -- Niclas