From owner-freebsd-x11@freebsd.org Thu May 17 18:12:51 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 02F77EDBF16 for ; Thu, 17 May 2018 18:12:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 6B8876E1C9 for ; Thu, 17 May 2018 18:12:50 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.223] (cpe-75-82-194-8.socal.res.rr.com [75.82.194.8]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id afd515f5 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 17 May 2018 11:12:49 -0700 (PDT) Subject: Re: Lag after resume culprit found To: Johannes Lundberg Cc: x11-list freebsd References: From: Pete Wright Message-ID: <49b7e10c-998a-e73d-8475-063d50414395@nomadlogic.org> Date: Thu, 17 May 2018 11:12:48 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2018 18:12:51 -0000 On 05/16/2018 16:07, Johannes Lundberg wrote: > https://github.com/freebsd/freebsd/commit/66f063557f257baa9c8aeab9f933171eaa6e1cfa > x86 cpususpend_handler: call wbinvd after setting suspend state bits > > How to test (i915kms) > > Start X with glxgears > Confirm running stable at 60 fps > suspend/resume (S3) > glxgears is now fluctuating between 10-40 fps. > > > Way past bedtime now so I stop here for today. i can confirm that the commit avg@ put in to HEAD today to revert this solved my suspend/resume issues on my Kabylake system running drm-next.  Thanks for tracking this down Johannes, and the quick attention from Andriy to fix this! cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA