From owner-freebsd-x11@freebsd.org Sat Jan 5 01:10:31 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 A14CE1440F57 for ; Sat, 5 Jan 2019 01:10:31 +0000 (UTC) (envelope-from kob6558@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 CB5548D10C for ; Sat, 5 Jan 2019 01:10:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8E59F1440F4E; Sat, 5 Jan 2019 01:10:30 +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 6BB291440F4D for ; Sat, 5 Jan 2019 01:10:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 F40588D10A for ; Sat, 5 Jan 2019 01:10:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x22e.google.com with SMTP id c206so31832514oib.0 for ; Fri, 04 Jan 2019 17:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bEnG6sDvjHaOsVc3A1UPwDwO2zVMmSAIM8lByWLZ7J0=; b=TgdH+z2qXcIu/dIWuhYUsnIZPb9LNGrxJoQjG7E84YGvHKTajrPAfcxYOkrtYghup7 YLuFsf50L+e2JdtsrP6MtASs9/HkU3SH4Zi40FDwls97nxn0HW71Ry6iKxc+kWKIjhuQ +C68lEna8sNFipMOUmUitCzKy8Ywmscgc0FCo2AenrhznkBzN9YMHPLASlBZPiV7PP1A fzGBUPV6ZZ0vFIUdZcKNb9TUXdK3z6nAlarPwXAg2bD+lNUt/nAT4InoMV9hF9rd508y y5oMuIDTlMJUDMyyrUwbl8DThtXdDUz23CVAKVMPBDf+ajy0s0tfPhoVX0t/6FNyTQpE CAlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bEnG6sDvjHaOsVc3A1UPwDwO2zVMmSAIM8lByWLZ7J0=; b=mgwg6b2zaEJiIfrQsxFQ97/0oTCX4ogKHXk22fNFyjtVpB5Mqz17/A6I588TbVzU+9 W9fnq7RDL/LMMWFSS8fQChU9ijf6aDKT3ylV39g7YBaJlbKb2wKFYEETusUtLZxx7uSJ NepKv7BBvzHvdWSL/Goe/skK3Y6Hfjruj6vmpbTHf8hyfKi74yex+5noGF+Df0xBcwo+ a3hIRMB0uqFb09hQC6gK/xa7izFWn1DcsDKA0ghT0BEr/L5hetpDWPsoPeXUFB7kI6Hb CY0k1JKPBAySjEWcMpU9ZaS+NT6ghT76uKawE/JRiISblE1eOHoEVNfjsi+xPDhk3hXr C+WA== X-Gm-Message-State: AJcUukcQrM+nX4BzLeF9DrgsaQ1/Auwmz39KzuPBTMEyIhKwl4FESDP8 698D0+nnBH6lejyIxVYBQzaCj0uhZEesyE2ijok= X-Google-Smtp-Source: ALg8bN6XjABUbGQzBlwzOfV8ktX3aK1643+zSsYLi++ScL322EoU2DWnqMewBF99/Au8reA7VuX71dNQw62rI7tlIkI= X-Received: by 2002:a54:4d81:: with SMTP id y1mr2521306oix.18.1546650628410; Fri, 04 Jan 2019 17:10:28 -0800 (PST) MIME-Version: 1.0 References: <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com> In-Reply-To: <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com> From: Kevin Oberman Date: Fri, 4 Jan 2019 17:10:11 -0800 Message-ID: Subject: Re: GPU hang on ThinkPad T420 with drm-kmod on 12.0-RELEASE To: Kevin Zheng Cc: Pete Wright , "freebsd-x11@freebsd.org" X-Rspamd-Queue-Id: F40588D10A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.93 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.93)[-0.929,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 01:10:32 -0000 On Fri, Jan 4, 2019 at 3:45 PM Kevin Zheng wrote: > On 1/3/19 11:44 PM, Kevin Oberman wrote: > > I am running on 12.0-STABLE r342382 on my T500 with Sandy Bridge. Other > > than screen size, I believe that it is identical with the T420. Are you > > sure that yours is ivy Bridge? Maybe later T420schanged processors? > > No, you're right; T420 is Sandy Bridge (CPUID=0x206a7). Not that this > makes much of a difference here. > > > I just discovered that it is essential that I run with the modesetting > > driver, not xf86-video-intel. Are you running modesetting? Using he > > older driver triggered several issues for me.I also am running mesa > > 18.3.1 which is currently under test (and will hopefully be in ports > > soon). You can find the patches to 18.2.8 and then to 18.2.8 is covered > > inbug 230298 > > and 18.3.1 in bug 233034 > > . Patches > must > > be applied in sequence and with the -E option. > > Yes, I'm running the KMS driver, not the old driver. > > > I have now been running on the system for over a day with no issues, but > > I need to give it more time before I pronounce it satisfactory. I also > > use Firefox, but I will give chromium a shot now and see if there is a > > problem. > > So have I; normal use doesn't shake the GPU hang out. I see the crash > occasionally when running Chromium and reasonably frequently when I run > games/supertuxkart. Unfortunately I don't have any more info right now. > I can try the updated Mesa. > > -- > Kevin Zheng > kevinz5000@gmail.com | kevinz@berkeley.edu | PGP: 0xC22E1090 > 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. Are you running SNA or EXA? xorg.0.log might provide some useful information. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683