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: Wed, 03 Feb 2021 16:52:15 -0500 Message-ID: <87a6sk4y5s.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> <87o8h6dxv7.fsf@lwm.klanderman.net> <877dnstbc5.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="5020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.24 (linux) Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 03 22:56:02 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 1l7Q81-0001AU-Sk for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Feb 2021 22:56:01 +0100 Original-Received: from localhost ([::1]:39336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Q80-0007QM-Sz for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Feb 2021 16:56:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Q4S-0005hB-UJ for emacs-devel@gnu.org; Wed, 03 Feb 2021 16:52:20 -0500 Original-Received: from so254-31.mailgun.net ([198.61.254.31]:42048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7Q4R-00062s-0u for emacs-devel@gnu.org; Wed, 03 Feb 2021 16:52:20 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=klanderman.net; q=dns/txt; s=mg; t=1612389138; h=Content-Type: MIME-Version: References: Message-ID: In-Reply-To: Date: Reply-To: Subject: Cc: To: From: Sender; bh=1sPrWOUxTMITI22xNKdolBj9T4aYAKFR/Bci4joMxKo=; b=WmhrFicvRQnCnlicB660dcaLvZO77TtNvqGoWEY7qWbPQVb4s5TlV8KTjj5lGN1UNA3iCYVM 0ZjzhZsmlEDxg9h8Vh7DF9I60sPchzU/y2WiWB/Wfk3eBpz+NuZSQStrkZW6uA7z0NGBVDjC pASJYu5Q1hEbeGfInMZSSYbNwKw= 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-n02.prod.us-west-2.postgun.com with SMTP id 601b1b11ca5a3268dec57ec1 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Wed, 03 Feb 2021 21:52:17 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 2A041415EE; Wed, 3 Feb 2021 16:52:16 -0500 (EST) Original-Received: by lwm.klanderman.net (Postfix, from userid 1000) id DD66529E0DFA; Wed, 3 Feb 2021 16:52:15 -0500 (EST) In-Reply-To: <877dnstbc5.fsf@gmail.com> (Robert Pluim's message of "Mon, 01 Feb 2021 09:56:58 +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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:263825 Archived-At: >>>>> On February 1, 2021 Robert Pluim wrote: Greg> (frame-parameter nil 'font-backend) Greg> (xfthb x) Greg> any suggestions for settings I can try? > Configure '--with-cairo'. I'm hoping that will be more efficient in > terms of loading fonts. OK I will have a look. Is there any way to determine if font loading is causing significant delay? And would that be an issue on subsequent to the first frame on a display? Greg> (emacs-version) Greg> "GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) Greg> of 2020-12-21, modified by Debian" > Definitely not in there, it's master-only: > $ git log --author rpluim@gmail.com --grep font > commit 20d13e424fb2e7dcc5e6ea1848bca4376d22bab1 > Author: Robert Pluim > Date: Fri Sep 11 10:29:24 2020 +0200 > Stop querying for fonts as soon as a match is found OK, another good pointer. Did you have any ideas on my other email, and the finding that the 30-60 sec of lossage I am seeing when dragging one emacs frame over another seems related to not running a full blown desktop environment? Have to see if I can trace the xevents and find anything interesting.. thank you, Greg