From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Monitor refresh synchronization Date: Sun, 31 Jul 2022 12:06:28 +0800 Message-ID: <87h72yhqnv.fsf@yahoo.com> References: <87k07wnty7.fsf.ref@yahoo.com> <87k07wnty7.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21863"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 31 06:07:51 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oI0F5-0005ZX-JU for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 06:07:51 +0200 Original-Received: from localhost ([::1]:60574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI0F4-0003Cw-Ic for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 00:07:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI0E2-0001oV-8f for emacs-devel@gnu.org; Sun, 31 Jul 2022 00:06:46 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:42521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI0Dz-0007Zw-PQ for emacs-devel@gnu.org; Sun, 31 Jul 2022 00:06:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659240399; bh=T35f5/zWj7XpsmmXU5C1JwKslP7HEgvFqWdQBQUbqrU=; h=From:To:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XzGnCAAQS82dNz8Pk/Xdia1aW62Z32KKDvdJFbKxhwEtqN+uWz1G3ViqiIHjs+VdgsOeChWNa0Sh/5mXTnTztB31e/DaVk0KyWGenbKXdzFJdwIoDLdXSfaRCEPYV5kchlR0nihmpMJZVyU2E12ZafxtGipgpFWP4C4T27eqUdA/OWAxlmjB6L2L+L+QUYU/TVNaCxnQHS9QN1LsLml9MA9Gt2k8mk6CjcpoI9M97N/LQbXAoDjIO3m9SfhmfqTTkGl8v//ut/xuZQKddQJelo4iUUqm4Bwm3rU5LDftdj9wH0SyYyvP7IiNwjGWNl8YAboIva5FdtGktY6wTDR7XQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659240399; bh=83dPc7KvCP2VyriJFjQf6H8IryneTQZmQFggAd4GVJg=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GFff7LyKM27gtVgmhpLi49i6uwIZAM6GCtPBPXSnulVateoeFoKcCDXvM4XJfPVUYq9fb7It41yJZ1WrhB4Xtiv8mOeCUzhKOFRreVRqKuPD+u+FDTx7KBNY67gaIaSjzOSuRey2JGCwDIhlreEVQf/IACIVTI6Oj/d6amjLAuCRJib+3CBpr5ESnbnLtWensuTcC9N7KNf4Lz5jOSCqv3S/0pxOn07TOibSUt7i8/8A2GwLGSuxsIzB9cGLUprKR2qElWm/QBdoj6hR4iplyiWJ/3GrpArFpHyCFkG9Gi4PEcu+C1DehA5eMwq+tYSy35Aut2Km+H01tAqNJNPyCA== X-YMail-OSG: vP9UJHUVM1lAkEYhnXxk5WuUU0hySLMfgacZ_ckuWE5z.agbc..gN7SFW3hLhPU bDf1ey5ryjp77YVPDZ.XILfScSNlsHxT7I.8EUOycUIu0p9qSaU9nhqr9UBCCw8QQaRUY_j3yxmg W3.KimAgPe4SzXNdayIoA4zhrS5wTzkHwLnqZEPJEalBw7DTu4mDa.92OVb2zXJprXIt.p5Y0vwd 6VaVIJJTOr2ki5ffDDSBjmAkbwS7HzVZs_y1z2ek0CrYnY7oabLswuthbqWUZ3sii52w0LgeVmZ9 N1i_A9GxSQDLOqm3W2dFMLQvi7q3p2yty27eiEumVO_fLH9iK5Y.6Nl7KrXuhgp5HlOyGT_b6bMm .DLUANeaC69mp_RGRXk280KiIf1LdTNXB3.oH2Dw6Me9m0lOq8kAF5zguCooR1cqYksPyDhl2BWz FyE.t7fMjIGdSkz.iVYll59HbL1xvPXnbNK3Whg1up3kiXNbQ0awx5v0IP7s9dID.YZYcRVzyq.L mkgdknWzKLnpTl.MSrU1x0aJVLU3e3Zfap6W1FdTf1Sab7jD6Rd0eVQm7ifwtFCCoP.8T2B4aq6Q 6UjbKHBhWecTwQDZLYQeehlUM6Jaq7XRYkWzbu2kJpejQalB2z2OkmSDmp7IQyB_Z1BluC9AB6wv 4eJAl9VBuW_g50CscZojva_sxjKocWwIa7PINNrp63bqHTQg._bxvmy6mW7Wb2KBP3Ri83X8RWOP BNh.WsIus2WjICj1M0DOWdh6lxFNnLe1CVqfe9PoPi8EV2HHErprvbRzDeer5Il3ZBsSXhr7nwgA gy0wE9FLmK20qBeDB3NWkRi._cG_6Mwoih92pV0N3q X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 31 Jul 2022 04:06:39 +0000 Original-Received: by hermes--canary-production-sg3-854c886654-t42lr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 431a934e1fcb174b662af64457947ead; Sun, 31 Jul 2022 04:06:36 +0000 (UTC) In-Reply-To: <87k07wnty7.fsf@yahoo.com> (Po Lu's message of "Fri, 29 Jul 2022 17:34:24 +0800") X-Mailer: WebService/1.1.20447 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.33; envelope-from=luangruo@yahoo.com; helo=sonic308-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292891 Archived-At: Po Lu writes: > I just pushed a complete implementation of extended frame > synchronization on X to master. This provides synchronization with the > compositing manager, which should then synchronize frame updates with > the monitor refresh, thus eliminating the annoying tearing seen while > playing animated GIFs. > > It is only available on the no-toolkit and Xt builds (Motif and Lucid), > and requires a compositing manager supporting the frame synchronization > protocol, such as GNOME Shell or KWin. To enable it, place: > > Emacs.synchronizeResize: extended > > in your X defaults file. It is recommended that double buffering also > be disabled on the Motif or Lucid builds. > > Please give it a try, report any problems you see, and let me know if it > leads to a noticable improvement to graphics tearing and jitter. > > Thanks in advance. After some serious rework, this should work fine with non-toolkit scroll bars as well. Please build without toolkit scroll bars and let me know of any problems that come up. Thanks.