From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitrii Kuragin via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57434: 28.1.91; Terminal Emacs Mac OS flickering. Date: Wed, 31 Aug 2022 09:21:00 -0700 Message-ID: References: <83edx1znjl.fsf@gnu.org> <83czclzms4.fsf@gnu.org> <83ler7vx3o.fsf@gnu.org> <838rn6x4h2.fsf@gnu.org> <834jxux3kd.fsf@gnu.org> <831qsyx2lr.fsf@gnu.org> <142be6aa-f25f-fad2-5597-6e02b0e3e4f6@gmail.com> <8335dcu0sg.fsf@gnu.org> Reply-To: Dmitrii Kuragin Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009c76f605e78be233" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36106"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57434@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 31 18:26:57 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oTQYL-0009D4-3L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 18:26:57 +0200 Original-Received: from localhost ([::1]:58112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTQYJ-0007qZ-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Aug 2022 12:26:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTQTa-0002Ul-KR for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 12:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTQTa-0000ee-Ax for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 12:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTQTa-0001Ds-5L for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2022 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitrii Kuragin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2022 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57434 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57434-submit@debbugs.gnu.org id=B57434.16619628804632 (code B ref 57434); Wed, 31 Aug 2022 16:22:02 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 31 Aug 2022 16:21:20 +0000 Original-Received: from localhost ([127.0.0.1]:40307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTQSu-0001Ce-AZ for submit@debbugs.gnu.org; Wed, 31 Aug 2022 12:21:20 -0400 Original-Received: from mail-yw1-f179.google.com ([209.85.128.179]:37736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTQSr-0001CQ-OW for 57434@debbugs.gnu.org; Wed, 31 Aug 2022 12:21:18 -0400 Original-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-33dce2d4bc8so312100237b3.4 for <57434@debbugs.gnu.org>; Wed, 31 Aug 2022 09:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=apIv4pjGQ/vMS5DkBeYKE0lWGArHpVqbZ59ZhcUEFBo=; b=rVSEhyioSN50nsdfdMM5ToTABUIBi4QaU9k5JJsEIDvGDOlAlT9IQ+6m7BgqwsKVHU 1urJMJiw0aw25VuDZ1VMGqEwkD2adUT1g03+Bct8nOuy2rWWgBgwRfUI7J/DHNTxxds8 DD1vumOd54BA87gFeOflUhcFC9sATqewjdzaC/od9GKwjC4MKKqn8t30E0mCrZ6adchR T5Pc6xFfw4jrBbWkwiFOrChVTGtjWF9JiA12lL2YT8hEb/SEzNcCEgXhxf6TK+Wf4eDq WOt5TlpPE6IAJyNiM4o0G+kN8VMbsiHqvoz8tAleKDLxj7HltfVR9qsjCGZKwhCoJRc0 2LQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=apIv4pjGQ/vMS5DkBeYKE0lWGArHpVqbZ59ZhcUEFBo=; b=i5HxjmwH+kP8jooCnT4n2dH1VfxiMyBl9kWyFkEVRzflIsV70TS33zJ5OCcxdiG0U6 NbXRR1KZg4st1KJscRbUiKoDydy+RNU9jUtfGHriIcE0gOMOkbYFRoqHIFx4GRTiJMd6 Pw3vPpm56tbK+V1WrmyARb6VrJZoWxnzzbZKD0jwbHs1mZFFq8n5hJdJKB+CpFi7j+nA Iy4aT3d2l8Xpa2jEYwFxcdD0oBMJOuJx0XEVEOYRVG1F5d5d1CR83/m0u03K1r7/nwgk oACx9my3Bm4n+fXWyTJX88AZmDPcqPcSZXB9e6iSny9ZpLdqBhBa7mNByv2YkTklg5YW DSPg== X-Gm-Message-State: ACgBeo21FsTyzU/do4cDcDmmQxt0J7gZPay1c9CiP8pW7vomRPIsu3Xm ZSylY8XmB/7AasgGR9dFRjFUdrhEtkgrKYgvXCVfUw== X-Google-Smtp-Source: AA6agR4LHGmCBGMFEFIyJseDqJ+YK1pIPCxCeWXzLykbmgepHBlYl2h2E8hU+r7NHGDXh6QCx97dpEvRDtayEt69cOA= X-Received: by 2002:a0d:fb87:0:b0:335:db8b:416a with SMTP id l129-20020a0dfb87000000b00335db8b416amr18613400ywf.263.1661962871899; Wed, 31 Aug 2022 09:21:11 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241206 Archived-At: --0000000000009c76f605e78be233 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable And here's one more video of default `baud-rate` vs 1000000 https://youtu.be/51EbX6bNP0M And here's a video how smooth vim works in the same setup: https://youtu.be/newP7XEA610 So, it is definitely not the terminal or Mac OS problem. And here's a video when I use patched emacs with disabled insertion for mac os: https://youtu.be/_ZXpzF6KOEQ Additionally, I want to say that now I see the problem even when I connect to a remote linux machine using SSH. Could it be that alacritty so fast that it gets into the state when the emacs pointing is in an unsynced state with terminal frequency? Like, the issues we might have with frame rate of monitors and FPS within games. On Wed, Aug 31, 2022 at 9:00 AM Dmitrii Kuragin wrote: > Sorry, but seems like it helped in some configuration, but when I tried i= t > on my second monitor, it didn't work: https://youtu.be/IHzJ0QtuTgs > > `baud-rate` improves the situation somehow, so that some portion of > flickering disappears, but the issue is still there and looks the same th= at > insertion over writing causes the issue. > > On Wed, Aug 31, 2022 at 7:38 AM Gerd M=C3=B6llmann > wrote: > >> Dmitrii Kuragin writes: >> >> > I do not know what it does, but it does help. >> > >> > I mean, it fixes the problem with flickering completely. >> >> 3 thumbs up :-) >> >> > >> > Could you please elaborate a bit more about possible consequences of >> that? >> >> Baud-rate is the basis for cost calculations. It basically specifies >> how fast the communication with the underlying terminal is. On slow >> terminals Emacs tries harder to minimize communication, IIRC at the >> expense of using slower capabilities. It's all heuristics, though. >> >> > > -- > *If you get an email from me outside of the 9-5 it is *not* because I'm > always on or expect an immediate response from you; it is because of work > flexibility > > . Evening and weekend emails are a sign I allocated some regular working > hours for other things (such as family, gym, friends,...). And I encoura= ge > you to feel free to do the same. > > --=20 *If you get an email from me outside of the 9-5 it is *not* because I'm always on or expect an immediate response from you; it is because of work flexibility . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same. --0000000000009c76f605e78be233 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
And here's one more video of default `baud-rate` vs= 1000000 https://youtu.be/51EbX6bN= P0M
And here's a video how smooth vim works in the same set= up:=C2=A0https://youtu.be/newP7XEA= 610

So, it is definitely=C2=A0not the terminal or = Mac OS problem.

And here's a video when I use patc= hed emacs with disabled insertion for mac os:=C2=A0https://youtu.be/_ZXpzF6KOEQ

Addi= tionally, I want to say that now I see the problem even when I connect to a= remote linux machine using SSH.

Could it be that alac= ritty so fast that it gets into the state when the emacs pointing is in an = unsynced state with terminal frequency?=C2=A0

Like, the issues we mi= ght have with frame rate of monitors and FPS within=C2=A0games.
=
On Wed= , Aug 31, 2022 at 9:00 AM Dmitrii Kuragin <kuragin@google.com> wrote:
Sorry, but = seems like it helped in some configuration, but when I tried it on my secon= d monitor, it didn't=C2=A0work:=C2=A0https://youtu.be/IHzJ0QtuTgs

`baud-rate<= /span>` improves the situation somehow, so that some portion of flickering = disappears, but the issue is still there and looks the same that insertion = over writing causes the issue.

On Wed, Aug 31, 2022 at 7:38 AM Gerd M= =C3=B6llmann <gerd.moellmann@gmail.com> wrote:
Dmitrii Kuragin <kuragin@google.com> writes:

> I do not know what it does, but it does help.
>
> I mean, it fixes the problem with flickering completely.

3 thumbs up :-)

>
> Could you please elaborate a bit more about possible consequences of t= hat?

Baud-rate is the basis for cost calculations.=C2=A0 It basically specifies<= br> how fast the communication with the underlying terminal is.=C2=A0 On slow terminals Emacs tries harder to minimize communication, IIRC at the
expense of using slower capabilities.=C2=A0 It's all heuristics, though= .



--
*If yo= u get an email from me outside of the 9-5 it is=C2=A0not=C2=A0becaus= e I'm always on or expect an immediate response from you; it is because= of=C2=A0work flexibility.=C2= =A0=C2=A0Evening and weekend emails= are a sign I allocated some regular working hours for other things (such a= s family, gym, friends,...).=C2=A0 And I encourage you to feel free to do t= he same.



--
*If you get an email from me outside of the 9-5 it is=C2= =A0not=C2=A0because I'm always on or expect an immediate respons= e from you; it is because of=C2=A0<= a href=3D"http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-= better-work-life-balance.html" style=3D"color:rgb(17,85,204)" target=3D"_bl= ank">work flexibility.=C2=A0=C2=A0= Evening and weekend emails are a sign I allocated some regular working hour= s for other things (such as family, gym, friends,...).=C2=A0 And I encourag= e you to feel free to do the same.

--0000000000009c76f605e78be233--