emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slow X11 frame creation and refresh after occlusion


From: Robert Pluim
Subject: Re: slow X11 frame creation and refresh after occlusion
Date: Wed, 27 Jan 2021 09:07:35 +0100

>>>>> On Tue, 26 Jan 2021 14:09:03 -0500, Greg Klanderman <gak@klanderman.net> 
>>>>> 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ʼre 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 environment
    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]