From unknown Mon Jun 23 02:22:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59265 <59265@debbugs.gnu.org> To: bug#59265 <59265@debbugs.gnu.org> Subject: Status: 27.1; emacs apparently redraws the entire X window for every update Reply-To: bug#59265 <59265@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:22:09 +0000 retitle 59265 27.1; emacs apparently redraws the entire X window for every = update reassign 59265 emacs submitter 59265 Francesco Potort=C3=AC severity 59265 normal tag 59265 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 14 18:15:07 2022 Received: (at submit) by debbugs.gnu.org; 14 Nov 2022 23:15:07 +0000 Received: from localhost ([127.0.0.1]:51390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouifS-00008A-9w for submit@debbugs.gnu.org; Mon, 14 Nov 2022 18:15:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:54120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouif1-0008Sx-NS for submit@debbugs.gnu.org; Mon, 14 Nov 2022 18:14:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouieq-0003HL-II for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 18:14:33 -0500 Received: from relay3.ehiweb.it ([79.98.45.20] helo=plesklin7.if1.ehiweb.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oucUX-0005PI-Sb for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2022 11:39:28 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id 74858FF572 for ; Mon, 14 Nov 2022 17:39:20 +0100 (CET) Message-Id: <87iljhlccn.fsf@tucano.isti.cnr.it> From: =?utf-8?Q?Francesco_Potort=C3=AC?= Date: Mon, 14 Nov 2022 17:39:20 +0100 To: bug-gnu-emacs@gnu.org Subject: 27.1; emacs apparently redraws the entire X window for every update Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20221114163920.13664.85957@plesklin7.if1.ehiweb.it> X-PPP-Vhost: potorti.it Received-SPF: softfail client-ip=79.98.45.20; envelope-from=pot@gnu.org; helo=plesklin7.if1.ehiweb.it X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This bug report is vague, because I don't know the details yet, but I should be able to produce them later. When using a remote window using Xpra (which is more or less equivalent to Screen for X, see xpra.org) the amount of information sent by Emacs is huge, apparently redrawing the entire window at every keystroke. I discovered this while reporting an Xpra bug and Xpra's author commented on this, see https://github.com/Xpra-org/xpra/issues/3660 While I work with him to solving the bug, I will try to get more info on the matter, assuming this is not a known issue. If the problem is real, that makes Emacs resource hungry when run on remote X servers. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2021-11-27, modified by Debian built on x86-csail-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Recent messages: Contacting host: www.overleaf.com:443 Added to /home/pot/Mail/lavoro/pubblicazioni/evaal21-22 git clone https://git.overleaf.com/6345492996536c2efb63ba9c: finished. RelSymLink: 1 of 1 RelSymLink: 1 file done Auto-saving...done Auto-saving...done Saving file /home/pot/.url/cookies... Wrote /home/pot/.url/cookies Auto-saving...done Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-fQHadv/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: LaTeX Minor modes in effect: filladapt-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t visual-fill-column-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t visual-line-mode: t Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.3/cmake-mode hides /usr/share/emacs/site-lisp/elpa-src/cmake-mode-3.24.3/cmake-mode /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.3/cmake-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/cmake-mode-3.24.3/cmake-mode-pkg /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.3/cmake-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/cmake-mode-3.24.3/cmake-mode-autoloads /usr/share/emacs/site-lisp/elpa/csv-mode-1.21/csv-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.21/csv-mode-pkg /usr/share/emacs/site-lisp/elpa/csv-mode-1.21/csv-mode hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.21/csv-mode /usr/share/emacs/site-lisp/elpa/csv-mode-1.21/csv-mode-tests hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.21/csv-mode-tests /usr/share/emacs/site-lisp/elpa/csv-mode-1.21/csv-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.21/csv-mode-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el /usr/share/emacs/site-lisp/elpa/debian-el-37/gnus-BTS hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/gnus-BTS /usr/share/emacs/site-lisp/elpa/debian-el-37/preseed hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/preseed /usr/share/emacs/site-lisp/elpa/debian-el-37/deb-view hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/deb-view /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-utils hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-utils /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-bug hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-bug /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-sources hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-sources /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary /usr/share/emacs/site-lisp/elpa/dictionary-1.10/link hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/link /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-pkg hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-pkg /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/connection hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/connection /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-context hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-context /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-gui hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-gui /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.5/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.5/markdown-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.5/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.5/markdown-mode /usr/share/emacs/site-lisp/elpa/markdown-mode-2.5/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.5/markdown-mode-pkg /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-mode-autoloads /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-mode-pkg /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-local-manual hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-local-manual /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-mode-debug hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-mode-debug /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-align hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-align /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-face hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-face /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-project hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-project /usr/share/emacs/site-lisp/elpa/php-mode-1.24.1/php-mode hides /usr/share/emacs/site-lisp/elpa-src/php-mode-1.24.1/php-mode ~/elisp/bibtex hides /usr/share/emacs/27.1/lisp/textmodes/bibtex ~/elisp/octave hides /usr/share/emacs/27.1/lisp/progmodes/octave /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/27.1/lisp/net/sasl Features: (shadow emacsbug latexenc rmailsort sort cal-move cal-x face-remap mail-extr reporter debian-bug eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree rect ispell iso-transl dabbrev rfc2368 smtpmail pp timezone rmailkwd doc-view image-mode exif reveal tramp-cmds rfc2104 tramp-cache shr-color wdired rmailout macros kmacro rmailedit mailalias warnings gnutls network-stream url-http url-gw nsm url-cache url-auth time-stamp tabify misearch multi-isearch cl-extra server qp rmailmm message rmc rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 vc-dir ewoc vc vc-git diff-mode sh-script executable conf-mode mhtml-mode css-mode eww mm-url gnus nnheader gnus-util wid-edit url-queue url url-proxy url-privacy url-expand url-methods url-history mailcap shr text-property-search url-cookie url-domsuf url-util puny svg xml js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode dom bibtex make-mode vc-svn tex-mode compile vc-dispatcher python tramp-sh generic markdown-mode rx color noutline outline vc-filewise vc-rcs octave skeleton texinfo smie cal-julian solar cal-dst desktop frameset pot rmailsum rmail rmail-loaddefs ffap thingatpt ange-ftp pcase sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr epa-mail mail-utils epa derived epg epg-config view mule-util holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ring parse-time iso8601 time-date ls-lisp format-spec bhl visual-fill-column dired-aux openwith easy-mmode switch-to-shell hi-lock anything-config anything advice woman man cl locate xt-mouse scroll-in-place filladapt ansi-color time jka-compr quail help-mode dired-x dired dired-loaddefs generic-x shell-apt disp-table finder-inf w3m-load info debian-el package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1330094 282818) (symbols 48 50380 21) (strings 32 254958 16106) (string-bytes 1 19808063) (vectors 16 59721) (vector-slots 8 2079309 228712) (floats 8 1042 3807) (intervals 56 282893 975) (buffers 1000 193)) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 14 19:47:11 2022 Received: (at 59265) by debbugs.gnu.org; 15 Nov 2022 00:47:11 +0000 Received: from localhost ([127.0.0.1]:52175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouk6Y-0002ua-Q2 for submit@debbugs.gnu.org; Mon, 14 Nov 2022 19:47:11 -0500 Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148]:37030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouk6W-0002u6-AM for 59265@debbugs.gnu.org; Mon, 14 Nov 2022 19:47:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668473222; bh=Q2yGSOACOlFUAT6vNjwbKWju3eSg3UV/E9FBodVJidg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=mHi9z2G7G9pEqMc0c/Nc19KiZRjO05tLFey43se6MRZtI4TTOcnd/AUIkl1Y67iSf5zYE+903UckHxEDQ4DkLZoR8EfRPe/u3GQVOw47PSSwt3P/TaWeWpTbj0epEWJb6+y8WFeDSgp0bcrBEnzmswuJ/FFfqI/4VIdmxBKhkTRDXXPYJsqmBxPlOtU8X0yfuUrv0ZiRPr3zgJIlIk+y0MzCcxJrkHqaH65N7kREc2rpMn2HR4wul3hL0mc7EfSs1z7XZ5g5proDawtE2abhV5mzY5QuoRROmf87LooaBX9xcGLmFFwdvOk7JsWv44MC7Pd8pREWKXap+6PymBR3nA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668473222; bh=nIhgZH/5aoxS610eV1AUdIHOe/UF3JvpXhZLNZA5R59=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=P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iwVB etTStxU.J.Xe3nsneLoown3Kurt3FtKGunBH_F59qkIxu2irnv43rPntMbAcqPPukFX2n2MJgx_n Zn3sE0wLx8i7U1ivtDLsPWA3vOTW995Ai7Z2Q1fFFgaeOf5w4TBMs3QfwcX_oQNaSYA1J4QrXBS. yQB4CgY3viWkYuvkBp4OLAg8mT9179VAyhWPYSg.dnqn7XMnyS5D_2bId5mcny_sNtLbgwjl_7kx wF_bD8OC9ikAGpd9WwEmnlHJi7iHTaDTnwsBcjrGCCFI0K5tpOnafJeEC6PCTq7VHEo944Vy2q3Z iIdbX1MKoABl27Aj_638ZjLvFq0CHGpca7sxZL5hdZrWuNS0prgJ8WKf4qaSCVvD2sl_1sec9Ul4 boq9AqkWJgrz4OWyxWkNJkUvTrQtGF.YBcUBxbzsMZxs_Wgxy0ksVDq1xR4GDW21S9WD_EvWZvuV L4CBbAhS0GGYp1YnFP407OjYXE_9gGePEaA2MgIP_r22AuUrKVpvZH7AXnMhc5mKnhK_z X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 15 Nov 2022 00:47:02 +0000 Received: by hermes--production-sg3-6c8895b545-66t5n (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d05cd98e3c3f8ee6689170cdf1187da5; Tue, 15 Nov 2022 00:46:58 +0000 (UTC) From: Po Lu To: Francesco =?utf-8?Q?Potort=C3=AC?= Subject: Re: bug#59265: 27.1; emacs apparently redraws the entire X window for every update In-Reply-To: <87iljhlccn.fsf@tucano.isti.cnr.it> ("Francesco =?utf-8?Q?Pot?= =?utf-8?Q?ort=C3=AC=22's?= message of "Mon, 14 Nov 2022 17:39:20 +0100") References: <87iljhlccn.fsf@tucano.isti.cnr.it> Date: Tue, 15 Nov 2022 08:46:53 +0800 Message-ID: <87wn7xgi2q.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1699 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59265 Cc: 59265@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Francesco Potort=C3=AC writes: > This bug report is vague, because I don't know the details yet, but I > should be able to produce them later. > > When using a remote window using Xpra (which is more or less > equivalent to Screen for X, see xpra.org) the amount of information > sent by Emacs is huge, apparently redrawing the entire window at every > keystroke. > > I discovered this while reporting an Xpra bug and Xpra's author > commented on this, see https://github.com/Xpra-org/xpra/issues/3660 > > While I work with him to solving the bug, I will try to get more info > on the matter, assuming this is not a known issue. If the problem is > real, that makes Emacs resource hungry when run on remote X servers. Emacs generally does not redraw the entire X window upon an update. Judging by the debug info provided in the Xpra bug report, it is relying on the Damage extension to report window damage. The Damage extension always reports damage to the entire window upon a DBE buffer swap, which is almost inconsequential when connected to an actual remote X server (I do that every day), but not when a program like Xpra tries to ferry pixmap contents over the wire. Relying on Composite and Damage to send application contents over the wire is fundamentally the wrong approach. I suspect Xpra has to be written as an X server driver (as its name applies), and that after doing so, its DBE implementation has to be fixed to only call the CopyArea GC op on areas of the back buffer that really changed. So this isn't really a bug in Emacs, sorry. You can work around the problem by turning off double buffering, but that means you will also need to put up with flicker. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 15 08:30:56 2022 Received: (at 59265) by debbugs.gnu.org; 15 Nov 2022 13:30:56 +0000 Received: from localhost ([127.0.0.1]:53436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouw1f-0002U7-Vf for submit@debbugs.gnu.org; Tue, 15 Nov 2022 08:30:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouw1b-0002Tq-Gy for 59265@debbugs.gnu.org; Tue, 15 Nov 2022 08:30:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouw1V-0003i7-5F; Tue, 15 Nov 2022 08:30:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=F+9KKmkpb/FUhbyav7W/ZtxW+ngksCJth+HFUA/20s8=; b=haj7IHXbBVA6RqAkAC++ pP/NIfUZae4Qe3Jfq+rqTaIczz21Y9ug0YZB90DBWEhsK0scZUU4sawUFjT3rwFnsoYsdg5F9ngLj axVI9X2xkHM8ZchijZRbF6XwZ7nJLdlEEhhWYb8X0/6aPqWGKzFSl9FFHlgKm5irDzzpieLvbipzp tJFZ/UAwIomsvHGEs0LXNxGwq6l3yseC6g6ryZk2pkznbiFWdDC/v2Ldt9X9e64r8W9l1q6XxwMp7 PElpfJSwJwfobegVxqGVvN46UfiZjZtE6vnxJo8NRT/0SGeei38JP8WRdJUoIUTef7qyG34eQQdf3 wtOlJl5UOJI5Rw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouw1U-0001Iq-Hc; Tue, 15 Nov 2022 08:30:44 -0500 Date: Tue, 15 Nov 2022 15:30:57 +0200 Message-Id: <83leocibu6.fsf@gnu.org> From: Eli Zaretskii To: Francesco =?utf-8?Q?Potort=C3=AC?= In-Reply-To: <87iljhlccn.fsf@tucano.isti.cnr.it> (message from Francesco =?utf-8?Q?Potort=C3=AC?= on Mon, 14 Nov 2022 17:39:20 +0100) Subject: Re: bug#59265: 27.1; emacs apparently redraws the entire X window for every update References: <87iljhlccn.fsf@tucano.isti.cnr.it> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59265 Cc: 59265@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Francesco Potortì > Date: Mon, 14 Nov 2022 17:39:20 +0100 > > This bug report is vague, because I don't know the details yet, but I should be able to produce them later. > > When using a remote window using Xpra (which is more or less equivalent to Screen for X, see xpra.org) the amount of information sent by Emacs is huge, apparently redrawing the entire window at every keystroke. Emacs redraws only the minimum that is required to update its windows on the glass. It actually compares the current window contents with the desired contents, and redraws only where they differ. This should result in very small updates, and the only situation for which I can imagine Emacs updating the entire frame is when the whole frame is different, or it was obscured by another window, or something similar. If all you do is type one character, basically only that character's line will be redrawn, in some case even less. As an extreme example, if the line's contents was xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx and you type "y" in the middle, you should see one "x" redrawn as "y", and one "x" drawn at the end of the line, and that's all. Of course, there could also be updates of other parts of the Emacs display, such as the mode line. For example, if you have column-number-mode enabled, typing a character will also update the mode line. But again, it should only redraw a small part of the mode line near the column number. Likewise, if what you type affects the tyool bar or the menu bar, these will be redrawn. One thing I can suggest to try is disable double-buffering. I have no idea what it can do with Xpra (since I don't really know how does Xpra do its job, whatever that is). From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 15 08:57:48 2022 Received: (at 59265) by debbugs.gnu.org; 15 Nov 2022 13:57:48 +0000 Received: from localhost ([127.0.0.1]:53538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouwRg-0003Ep-1e for submit@debbugs.gnu.org; Tue, 15 Nov 2022 08:57:48 -0500 Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:39832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouwRa-0003EX-3q for 59265@debbugs.gnu.org; Tue, 15 Nov 2022 08:57:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668520655; bh=UQPd5cBHf8TKR2QBREAtldCgjmOiONTz1ZyO+227Iec=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=brIdgfPBvU+DXvgB6We1pvrzuPK02D9F6AWxYjvWgQadpohAUeFn91nWKRwmgnqzWYW5FNuQGxHJcwgb2ZsjgDmcgyrvnIUrvctrlHtTNS38M+BEyddsAyROfHziQjeM7Cll5IWEe6zHV+pDfzIPHWtVCq/YUpnApeT3KvrOMyfIT6I3HASkhhYzJwMI3LdYzTd5HWCQpF4ESOmBNMCzJfCDbdSnwTHFuit19JRf2+Sfl/sRJ3Xl6400doMlhw1vEjzn51/HEaZ36YY8X6IjsbYXIMe9g7cwQ2UFkRMWNm2pVjYuelFLar0VrhlyV++uaWciV9QbHcgjW0GpK0hpIQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668520655; bh=9l7IEDA9bH7ML/F9Q+36iVG1IXlZBw3ovt4IAmRGfyr=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=VUaZLXolkiMHitMpYzvRi6jhv5wsdvyhAwQjoYbw78KV56k1MjSyKlpqWTAObsdtDVeyfDVOWKBaJOsA7N+cAJfTRYwBE0wJT+GioEn19xqWU/1gaCxQ6hcP9vitgw15cWeKp3ECxmauGPiAaj6kIPrBuUzoUBz6+juMAeSN86zkExW7cPrTmXJVrLyNAAG3q5f33u/w7BwV779NCFkuHZdSz6ou3ZmlCDCRssZjv8u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mNUC2f UtLd0Ah1DKg5P_A4gSc2_83IVdwjg9x4fIZHGVm6mmsx7MXrfdCN6y_PS0khBYC6DfDkAQyd1dQl P0zCJ0RFCjNyEasvED5Pj0b.5IsHBU7rnK9oicgJKRe5TqOf6ouKFL51fUc6.vz4Q6BBrnzOF.rV U0o0XS5fwjezuezfxYJJAOa6rgXrA6Ok.6vKBED9mt5c5HiEraJh5UmshRrYcXcVohSYO.VIhzR7 n.7VDJIiSn_9bLYmzVIE45ULZLsG1SLllkAE6cu76Ls1OnpZbjFuaN76_0yLIM6yVKKJB X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 15 Nov 2022 13:57:35 +0000 Received: by hermes--production-sg3-6c8895b545-phbzr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5e88d37bfe2b7ef8fb23adf907485fdc; Tue, 15 Nov 2022 13:57:29 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#59265: 27.1; emacs apparently redraws the entire X window for every update In-Reply-To: <83leocibu6.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Nov 2022 15:30:57 +0200") References: <87iljhlccn.fsf@tucano.isti.cnr.it> <83leocibu6.fsf@gnu.org> Date: Tue, 15 Nov 2022 21:57:23 +0800 Message-ID: <87leocfhh8.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1184 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59265 Cc: 59265@debbugs.gnu.org, Francesco =?utf-8?Q?Potort=C3=AC?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > One thing I can suggest to try is disable double-buffering. I have no > idea what it can do with Xpra (since I don't really know how does Xpra > do its job, whatever that is). Yes, I explained what the problem is (and it isn't in Emacs) earlier: Judging by the debug info provided in the Xpra bug report, it is relying on the Damage extension to report window damage. The Damage extension always reports damage to the entire window upon a DBE buffer swap, which is almost inconsequential when connected to an actual remote X server (I do that every day), but not when a program like Xpra tries to ferry pixmap contents over the wire. Relying on Composite and Damage to send application contents over the wire is fundamentally the wrong approach. I suspect Xpra has to be written as an X server driver (as its name applies), and that after doing so, its DBE implementation has to be fixed to only call the CopyArea GC op on areas of the back buffer that really changed. So this isn't really a bug in Emacs, sorry. You can work around the problem by turning off double buffering, but that means you will also need to put up with flicker. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 15 09:04:13 2022 Received: (at 59265) by debbugs.gnu.org; 15 Nov 2022 14:04:13 +0000 Received: from localhost ([127.0.0.1]:53547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouwXs-0003Q2-VA for submit@debbugs.gnu.org; Tue, 15 Nov 2022 09:04:13 -0500 Received: from relay3.ehiweb.it ([79.98.45.20]:45826 helo=plesklin7.if1.ehiweb.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouwXr-0003Pt-7R for 59265@debbugs.gnu.org; Tue, 15 Nov 2022 09:04:11 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id 21FA910086F; Tue, 15 Nov 2022 15:04:09 +0100 (CET) Message-Id: <87h6z0l3fr.fsf@tucano.isti.cnr.it> From: =?utf-8?Q?Francesco_Potort=C3=AC?= Date: Tue, 15 Nov 2022 15:04:08 +0100 To: Po Lu In-Reply-To: <87leocfhh8.fsf@yahoo.com> (luangruo@yahoo.com) Subject: Re: bug#59265: 27.1; emacs apparently redraws the entire X window for every update References: <87iljhlccn.fsf@tucano.isti.cnr.it> <83leocibu6.fsf@gnu.org> <87leocfhh8.fsf@yahoo.com> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20221115140409.30640.14983@plesklin7.if1.ehiweb.it> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 59265 Cc: 59265@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Po, Eli, thanks you for the explanation. Hope I will manage to channel these to Xpra's developers. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 24 13:38:03 2022 Received: (at 59265) by debbugs.gnu.org; 24 Nov 2022 18:38:03 +0000 Received: from localhost ([127.0.0.1]:60119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyH6o-00012e-L8 for submit@debbugs.gnu.org; Thu, 24 Nov 2022 13:38:02 -0500 Received: from mail-ot1-f46.google.com ([209.85.210.46]:41693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyH6i-00011W-Kq for 59265@debbugs.gnu.org; Thu, 24 Nov 2022 13:37:57 -0500 Received: by mail-ot1-f46.google.com with SMTP id p27-20020a056830319b00b0066d7a348e20so1373450ots.8 for <59265@debbugs.gnu.org>; Thu, 24 Nov 2022 10:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=cbxZOg/16fZydLz09BDScD4n3UQ1GFFDA4xCEDBeKAA=; b=nfLYW/1TCHzhXmOn39AT6jQSWcFmXW9Dd0kd9SHQGwsbG21SzzQlcWWlzOW7z4Uno3 O+oT/UZyE3GF4VtcxZJuj2bGWsAjcaHdq85lOpY8Kpk3PGMFzVGlJauLx5oxsw23UlE+ 0WV0O4O7xvWzvfUhQE1ntHJNlbtYKXfpvMpSQiTufrv2R0FgOy/FlcuhZWPmuUTAs2XF RR7k65ABQSubwfW1cx17ZdKHj32WxpnqjkFHprraX/JajtAXz3aQcZlygqlOHDQeGOmE KX9u/jwQDeiGrsf1Fnf7vguzBTHiTvhg9UleSyPhHEBkEbhOZVKBvIX63Vl9zWytaFt4 Ne2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cbxZOg/16fZydLz09BDScD4n3UQ1GFFDA4xCEDBeKAA=; b=aSyHabR7Doj1uiVhMj2YDSB6y5CHgoMsBRIjdMCwJTViHGpDI7zpT8zGKwoPtmkW9C X9vSQLY3tMOI+W4QySvU69F1mqTjBuoPEpFnAL3WOGrKWcREoLcyQObDDTB3rztrS0AY PBmpf+q/oe7cys/m4s1P/5buspAHN5uLE2g7gX8b/srIsfR67qBvtMG48VXG79r2QFMA Qom4nk8tkLgJVUox1mTek3SpPhTw9y+X6YfKyDHUb58zbXCLDcD5rzlrNqGsFKDyWVVi Ch+2LsEG5N2DDJnF8UjB16IZqmdYP3dZR4RL/Sk3Aao4Jt9HpLSan+GNBPMnrEZ13BLL OV6w== X-Gm-Message-State: ANoB5pk9cbp0SgnjIDe60rQOB+Jum9TQumvQmiuRqbThE3+0FcQa/uft L6nfM/ruwjz6K+74yp617ZWhXU5HdV/XJVZ61OE= X-Google-Smtp-Source: AA0mqf7Ym1vUn/IkDNeRr3XK6u7k90dbierNFtRoIBKgCSmvdlgSTRcYjJjQTKFkRc+KPradPfKjTNBcUJq7MLEfEDw= X-Received: by 2002:a9d:5c81:0:b0:661:c48b:12db with SMTP id a1-20020a9d5c81000000b00661c48b12dbmr8578097oti.105.1669315071121; Thu, 24 Nov 2022 10:37:51 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 24 Nov 2022 10:37:50 -0800 From: Stefan Kangas In-Reply-To: <87leocfhh8.fsf@yahoo.com> (Po Lu's message of "Tue, 15 Nov 2022 21:57:23 +0800") References: <87iljhlccn.fsf@tucano.isti.cnr.it> <83leocibu6.fsf@gnu.org> <87leocfhh8.fsf@yahoo.com> X-Hashcash: 1:20:221124:pot@gnu.org::U4knfSIcKsukoMXD:9bvQ MIME-Version: 1.0 Date: Thu, 24 Nov 2022 10:37:50 -0800 Message-ID: Subject: Re: bug#59265: 27.1; emacs apparently redraws the entire X window for every update To: Po Lu Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59265 Cc: 59265@debbugs.gnu.org, Eli Zaretskii , =?UTF-8?Q?Francesco_Potort?= =?UTF-8?Q?=C3=AC?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 59265 + notabug close 59265 thanks Po Lu writes: > So this isn't really a bug in Emacs, sorry. You can work around the > problem by turning off double buffering, but that means you will also > need to put up with flicker. I'm therefore closing this bug report. From unknown Mon Jun 23 02:22:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Dec 2022 12:24:19 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator