From owner-freebsd-current@freebsd.org Sun May 13 18:03:06 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 63D7CFC8823 for ; Sun, 13 May 2018 18:03:06 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id D46857F837 for ; Sun, 13 May 2018 18:03:05 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 99966 invoked by uid 89); 13 May 2018 16:16:22 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.91.248) by mail.grem.de with ESMTPA; 13 May 2018 16:16:22 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: suspend/resume regression From: Michael Gmelin X-Mailer: iPhone Mail (15E302) In-Reply-To: Date: Sun, 13 May 2018 18:16:21 +0200 Cc: Andriy Gapon , Pete Wright , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <7591CD82-3691-4153-AEC0-F7335417AC3B@grem.de> References: <1e608109-fcdd-d794-b03a-2e417300b95a@nomadlogic.org> To: Niclas Zeising X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 13 May 2018 18:03:06 -0000 > On 13. May 2018, at 11:54, Niclas Zeising wr= ote: >=20 >> 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 whil= e 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 wo= rking. >>> i've tested a couple configurations and none have allowed my system to r= esume >>> successfully: >>>=20 >>> - 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. >>>=20 >>> I've also tested these configs with the following sysctl set to 0 and 1:= >>> hw.acpi.reset_video >>>=20 >>> 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 s= ure i >>> can ssh into it most times, just not sure what info i should grab to hel= p. >>> nothing of interest in messages or dmesg buffer either. >> Did you do any OS upgrades what was last working version and what is the c= urrent >> version (svn revision number)? >> Or any other notable changes before resume stopped working... >=20 > Hi! > I'm also seeing issues, not as severe as Pete, but after I resume (which w= orks, with drm-next and DMC firmware), the system becomes sluggish. It feel= s like I/O takes more time, and graphics are sluggish (very sientific, I kno= w, but for instance git operations are much slower after a resume). I know t= here'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 w= ill try to do that and report back. Maybe a stupid question, but did you check the cpu frequency before and afte= r suspend/resume? (sysctl dev.cpu) Best, Michael