From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: unpleasant flickering in terminal emacs Date: Fri, 27 Apr 2018 08:04:29 -0400 Message-ID: References: <87po2k7tdr.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1524830626 14500 195.159.176.226 (27 Apr 2018 12:03:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2018 12:03:46 +0000 (UTC) Cc: help-gnu-emacs To: Amos Bird Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 14:03:41 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fC26H-0003e1-Od for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 14:03:41 +0200 Original-Received: from localhost ([::1]:47723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC28M-00018S-Oz for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 08:05:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC27k-00017t-Qt for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 08:05:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC27j-0003ZE-PV for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 08:05:12 -0400 Original-Received: from mail-ua0-x229.google.com ([2607:f8b0:400c:c08::229]:32975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fC27j-0003Xe-Ke for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 08:05:11 -0400 Original-Received: by mail-ua0-x229.google.com with SMTP id i2so993739uah.0 for ; Fri, 27 Apr 2018 05:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=58QOOZS3u1sKJd3j6mHTLPKzmj6bVYiFgY22d5j4glA=; b=olG3LiwU3KFny/5h8EkX4mMP7wx/axGlS9OfGkkF5dO+PmHFy8HDlBfD3HtCZx3G9m 9oUjmL8ZGQ1SKpU1JmYkNh5896RHNQ+3d0n72/pEoC31dzz/ND5kGSTPCNBbVZSSs5Bs iGKs/awfcN5eLLGfo2+ra0fqxFn73q4REBouv+QLcMmoM5rA9luwhr1elqKnEixNBGgF G8A8YOZxeo13FgFw6VnalUohBbD8vJ4rnbYzxseR+A5Y7Hp4OdDhb5u8/ZHu9XUPvyAw L3igS/yQinvJZAXRKvaTv/WNYLrzkjwnHRkDsOF8g0vLpytbyE8gs4PuWqGHm4eD/b0p YiEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=58QOOZS3u1sKJd3j6mHTLPKzmj6bVYiFgY22d5j4glA=; b=bhsccI8WJ/H6eTBYLDJbvreoK6PJf3rCxIws8woN3PuNhDdsBiizv3NNr66sV8Z4Gz +pbb2qsPWmBU6Qdp4hCDmKbahCExURQPAyOlV7f9pBLgJMM9GCG7Ke/IWbrZKWGZaUch SdHIFa1XTijgAkhCRCcFvreCcsp7IGpEcuJNw4OokzjiZouAFq4UrdGidaE2pkxWf8wA iQvevTlCmlPiV+Km87N0vK2ICXEgFh3XqL2VQK/fhm2rFpWpJUbFmLeH90J6mMiZBfH/ zEOEVIOfiOfwhx7HMmzivAVb0NtTR6XRQWLcuWjfbWb6W2hBqBOHa51Cb1ZQPDaXP0lj +WEw== X-Gm-Message-State: ALQs6tBY7VxoXP+yRJXRKpzvkn31Y6K1/guk12ut6t9n8XtV+E8LkMm0 e6WpXmxuX7hQXs1htpdQT5ahNNuX1AKQtmZP/wo= X-Google-Smtp-Source: AB8JxZp8np5fMgdz1pYQSjgLDOedfqd8sEhTVUXYWWLZCYTGlhd9uWBewZ/K6l9rHm/BG7aiXztXjGMkSOt5lvr3zCU= X-Received: by 10.176.97.152 with SMTP id h24mr1235914uan.111.1524830709781; Fri, 27 Apr 2018 05:05:09 -0700 (PDT) Original-Received: by 10.176.7.101 with HTTP; Fri, 27 Apr 2018 05:04:29 -0700 (PDT) In-Reply-To: <87po2k7tdr.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116606 Archived-At: I don't have an informed idea about whether you're suffering from this (I never have) but your question tickled my memory. https://www.facebook.com/notes/daniel-colascione/buttery-smooth-emacs/10155313440066102/ On Fri, Apr 27, 2018 at 7:58 AM, Amos Bird wrote: > Hi, > > I'm using emacs master branch in terminal (alacritty). When moving > cursor with relative line number enabled or scrolling up/down, I get > unpleasant screen flickering. However, frame switch works fine, which > I suppose uses full rendering updates. It seems partial rendering > update doesn't work well. The author of alacritty mentioned one > possible cause : "flickering is typically caused by a program not > writing full updates to the pty. We drain all available bytes up to > like 64k before yielding for a render. It may be that we should add > some heuristic around time to prevent flickering from poorly behaved > terminal applications." So my question is, can I enable full updates > for every redisplay? Thanks! > > Here is a screencast of flickering. > > https://youtu.be/wv4QINKHDUY > > regards, > > -- > Amos Bird > amosbird@gmail.com > >