From owner-freebsd-x11@freebsd.org Fri Sep 14 19:04:05 2018 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 0EB8410913A4 for ; Fri, 14 Sep 2018 19:04:05 +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 985C08DFDB for ; Fri, 14 Sep 2018 19:04:04 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id 5D5FA10913A3; Fri, 14 Sep 2018 19:04:04 +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 232F510913A2 for ; Fri, 14 Sep 2018 19:04:04 +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 9B94A8DFDA for ; Fri, 14 Sep 2018 19:04:03 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66] 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 1g0tNk-0006k0-5S; Fri, 14 Sep 2018 21:03:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID :From:References:Cc:To:Subject:Sender:Reply-To:Content-Transfer-Encoding: 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=kbLIScx/IMTa7hJrxfb0FfABq0QqIm+lUwC/gNiQo9Q=; b=nvGohucgHEocJRX5yCncWv8jlJ 1+1xLxTajsinJn1ji+9HQEBzaaUUKa3oQfeycz731MgHh+70TtG7h6WcsK7gDLimMO77UKfY7rNCo M9p9FyM2hsH6Qm3rpLJZdtSDpo0a2m9+TXHQaihV2IBimWmexh66Z5nqn0Ham4EGF0fHeoipGS34b UwUzRatvk1yl237TWp4NwB6IdZKSLRcivpK0DCiqWhYnuIiSsEaZgt9R/Ehf3thYpKU17C+FTanNd 74+zlEhdB2v4ZEIFA6pfzMlTa6EOv77KdYhsnq/blcYnSR0kQ/dpMiTIibioGJmMo/7MWVLP2yznG /CBp8hMQ==; Received: from [192.168.67.33] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g0tNj-0009fj-KA; Fri, 14 Sep 2018 21:03:55 +0200 Subject: Re: drm-devel-kmod-4.16.g20180824 hangs my laptop To: Johannes Lundberg Cc: Niclas Zeising , x11@freebsd.org References: <4c80c55c-fa61-b5cf-8720-0b5317763841@alvermark.net> <86zhwuc3rt.fsf@gmail.com> <9f829bf0-e2dd-49ab-ebc6-11a472888c2b@daemonic.se> From: Jakob Alvermark Message-ID: <7c8d6ce8-4435-eec8-4b69-574354ddb0ad@alvermark.net> Date: Fri, 14 Sep 2018 21:03:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 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, 14 Sep 2018 19:04:05 -0000 On 9/14/18 11:30 AM, Johannes Lundberg wrote: > > > On Thu, Sep 13, 2018 at 4:37 PM Jakob Alvermark > wrote: > > On 9/6/18 1:25 PM, Jakob Alvermark wrote: > > On 9/6/18 12:45 PM, Niclas Zeising wrote: > >> On 09/06/18 12:35, Johannes Lundberg wrote: > >>> > >>> Jakob Alvermark writes: > >>> > >>>> Hi, > >>>> > >>>> > >>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs. > >>>> Previous version of drm-devel-kmod worked. > >>>> > >>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf > >>>> > >>>> When it boots and the modules load the screen goes blank > (backlight > >>>> still on) and the machine is totally non-responsive. > >>>> > >>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz > K8-class > >>>> CPU) > >>>> > >>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 > chip=0x0f318086 > >>>> rev=0x0e hdr=0x00 > >>>>    vendor = 'Intel Corporation' > >>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & > Display' > >>>>    class = display > >>>>    subclass = VGA > >>>> > >>> > >>> Hi > >>> > >>> Did you update the kernel as well? > >>> > >>> I think this is due to a change in HEAD. You need to wait until > >>> the binary packages have been updated with a new build or > build drm > >>> drivers from ports/source with the new head in /usr/src. > >>> > >>> This would be the same for stable/next as well. > >> > >> Which versions of FreeBSD and of the -devel port were the last > ones > >> that worked?  What happens if you downgrade the port to that > version, > >> but keep the same version of FreeBSD base as is failing? > > > > > > Did some further testing: > > > > drm-devel-kmod-4.16.g20180822 does not work. Same thing as above, > > blank screen and hang. > > > > drm-devel-kmod-4.15.g20180802 works. > > > > I am now at r338488 > > > Another thing I have noticed: > > With drm-devel-kmod-4.15.g20180802 my machine hangs after a while, > around 24 hours. If I leave it on overnight it is usually is hung the > next day. > > Black screen an no response to anything, keyboard or power button. I > have to power off hard. > > This doesn't seem to happen with drm-next-kmod-4.11.g20180822. > > Thanks for reporting. I think there's a memory leak affecting all > drivers in drm-devel-kmod. I was guessing it was a memory leak. I will stay on drm-next-kmod-4.11.g20180822 for now, but I will be happy to test anything if requested. Jakob