From owner-freebsd-x11@freebsd.org Sat Jan 5 02:16:41 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 DF47814835A6 for ; Sat, 5 Jan 2019 02:16:40 +0000 (UTC) (envelope-from kevinz5000@gmail.com) 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 AB1CA902EE for ; Sat, 5 Jan 2019 02:16:39 +0000 (UTC) (envelope-from kevinz5000@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 55CDE148359B; Sat, 5 Jan 2019 02:16: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 1B27B148359A for ; Sat, 5 Jan 2019 02:16:39 +0000 (UTC) (envelope-from kevinz5000@gmail.com) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4678902D9 for ; Sat, 5 Jan 2019 02:16:38 +0000 (UTC) (envelope-from kevinz5000@gmail.com) Received: by mail-io1-xd29.google.com with SMTP id k7so30925384iob.6 for ; Fri, 04 Jan 2019 18:16:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NCFVt6nE/PSyaTek4+uo1GyiC95aH7Y4r6RmqiDQoA0=; b=uZh6/Rf4cjvwRbjpCnAbBPCAsEToeeKdY1efxphQu0R9OjqKgdcnwVx43A1eweJngt Rg6oDbkL1TRhGuEMKOwQT9gfkrMLxITiQLIHDyWG5/ePqEuDBvhUF1eklgVMr/pkAkOT pbb9wo7M4ot/ha9d1oW1mVjB5qutTlcXXwaLH4ydbj54bCNwkQtBpJQqESYkxbfzXjrY B021ywlfdJ0yuuLwRZ07Jpm4y3wWgUpDsEXDyri8/XznJJ+hv21/2cnBvzC44lvD48im fi7YbWCSGwle1oeshGrkEcAaZIICpS4KoW92AbY7Azw3x36LQee7AWrZ7prWKsHz8ZLs hOdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NCFVt6nE/PSyaTek4+uo1GyiC95aH7Y4r6RmqiDQoA0=; b=WLjni0bsDYXr0oHBeY4T956L0yz+wjM9XwYDwVDrA15t7ESQrybuNnZBT5jN6Prm8H fcIDnV11861F3DSeyHAAz8BFEpTTTLldRgC/Iiqx6UQHjiaq3PyXoRK8pSJrBUKiMmih 1eOAVtrD5rMZIoHqoUYUVqKxIPq1jYYuiCsVH2ODGSFvyatMkNXS/bBnVCkV4u3WGFsQ 78uYa/nPtXtrMGu32lLR4XTTehKFm2oh9T5zd+LzxVQtT0I2geecQ9ydt0xRb1FRkykZ afXsa5/BkLb7VYi5/deErkR6UdbItC/5zUS6N+827NyQgnKkRUd6zvMrST9X/PUnosHB ddvg== X-Gm-Message-State: AJcUukf5oAowxyp8Kh0BKhoKLwKTQ+qOCMaGscuXcck/QZmy9NPKwZdN na2v4FxmHW6H3f5MX4w22IBuVpwZ X-Google-Smtp-Source: ALg8bN6WOmuvLAyU0lXBddQj+e4/lD+Rax3UfZji2K4tOeIGxJdKy3KxEqlTOPnj5DXqYdDvno2ubw== X-Received: by 2002:a6b:3809:: with SMTP id f9mr39473685ioa.305.1546654597363; Fri, 04 Jan 2019 18:16:37 -0800 (PST) Received: from [10.0.0.22] (172-221-159-029.dhcp.chtrptr.net. [172.221.159.29]) by smtp.gmail.com with ESMTPSA id r195sm1611477ita.3.2019.01.04.18.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 18:16:36 -0800 (PST) Subject: Re: GPU hang on ThinkPad T420 with drm-kmod on 12.0-RELEASE To: Kevin Oberman Cc: Pete Wright , "freebsd-x11@freebsd.org" References: <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com> From: Kevin Zheng Message-ID: <3ac7e853-82d8-7bb8-c77c-770792cbfee9@gmail.com> Date: Fri, 4 Jan 2019 20:16:35 -0600 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-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A4678902D9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,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: Sat, 05 Jan 2019 02:16:41 -0000 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? > Are you running SNA or EXA? xorg.0.log might provide some useful > information. I don't know what SNA or EXA are. I'll report back if I get another hang with the modesetting driver. It can take a while to shake out. Thanks, Kevin -- Kevin Zheng kevinz5000@gmail.com | kevinz@berkeley.edu | PGP: 0xC22E1090