From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: slow X11 frame creation and refresh after occlusion Date: Wed, 27 Jan 2021 09:07:35 +0100 Message-ID: <87v9biu7js.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6126"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , emacs-devel@gnu.org To: Greg Klanderman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 27 09:08:22 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 1l4fsE-0001Uq-1U for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 09:08:22 +0100 Original-Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4fsD-0005ER-3O for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 03:08:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4frd-0004mm-S0 for emacs-devel@gnu.org; Wed, 27 Jan 2021 03:07:45 -0500 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:53454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4frY-0008WQ-BN for emacs-devel@gnu.org; Wed, 27 Jan 2021 03:07:45 -0500 Original-Received: by mail-wm1-x331.google.com with SMTP id j18so730467wmi.3 for ; Wed, 27 Jan 2021 00:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=WPDPHOFupBBm0Unru0dR3DbgEEr+imEGFUv5xkETkCc=; b=RR28VTUTTG+Cd/GdIFEroV53Q4zvyLD4yjFKKnoNc6zjcc3InJCI0Eft2Ix0+hKE6o 8VIKkqCZRrNJ8qiyvwgUPeoMAWk+zIZJef1xmRRokx7p6a1HPNKaef4Cd0rR2h+hZoOW e7M3OLqutlrDc6gw071+CjIzVIfhXAqSFKBXbCPY/pDHb61rlZUlro/XT+pbW80BVQok dlMYGc4c31I1XGtiPxQrdw4gSID+faUbW0z1xogExlIuWOIjAlAHZCl+A/HZLJqe9qiq Fjt9JwLsMXg3CDPMKe6s8Wc2DVWJQmwYCKbNUKTGAVgCoxFm1OTMwV3C2/wglLsMG3pt pcoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=WPDPHOFupBBm0Unru0dR3DbgEEr+imEGFUv5xkETkCc=; b=iB9kmYr7AA8TFug4XpYSyfg7IfBPhYcBOiYuYLsv9OhynxVI2aV6I+6nPLEnA3G5nq w48uzaMGGXXb8UIvgrFuqtRfy708J/Em+Ff8A4uV9QliPwc0fiDahSF/fT4h87aFpZZL x7U+uPhdB0RlxBpSjVDpiVA2s/Q7yG8XSxTdGvjyqv353EKMECiLCdde5H+QORUwZFsq ZHFOLtmJZ4nw0P8Ac3T/UwlRCcz0E+D4zMXjXDkfDoFl9iOWaFvHXHd5OShZ3GowvhlJ p7nPM9pZgWLzYfXRsqbYVh193+RqBMhk+l7aZ9FbrithgW+HAwD6d5zVfd60Sb8s5lRD bCPg== X-Gm-Message-State: AOAM5324VRRPMF/ui3WmnWmXuKWVp0raBaVsxhcncmMrD3j/zH8AVXcs 58td+UCXJWAB88Tz2zLd2Lx+U3TI1W4GlA== X-Google-Smtp-Source: ABdhPJxf5r9DD78+aiyjW0t7+kJ9GpuSJtgRT/2rN44RwTPIq1EOKTBaCAWnlfTorINU3CRV0/U9lg== X-Received: by 2002:a7b:ce96:: with SMTP id q22mr3120380wmj.165.1611734858048; Wed, 27 Jan 2021 00:07:38 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id n4sm1849578wrt.47.2021.01.27.00.07.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 00:07:37 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <87tur3ecs0.fsf_-_@lwm.klanderman.net> (Greg Klanderman's message of "Tue, 26 Jan 2021 14:09:03 -0500") Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=rpluim@gmail.com; helo=mail-wm1-x331.google.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 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:263493 Archived-At: >>>>> On Tue, 26 Jan 2021 14:09:03 -0500, Greg Klanderman said: >> Does the attached patch improve frame creation? Greg> Let me get back to you.. I did clone the git repository last week= but Greg> have not gotten around to building yet.. I did just look and find= the Greg> building guide so hopefully get to that in the next couple days.. Greg> But IIUC the patch removes one of two XOpenDisplay() calls, so at= best Greg> would halve the latency in opening a new frame, so I can't see it Greg> completely solving the problem. Greg> Also, shouldn't the opening of the display only take place for the Greg> first frame on that display? Hmm, I think you=CA=BCre right. >> Which X server are you using? I don?t see this at all (but admittedly >> the two machines in question are a meter apart) Greg> I will check if I see the issue using the default desktop environ= ment Greg> (I think cinnamon is standard on the work laptop).. and get back = to Greg> you on that as well. Greg> X server is whatever is default on Debian testing, let me know if Greg> there is some command you want me to run to determine any specific Greg> details.. Other things to check: - which font backend are you using? (frame-parameter nil 'font-backend) will tell you - 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 Robert