From owner-freebsd-x11@freebsd.org Wed May 16 23:08:39 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 5BF31EDBA3C; Wed, 16 May 2018 23:08:39 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF0B481920; Wed, 16 May 2018 23:08:38 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id y15-v6so3672803wrg.11; Wed, 16 May 2018 16:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=HIZaOFtP6cLPAhv8pjEc86XrKKNKcLhaq6NbnpPP1Jw=; b=C4BIywzA0c4rraL26B62VlBKoPqPXQi+iOwcGEJJfIqKP5xBb4AzlggLLNdVcHeT1R +/5FT2A1Ar5rdaZtegnfM6gKdWXQoKFJ4j/nnR9WQWl8ZMP65/z8lHZf2J0JPqR9oTSi QeiDXjpM6a+BJCBxQuXNA4Ac+EEKd23FrjXWCnHxhZXTC/WY9gpO3sQ3WW9JeBBAQiwh PP1K5QBm/LYu151jY+gySXNT/xnuOJhcTG9R57tRZ59fQ7Dwg6/pxMBHFHwvhAd1101h Xg6d8dyUzdDS6A29Uk7+LszzdVI0RMkkLFjE2yNcPZFc5ciq/LvDLYXf+g3inVsAcSKS 21Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=HIZaOFtP6cLPAhv8pjEc86XrKKNKcLhaq6NbnpPP1Jw=; b=f6mSke6aeSKLXBDCCD0rLIEPDjXOea1J3A8TJ4nJnDkq/y/Ve8exn//FqQg/o/wnkl tOaosPmQES9KYUaM4iWVtXaRJVc5awtBh5LD22wghobAl+XTWgNjKKnhKgnekpaVz2ua CUe2kgIv+JXxakmCqSCV38id+wodSN/qSCX3A1Yx+NA5w0Vjn6u762TEsG0EL7EEtzgy UZ1Ez1BKaFyClVT/C/6wHgnZefb2+HhrF0OiBfpfw5ANuHGcNS7OAWpE7N8WEfU39Wja kq7Li78peQHBU6qP2zE1aiSkxSeCDJNjQiKJ/TgIrp8xNxqkjSZ7SxPD22KdWUzMBEVa W6Gw== X-Gm-Message-State: ALKqPwfhlD2VWI3lHx2PQKKFC2pE5MD6m1knh8VrHFPY4UcY+UsfwgjT XFF9Pfl9Gemq4MELQqfxZNsSi7FB03Fjt7w24AfaXw== X-Google-Smtp-Source: AB8JxZrI2LsqFEQSbBRHavzGjiH+NLr4UgrcNPVDLruGPfotoI/0YZsLXKKFcqQdBf2sxoXJa0V6slS4b0wfUfKXkkI= X-Received: by 2002:adf:d10f:: with SMTP id a15-v6mr2366485wri.165.1526512116913; Wed, 16 May 2018 16:08:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.146.194 with HTTP; Wed, 16 May 2018 16:07:56 -0700 (PDT) From: Johannes Lundberg Date: Thu, 17 May 2018 00:07:56 +0100 Message-ID: Subject: Lag after resume culprit found To: freebsd-current Cc: x11-list freebsd Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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: Wed, 16 May 2018 23:08:39 -0000 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. Note: cross-posting - please think before "reply-to-all" /Johannes