From owner-freebsd-current@freebsd.org Mon May 14 08:22:01 2018 Return-Path: Delivered-To: freebsd-current@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 89FFDFE0829 for ; Mon, 14 May 2018 08:22:01 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (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 23AF67EDBE; Mon, 14 May 2018 08:22:00 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 40ktw75Yw6zDhG6; Mon, 14 May 2018 08:21:59 +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=1526286119; bh=B+pOGcO61riS/S/PQ4J3zeto vWkU5wZNoLakCQsJMCQ=; b=kUvHuSf3z5gTUuMNQugn8U57QmOF3DzHf7KMwk1W /0UGjM/ef7zlO/WADiQnx+xADRWXVP5AT02bvQ64qNpwvhBeNko/VCHqdj2NNwV+ mk7ORTYwysy2qb893+sdAuIfiDQ9Jce/xzootU73T00C0RBmXOHXqKweY8txxcqR aZY= 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 JOWJaThjSxWj; Mon, 14 May 2018 08:21:59 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-250-89.mobileonline.telia.com [95.192.250.89]) by mail.daemonic.se (Postfix) with ESMTPSA id 40ktw65H8YzDhBg; Mon, 14 May 2018 08:21:58 +0000 (UTC) Subject: Re: suspend/resume regression To: Michael Gmelin Cc: Andriy Gapon , Pete Wright , FreeBSD Current References: <1e608109-fcdd-d794-b03a-2e417300b95a@nomadlogic.org> <7591CD82-3691-4153-AEC0-F7335417AC3B@grem.de> From: Niclas Zeising Message-ID: <31ff347c-9e4e-ca17-4ef7-7c3e51c44e97@daemonic.se> Date: Mon, 14 May 2018 10:21:58 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <7591CD82-3691-4153-AEC0-F7335417AC3B@grem.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 08:22:01 -0000 On 05/13/18 18:16, Michael Gmelin wrote: > > >> On 13. May 2018, at 11:54, Niclas Zeising wrote: >> >>> On 05/13/18 09:48, Andriy Gapon wrote: >>>> On 13/05/2018 05:25, Pete Wright wrote: >>>> hi there - i have an amd64 laptop that's been running CURRENT for a while using >>>> both drm-next and drm-stable for graphics. during the past week or so i've run >>>> into issues with suspend resume...well technically resume has stopped working. >>>> i've tested a couple configurations and none have allowed my system to resume >>>> successfully: >>>> >>>> - drm-next installed with DMC firmware loaded >>>> - drm-next installed without DMC firmware loaded (worked previously) >>>> - drm-stable with DMC >>>> - drm-stable without DMC >>>> - no drm modules loaded. >>>> >>>> I've also tested these configs with the following sysctl set to 0 and 1: >>>> hw.acpi.reset_video >>>> >>>> at this point i'd like to help find what the regression i'm running into is, so >>>> any pointers on how i can help? the system seems to boot and i'm pretty sure i >>>> can ssh into it most times, just not sure what info i should grab to help. >>>> nothing of interest in messages or dmesg buffer either. >>> Did you do any OS upgrades what was last working version and what is the current >>> version (svn revision number)? >>> Or any other notable changes before resume stopped working... >> >> Hi! >> I'm also seeing issues, not as severe as Pete, but after I resume (which works, with drm-next and DMC firmware), the system becomes sluggish. It feels like I/O takes more time, and graphics are sluggish (very sientific, I know, but for instance git operations are much slower after a resume). I know there's been an update to acpica between my system updates, when this started to happen, but I haven't had time to revert that update and test again. I will try to do that and report back. > > Maybe a stupid question, but did you check the cpu frequency before and after suspend/resume? (sysctl dev.cpu) As far as I can tell, the frequency remains the same. I looked at dev.cpu.0.freq, if there's any other sysctl to look at as well, please let me know. Regards -- Niclas