From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Greg Klanderman Newsgroups: gmane.emacs.devel Subject: Re: slow X11 frame creation and refresh after occlusion Date: Sat, 30 Jan 2021 14:32:28 -0500 Message-ID: <87o8h6dxv7.fsf@lwm.klanderman.net> References: <24567.20346.37031.450073@lwm.klanderman.net> <87eeivwae3.fsf@ericabrahamsen.net> <874kjejezr.fsf@lwm.klanderman.net> <875z3p7stg.fsf@ericabrahamsen.net> <8735yogb1z.fsf@lwm.klanderman.net> <878s8gug2k.fsf@gmail.com> <87tur3ecs0.fsf_-_@lwm.klanderman.net> <87v9biu7js.fsf@gmail.com> Reply-To: Greg Klanderman Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4642"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.24 (linux) Cc: Eric Abrahamsen , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 30 20:34:28 2021 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 1l5w0p-00015m-Vk for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jan 2021 20:34:27 +0100 Original-Received: from localhost ([::1]:51792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5w0p-0002Bn-3F for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Jan 2021 14:34:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5vzJ-0001ce-Fw for emacs-devel@gnu.org; Sat, 30 Jan 2021 14:32:53 -0500 Original-Received: from so254-31.mailgun.net ([198.61.254.31]:50365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5vzD-0002n7-P1 for emacs-devel@gnu.org; Sat, 30 Jan 2021 14:32:53 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=klanderman.net; q=dns/txt; s=mg; t=1612035168; h=Content-Type: MIME-Version: References: Message-ID: In-Reply-To: Date: Reply-To: Subject: Cc: To: From: Sender; bh=m0uIR842d6ptTGKoB13r5yGaBFjvKZ0m/kNtpX2EWzM=; b=SVRFTv7z2uA+CJcjr2wjSrKYTmNKwAqvmrLofaXJfvw1TlaG0owllj44Jpv5JJVT0taD4jgk EtrJgIsru9qVRGJiNze+IK+hJ06AxlPtIGf3Z+BoQqPnHL96DsEQ2xa1BB1n+sAz5Qts+Bqe /KC2pCXyoI9E3ltLIOmc3MhnSS4= X-Mailgun-Sending-Ip: 198.61.254.31 X-Mailgun-Sid: WyI5OTUyZSIsICJlbWFjcy1kZXZlbEBnbnUub3JnIiwgIjk3ZGJkOCJd Original-Received: from smtp2.klanderman.net (smtp2.klanderman.net [142.93.10.110]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 6015b44d8f2d32c2c56bfa7c (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sat, 30 Jan 2021 19:32:29 GMT Original-Received: from lwm.klanderman.net (pool-72-93-77-73.bstnma.fios.verizon.net [72.93.77.73]) by smtp2.klanderman.net (Postfix) with ESMTPSA id 25DA2415EC; Sat, 30 Jan 2021 14:32:29 -0500 (EST) Original-Received: by lwm.klanderman.net (Postfix, from userid 1000) id D26FA29E277C; Sat, 30 Jan 2021 14:32:28 -0500 (EST) In-Reply-To: <87v9biu7js.fsf@gmail.com> (Robert Pluim's message of "Wed, 27 Jan 2021 09:07:35 +0100") Received-SPF: pass client-ip=198.61.254.31; envelope-from=bounce+ffeceb.97dbd8-emacs-devel=gnu.org@klanderman.net; helo=so254-31.mailgun.net 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:263634 Archived-At: Thanks Robert, no time yet for much investigation on my side, but I can answer your followup questions quickly.. >>>>> On January 27, 2021 Robert Pluim wrote: > Other things to check: > - which font backend are you using? (frame-parameter nil > 'font-backend) will tell you (frame-parameter nil 'font-backend) (xfthb x) any suggestions for settings I can try? > - which version of emacs? emacs-master has a change to reduce the > number of fonts it probes, which is always a killer over a forwarded > X connection didn't find it searching 'git log' a bit can you point me to it? I assume not in this one: (emacs-version) "GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-12-21, modified by Debian" system-configuration-options "--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 -fdebug-prefix-map=/build/emacs-uC3JdZ/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro" yikes, typing M-x replace-string RET the first time takes 30 sec before prompting "Replace string: " in the minibuffer! Again over ssh-forwarded X11 (but only one hop, from work to home). Greg