From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28695: 26.0.60; Rendering lag spikes caused by double-buffering on Linux Date: Sat, 07 Oct 2017 11:14:33 +0300 Message-ID: <83376vv0gm.fsf@gnu.org> References: <8760bvd2w7.fsf@bryan.sh> <59D4A431.7010801@gmx.at> <831smjz2b2.fsf@gnu.org> <874lrfcg4s.fsf@bryan.sh> <1931afeb-51cb-89c9-72ff-c8a062fecba7@yandex.ru> <0e4817c9-f3f3-875d-2c81-97821c839a29@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507364113 6592 195.159.176.226 (7 Oct 2017 08:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Oct 2017 08:15:13 +0000 (UTC) Cc: npostavs@users.sourceforge.net, 28695@debbugs.gnu.org, bryan@bryan.sh To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 07 10:15:06 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 1e0kGE-0000TS-5M for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2017 10:15:02 +0200 Original-Received: from localhost ([::1]:48844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0kGL-0005vn-Lv for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2017 04:15:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0kGF-0005vc-Vl for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 04:15:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0kGE-0001op-Ob for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 04:15:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0kGE-0001oW-KL for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 04:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0kGE-0007AB-Az for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 04:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Oct 2017 08:15:02 +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.150736409227502 (code B ref 28695); Sat, 07 Oct 2017 08:15:02 +0000 Original-Received: (at 28695) by debbugs.gnu.org; 7 Oct 2017 08:14:52 +0000 Original-Received: from localhost ([127.0.0.1]:53732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0kG4-00079W-Iq for submit@debbugs.gnu.org; Sat, 07 Oct 2017 04:14:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0kG2-00079H-Ea for 28695@debbugs.gnu.org; Sat, 07 Oct 2017 04:14:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0kFs-0001Wo-V8 for 28695@debbugs.gnu.org; Sat, 07 Oct 2017 04:14:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0kFs-0001We-S3; Sat, 07 Oct 2017 04:14:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2259 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0kFs-0007aD-C2; Sat, 07 Oct 2017 04:14:40 -0400 In-reply-to: <0e4817c9-f3f3-875d-2c81-97821c839a29@yandex.ru> (message from Dmitry Gutov on Sat, 7 Oct 2017 10:53:38 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:138031 Archived-At: > Cc: Bryan Gilbert , Eli Zaretskii , > 28695@debbugs.gnu.org > From: Dmitry Gutov > Date: Sat, 7 Oct 2017 10:53:38 +0300 > > On 10/5/17 5:02 PM, Noam Postavsky wrote: > > > Try 'rm aclocal.m4' (this is mentioned in INSTALL.REPO as of last May) > > Thanks. Now I can confirm that when using the revision before > double-buffering was added, glxgears indeed do not stutter at all > (unlike the current emacs-26). Can some of you use a tool like perf to see whether the time taken by XdbeSwapBuffers (called from xterm.c:show_back_buffer) indeed grows significantly when going from the 2K class of resolutions to the 4K class? And if it isn't XdbeSwapBuffers, then what takes most of the time which causes that "stutter"? More generally, for some display operation to be perceptible as "stutter", IME we should see that operation taking times around 50 to 100 msec. Can we establish what part of frame/window update takes the lion's share of that time when XDBE is used? With that information in hand, we may find some way forward with this issue. Thanks.