From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#28695: 26.0.60; Rendering lag spikes caused by double-buffering on Linux Date: Thu, 5 Oct 2017 16:36:53 +0300 Message-ID: <1931afeb-51cb-89c9-72ff-c8a062fecba7@yandex.ru> References: <8760bvd2w7.fsf@bryan.sh> <59D4A431.7010801@gmx.at> <831smjz2b2.fsf@gnu.org> <874lrfcg4s.fsf@bryan.sh> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1507210701 17559 195.159.176.226 (5 Oct 2017 13:38:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2017 13:38:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 28695@debbugs.gnu.org To: Bryan Gilbert , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 05 15:38:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e06Lt-0003ct-0F for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Oct 2017 15:38:13 +0200 Original-Received: from localhost ([::1]:39887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e06M0-000407-7k for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Oct 2017 09:38:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e06Lo-0003yU-Cp for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 09:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e06Li-0007NU-I8 for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 09:38:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41222) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e06Li-0007Mj-Dg for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 09:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e06Li-0008FN-0N for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 09:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28695 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28695-submit@debbugs.gnu.org id=B28695.150721062831629 (code B ref 28695); Thu, 05 Oct 2017 13:38:01 +0000 Original-Received: (at 28695) by debbugs.gnu.org; 5 Oct 2017 13:37:08 +0000 Original-Received: from localhost ([127.0.0.1]:49903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e06Kq-0008E5-5t for submit@debbugs.gnu.org; Thu, 05 Oct 2017 09:37:08 -0400 Original-Received: from mail-lf0-f41.google.com ([209.85.215.41]:52336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e06Ko-0008Da-23 for 28695@debbugs.gnu.org; Thu, 05 Oct 2017 09:37:06 -0400 Original-Received: by mail-lf0-f41.google.com with SMTP id b127so16978190lfe.9 for <28695@debbugs.gnu.org>; Thu, 05 Oct 2017 06:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=w5bdYNCJ/hqS+vDKudnYKpmk9RtgGd5BugjxILQ1N5Y=; b=h2EN0Wx+4zJ2ZIJuiIuU+SG0CxNZlXvUbKlEKsrPHAybNqDqHUeb9L8WqIJx4/nM9a XwUtN+15XII7Mkn2q4aHF9PtEY5zuAs++XUZZbqN6w7BLpgCzm+wrZKN/JPu/6DdHrx4 y7fLrDoH+sQiGu2vMaSBUxEwVMDsVVMhh3OMyoCMApI/h9jBt5X05ivKnszAof3g/UBO O5X++zurHQvcmwQWRIVSqNpprnNobBP8jgnbfV4IYoEZilKArnmbq4CsdnMCfjP/hIxA hUtq+DW3Z1H5JplVZX2TVDCuVfXV44m6PRuXZ1+U6o+hJtkNgiE7rBd+xGv7OMCysk9y mUaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=w5bdYNCJ/hqS+vDKudnYKpmk9RtgGd5BugjxILQ1N5Y=; b=FHAyxsc0tlrx4tbQCTIbs5J6fnJ7dYrISMf4Xfu6/DuqP/cyoysQ226iE2NipkDONn hHeP0hFd/fOTGsiFTxMXaQIsXFbvteOd7FMAnijcc6IRmLSbIVdFqiQI8aerykUoMx4H wyEduMz34EUZ+67/OecknjTgTIRaUoD5ZxuRdhavEjtKRXE10SYS6S3Wz0n8MM89/2vs cldp/FH2cNyhWlQ6sGW/W9+QJ/qCLds0YDSqXKR0b1a2REBz28smckXgCdKubB2LPGkU 8c8g3rhV0dlKp5oTwSZ9WDgC/X/OqAbrzVFE7YQotJLKgLAnAed9SUPcZcHCqq/4qS9v HGfQ== X-Gm-Message-State: AMCzsaV+OPxeGD82r3RslNrSyDly6HcVKHg0cOopmXX7gMujWAD3/Rf5 V9fpYITXNPPkyRnNBCR7G0ML3Fub X-Google-Smtp-Source: AOwi7QAP3YxPgGK5w7QULxPyodWPPBy+HGoMcfrrpJhIApj0SvmdPm/XJfiviZQLP5zuzaeoHQaxvQ== X-Received: by 10.25.145.12 with SMTP id t12mr6825437lfd.119.1507210619668; Thu, 05 Oct 2017 06:36:59 -0700 (PDT) Original-Received: from [192.168.0.133] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by smtp.googlemail.com with ESMTPSA id l24sm3971594ljb.41.2017.10.05.06.36.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 06:36:56 -0700 (PDT) In-Reply-To: <874lrfcg4s.fsf@bryan.sh> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137971 Archived-At: On 10/4/17 2:21 PM, Bryan Gilbert wrote: >> Isn't it strange that only some people see these problems, while >> others (the majority?) are very happy with double-buffering? Could it >> be that the problems are triggered by some specific system >> configurations or Emacs build-time features? If so, we could perhaps >> turn it off only for those configurations, because people who are >> happy with this are extremely happy, and will probably be disappointed >> if we just turn it off globally. Eli, perhaps it would be wise to ask the reporter if he'd like it to be turned off by default, if this problem can't be fixed in time. Personally, I can stand a few minor glitches, given that double buffering saves me from flickering, which has been an annoyance for years. > I'm currently using a Dell XPS 15 laptop with a 4K display and running > at a resolution of 3840x2160. Bryan, which revision/year is it? I also have an XPS 15 (with Skylake CPU) with 4K resolution, and at worst, I see the minor stutters you show in the 1080p video (after adding the advice, yes). Ubuntu 17.04 with Unity 7 here. I wasn't able to compare with the revision before double buffering, though: after checking out c29071587c64efb30792bd72248d3c791abd9337^, ./autogen.sh says: Checking whether you have the necessary tools... (Read INSTALL.REPO for more details on building Emacs) Checking for autoconf (need at least version 2.65)... ok Checking for automake (need at least version 1.11)... ok Your system has the required tools. Running 'autoreconf -fi -I m4' ... /usr/bin/m4:aclocal.m4:9: cannot open `m4/count-leading-zeros.m4': No such file or directory /usr/bin/m4:aclocal.m4:12: cannot open `m4/d-type.m4': No such file or directory /usr/bin/m4:aclocal.m4:20: cannot open `m4/explicit_bzero.m4': No such file or directory /usr/bin/m4:aclocal.m4:46: cannot open `m4/localtime-buffer.m4': No such file or directory /usr/bin/m4:aclocal.m4:52: cannot open `m4/minmax.m4': No such file or directory /usr/bin/m4:aclocal.m4:55: cannot open `m4/mode_t.m4': No such file or directory /usr/bin/m4:aclocal.m4:58: cannot open `m4/nstrftime.m4': No such file or directory /usr/bin/m4:aclocal.m4:60: cannot open `m4/open-cloexec.m4': No such file or directory /usr/bin/m4:aclocal.m4:61: cannot open `m4/open.m4': No such file or directory /usr/bin/m4:aclocal.m4:103: cannot open `m4/unlocked-io.m4': No such file or directory autom4te: /usr/bin/m4 failed with exit status: 1 /usr/bin/m4:aclocal.m4:9: cannot open `m4/count-leading-zeros.m4': No such file or directory /usr/bin/m4:aclocal.m4:12: cannot open `m4/d-type.m4': No such file or directory /usr/bin/m4:aclocal.m4:20: cannot open `m4/explicit_bzero.m4': No such file or directory /usr/bin/m4:aclocal.m4:46: cannot open `m4/localtime-buffer.m4': No such file or directory /usr/bin/m4:aclocal.m4:52: cannot open `m4/minmax.m4': No such file or directory /usr/bin/m4:aclocal.m4:55: cannot open `m4/mode_t.m4': No such file or directory /usr/bin/m4:aclocal.m4:58: cannot open `m4/nstrftime.m4': No such file or directory /usr/bin/m4:aclocal.m4:60: cannot open `m4/open-cloexec.m4': No such file or directory /usr/bin/m4:aclocal.m4:61: cannot open `m4/open.m4': No such file or directory /usr/bin/m4:aclocal.m4:103: cannot open `m4/unlocked-io.m4': No such file or directory autom4te: /usr/bin/m4 failed with exit status: 1 autoreconf: /usr/bin/autoconf failed with exit status: 1