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: Monitor refresh synchronization Date: Fri, 29 Jul 2022 17:34:24 +0800 Message-ID: <87k07wnty7.fsf@yahoo.com> References: <87k07wnty7.fsf.ref@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="12212"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 29 11:39:12 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 1oHMSd-00031f-Lm for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jul 2022 11:39:11 +0200 Original-Received: from localhost ([::1]:49100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHMSc-0007Tg-LT for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jul 2022 05:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHMOE-0004mX-OA for emacs-devel@gnu.org; Fri, 29 Jul 2022 05:34:54 -0400 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:34808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHMOC-0001R4-8K for emacs-devel@gnu.org; Fri, 29 Jul 2022 05:34:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659087274; bh=oKBYWTA5TChLCJeUgIkyIy8HPyGDdmFMBFfDhDl3LEU=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=rFH7BQulRF5Zd+KYudF5GNgghCzoFzp279HKTo/jePxWVQBB8yUI1VWuHAfpkJfbdPjGZeaz+bByvPlu6kdPiOAgUe/rSC+eMSiKpdf6DyWGWMGczKbJAmMjjWFwAK95v45OfpcWJuQScgDgzVTxGUMnCk/wLLlExr3pJLMg25fpzlsjhZasoajx2CySCYE2U/kZsrFx+SdikhSJTo+vwKItN3T9t+7A60BDeIFcAvOpng0rMDBMFVKSYAvc5jI9H9xGvDVyuBaxtBgdx0dmSsObD1TGmfNs7x3TI5Fmgzyor90zvQu6wvBTqhKnlK4cuTQ+xa0GesW3IC/KI8Wf1g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659087274; bh=IOKyiWc9te//jvi+yfvUD+R2Yro0vQrC6jESlLSt8Xj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OMajheVdGKnXKo6GODqpRRb//vCPMaqRfk7xardwnGQQK6Dcz12OmlaqIoujDaChHZklGBxxPbXLWEZ53HAPpS8tm2+k6cdqmyioroVdWQHwUSP3rwBf4RRW1gFjOrymTLHSaJElM/oj/9hPrhrPSsA2c26qlLBPgfdDUObGs2CMrzovfByFFwGkStFoPnXfai50/WnZZol1MHkro3xYstiCscHt8bqJUFN57De2rD54atvbCR78YT7qmPZTJz0qv53nRPWlBFyJUD20q2ThdpX6I77t6dtJ1M5xFbhzLNIDn5OnHYka7xE1/271JVv2JOsuS1ZyEF6J24NMYwem6Q== X-YMail-OSG: 8ZebyjQVM1kAMxFdJB3u0ctXk6.yQbRTSWdWFoRAxMgtuWWGl.vpfJgZXNBTaoY 0gmCUYhY9h43RktorYLtBlVykWjJ4w0SBL_oDhFH1h_rwWrMEHzpQRH9H7CGUaxCn9opIERNzzGw FAo5Kgsxwn2sFprLckJm31oEuDYzXjl7cw9bIQIBvrZkxZ76LvTzfL8M3iono6IyTbggsAxGveRe GrIA711PuNMIO8p.BhiiKQu.hu0c2Pse9LtIP9Oam9Ly55XslIcCp7gsAOHySOCUe7G3vZdm59.e vV2H4zVhia8Z17TR74PDTJ_0vuU6jXYPoo3H64_P_DGT27ReeUIatqMT1rY._uhIpRbD0xISe7BX pA0WyXTzzq3x9dpb0gj0iNC_PLWW8boaddZuEGxYYjTCxvxRjL4wBMJqJkBkaf9tGKJbWk3_.6_s easWKTx0kmLbzbU.y1XfPF_NzPjf3ovnnvrblxHCL_bhNECyRCOno567_yqbpjmTntV9TmkwvUwE rBv76b8uLZh8aaDeEOBdBrUhpEtrXmR5PULX5mMm.ujfCsK93WOPPmmQ_f3io7BqIhvMXw8Iq5QJ bR_1BjE_05Fwvy5PKAlb3oDVWD0pOm5idL71pJrk.0vEUiX1RCrUP2C8Q4.JLe0G7JEWIaB_LPxs kWOpcz8TfnkMK9dI3s.1faB5yXDN7yVAgdGZxZhTpV7Z5o2JHvxgLX5XFwmyzcib9rfot.qEjIur 7DB_nDDdbmmIFNyNIc4km3S5TJ2x1fM4mX.gJ_Ka_DZZSAdnk4O3aI5.cY1kiaGe3zFGgpIQusLy k3RNT3F80kHx14teAFZiS6EvzukSGgAygWNwkZjI_s X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 29 Jul 2022 09:34:34 +0000 Original-Received: by hermes--canary-production-sg3-854c886654-tp6d2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c117148797375e26ce6d8c1ceeab90b5; Fri, 29 Jul 2022 09:34:31 +0000 (UTC) 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.191.204; envelope-from=luangruo@yahoo.com; helo=sonic312-23.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, 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:292820 Archived-At: 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.