From owner-freebsd-x11@freebsd.org Wed May 1 11:47:42 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 9FE781594093 for ; Wed, 1 May 2019 11:47:42 +0000 (UTC) (envelope-from jakob@alvermark.net) 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 E367E72814 for ; Wed, 1 May 2019 11:47:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id A792B1594090; Wed, 1 May 2019 11:47:41 +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 83C4A159408F for ; Wed, 1 May 2019 11:47:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (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 18F7572813 for ; Wed, 1 May 2019 11:47:40 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-93a3e555.06-431-73746f70.bbcust.telenor.se ([85.229.163.147] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLni6-000IV6-O4 for x11@freebsd.org; Wed, 01 May 2019 13:47:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:To:Subject:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IitnDcc0+W4r8uftdO179eZIbDNXKZhK1bYXrX3KgA0=; b=Kt+XHROuwOrEoto6yCIQsqUYML uIAyKZexZ/E6QmH8tBedQDA+8KNPxSq5jbNEckPGZJzMuPYECed0/eNVHlAd0MIlJuWbbcXX/tqSW RND+XvRtq3PDh208O6nQkBgjwsdvV0skuyw9fg181b7tuaN/G40EthnPsNYfdb3GPXQFMt/DVejS8 pEyGTbQaKR34pCHb0eABVfhNFMYmQM/eTImiTK8nBk7aCNtZB7Y4DMXOneud/oTFyh+hUPzYz2pRD uePvlW9TJAq8e2wzn+54Rmuq80NCU1N7oi5cJ2Js8AmSB+QT4pN2jJw63YxviKldrMMfAuptzL1jU G4LZOviA==; Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1hLnhh-000Mh3-44 for x11@freebsd.org; Wed, 01 May 2019 13:47:13 +0200 From: Jakob Alvermark Subject: Re: drm-current-kmod-4.16.g20190424 hangs To: x11@freebsd.org References: <5713985b-e97f-c7f2-2592-47a17baf8095@alvermark.net> <12e450ab-2c17-11e3-ba47-20599c38f3a3@gmail.com> <8dcf1fed-8f89-3e11-5fe1-b3a72e6971b0@alvermark.net> <5eab5bae-fd3c-0839-9d93-a8b7a4096f6d@alvermark.net> <15e1052f-1c96-fe2f-acdb-5730ccd8dfb5@alvermark.net> <332ccf6d-fb54-de70-2e09-22ff1f1acbac@freebsd.org> <2b33752c-88c1-5e79-e020-b38aa725bbf7@alvermark.net> <0894923e-7f36-8d1a-6a88-a66b9cec7b41@daemonic.se> Message-ID: <97360c10-d5d6-9e52-c7c4-0f2d58dea650@alvermark.net> Date: Wed, 1 May 2019 13:47:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <0894923e-7f36-8d1a-6a88-a66b9cec7b41@daemonic.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 18F7572813 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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: Wed, 01 May 2019 11:47:42 -0000 On 2019-04-30 18:51, Niclas Zeising wrote: > On 2019-04-30 18:35, Jakob Alvermark wrote: >> On 2019-04-30 15:15, Niclas Zeising wrote: >>> On 2019-04-30 14:29, Jakob Alvermark wrote: >>>> Hi, >>>> >>>> >>>> I updated my src to r346958 and tried applying the patch: >>>> >>>> C         sys/compat/linuxkpi/common/src/linux_pci.c >>>>  >         applied hunk @@ -565,10 +565,8 @@ with offset -7 >>>>  >         applied hunk @@ -607,14 +591,9 @@ with offset -6 and fuzz 2 >>>>  >         rejected hunk @@ -580,25 +578,11 @@ >>>>  >         rejected hunk @@ -629,7 +608,7 @@ >>>> Summary of conflicts: >>>>    Text conflicts: 1 >>>> >>>> Tried building anyway but it fails. >>>> >>>> >>>> The "GPU HANG" seems very random, yesterday the machine ran (with >>>> Xorg and apps running) for almost 12 hour until rebooted for other >>>> reasons. >>>> >>>> Today it hung twice within minutes of starting Xorg. >>> >>> Sigh, someone went ahead and made further changes to lkpi while >>> we're debugging this.  Talk about trying to chase a moving target. >>> Can you try to back up to r346955 and apply the patch and try again? >>> I've already gotten one report about this resolving the hang but >>> causing graphics glitches instead. >> >> >> Ok, I'm now at r346955, with the patch applied (and drm-current-kmod >> rebuilt for good measure). >> >> Let's see how this goes. I'll report back. >> > > Hi! > The patch has been updated to take into account the latest changes in > current, and some issues with the original version.  The new patch can > be found in the review here https://reviews.freebsd.org/D20097 . > Please test it! I updated -current to r346973 with the patch from D20097. It seems to work without issues. I ran it for 15 hours. I noticed the drm-current-kmod was updated, so now I am running the above with drm-current-kmod-4.16.g20190430. If I hit any issues I will report it. Jakob