From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Valentin Ignatyev Newsgroups: gmane.emacs.bugs Subject: bug#29737: 27.0.50; pixel-scroll-mode is laggy Date: Sat, 23 Dec 2017 21:53:37 +1000 Message-ID: References: <83shcaqxgm.fsf@gnu.org> <20171217.110045.719415281082937882.tkk@misasa.okayama-u.ac.jp> <83bmirm59m.fsf@gnu.org> <20171223.121856.1621317657268275586.tkk@misasa.okayama-u.ac.jp> <834lohls0r.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114491b669d55e0561009514" X-Trace: blaine.gmane.org 1514029940 23226 195.159.176.226 (23 Dec 2017 11:52:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Dec 2017 11:52:20 +0000 (UTC) Cc: Tak Kunihiro , 29737@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 23 12:52:16 2017 Return-path: Envelope-to: geb-bug-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 1eSiLb-0005LF-Vn for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Dec 2017 12:52:12 +0100 Original-Received: from localhost ([::1]:41588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSiNa-0002vw-DU for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Dec 2017 06:54:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSiNT-0002vn-Cv for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 06:54:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSiNO-00034P-VX for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 06:54:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSiNO-00034A-Rs for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 06:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSiNO-0004mP-CA for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2017 06:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Valentin Ignatyev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2017 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29737-submit@debbugs.gnu.org id=B29737.151403002518348 (code B ref 29737); Sat, 23 Dec 2017 11:54:02 +0000 Original-Received: (at 29737) by debbugs.gnu.org; 23 Dec 2017 11:53:45 +0000 Original-Received: from localhost ([127.0.0.1]:48769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSiN7-0004ls-3c for submit@debbugs.gnu.org; Sat, 23 Dec 2017 06:53:45 -0500 Original-Received: from mail-it0-f50.google.com ([209.85.214.50]:44259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSiN5-0004lg-Q3 for 29737@debbugs.gnu.org; Sat, 23 Dec 2017 06:53:44 -0500 Original-Received: by mail-it0-f50.google.com with SMTP id b5so16867116itc.3 for <29737@debbugs.gnu.org>; Sat, 23 Dec 2017 03:53:43 -0800 (PST) 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=v9k9XagFhgn0M3qg5dSiROLaERImTVDkfC5tYFtrcm4=; b=swKKpe9wnDJoo5vPqoAIITIQE8mIrRoMUSB3zj6YO/uEMi356qnwNSn4y/N+/fSfyl MBI8Yik6xuuKn/skD93kX0N1MMk1AFOZ6NNGDKbMJGY6jzDDFmtDRr02mblACwxTtOPy GbfxFMRBmJBGceISXRegDUwmYea3wPhjv209k741k9AigYG1lInEIaSMykcy7zydu93a BjF9a8PhzVijMSMS44DJXFbSKMv1CL3I9GG92oG08VmMy+5mZeVatGfLpTnhOGvR14uo nKa+i8kvi+4n3ghheDKm9PKafV2n+nKKn3AdNHVSOxJa6vm18/GAJbmUhba/x0L32aWW 26VQ== 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=v9k9XagFhgn0M3qg5dSiROLaERImTVDkfC5tYFtrcm4=; b=J7NvCVZ2g8O47gm0pm3dOvbQ9J6fp6V9g6Q9Pg7zaFTgh3+rbazJRC0fJ7zoKWAok1 OajFzR2a4WnbS0iaOrSSZ9R86EFdbSxmxD4kLJvGsUEJzYjKE/IgaV5hOohLG6XnrNZO XHgGF/ciDzg5xt5kB/W3NTOPeJS7u7w4/iZU54tRm3yYPv5Q9aiLLsreoedx7+HmIwLB uZtNLK/I4cLcnShJiifb7feLv2EOMPt0nCP6NoDj0Vx6/cEm2b8+vdD34gQepn6DR/VL Mwp5YDJEGWT7U1Kyw5pY3SjQakMJdzuqYF593SD/bof28VuaVWfo1F4JSCkiOl78R1+D 9aew== X-Gm-Message-State: AKGB3mI1JrGS7TmXzxk5UFO1jPOQyoDIoB3F7fTJtGxvuUj7pd1Pimr8 Jm35YUvDff1HTdJqmMjPYoisYfiqP5+cekoIozU= X-Google-Smtp-Source: ACJfBouOsU7jPgaiIfeWoHQK9BZb3Ukz5w+4eugT0VaY2eUBOkXG8MK7taS4ODT7pYRlSRobUIc1G8rFwb0jd3/c4W0= X-Received: by 10.36.82.17 with SMTP id d17mr20669929itb.56.1514030018187; Sat, 23 Dec 2017 03:53:38 -0800 (PST) Original-Received: by 10.107.149.201 with HTTP; Sat, 23 Dec 2017 03:53:37 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141420 Archived-At: --001a114491b669d55e0561009514 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just tried it on mac os. pixel-scroll-mode works much better here though there is still small noticeable lag. And also I can see that scroll up lagging more than scroll down. Hope it'll help -------------------------------- =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=98=D0=B3=D0=BD=D0=B0=D1=82=D1=8C=D0=B5=D0=B2 =D0=92=D0=B0=D0=BB=D0=B5= =D0=BD=D1=82=D0=B8=D0=BD On Sat, Dec 23, 2017 at 9:30 PM, Valentin Ignatyev wrote: > Hi all. > I just tested this fix. While it doesn't solve the issue, I saw a little > improvement. And now I see the lag pattern. When I slowly start scrolling= , > it scrolls for a while and then jumps about 10 rows at the time, then > scrolls a bit more and jumps again > If I swipe my trackpad too fast, emacs instantly eats 100% CPU and hangs > infinitely (it hangs not every time, but rather once in a while. It can > just go to the end of the file). > If I scroll with Ctrl-key as Eli suggested in the first thread mail, it > scrolls better than before the fix, but I still see this lag pattern > (scroll a bit and then jump), but in the smaller scale and it doesn't kil= l > emacs. > Setting mouse-wheel-progressive-speed to nil seem to make no difference. > > Btw, while I do use macbook, my OS is Arch Linux here :) > I think I'll try to compile latest emacs-26 branch on macos itself and > tell there is defference. Maybe it'll shrink down the scope > > Thanks for your work on this, I really appreciate it > > > > On Sat, Dec 23, 2017 at 7:20 PM, Eli Zaretskii wrote: > >> > Date: Sat, 23 Dec 2017 12:18:56 +0900 (JST) >> > Cc: valentjedi@gmail.com, 29737@debbugs.gnu.org, >> tkk@misasa.okayama-u.ac.jp >> > From: Tak Kunihiro >> > >> > > I'd like to fix this on the release branch, not on master. Is the >> > > patch you sent good to go to the release branch? Does it solve the >> > > display lags mentioned in the bug report? >> > >> > Yes, the patch I sent is good to go to the release branch. >> >> Thanks, pushed to the release branch. >> >> > I'm not 100% sure what 'the display lag' meant. >> >> It meant very slow scrolling, with redisplay falling far behind. >> After applying the patch, I see a definite improvement on my system. >> >> > After the patch, at least I tested with MacBook and do not recognize >> > 'the display lag'. >> >> Right. Valentin, could you please see whether this change makes the >> problem go away, or at least makes it much less of a problem? TIA. >> > > --001a114491b669d55e0561009514 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just tried it on mac os. pixel-scroll-mode works much bett= er here though there is still small noticeable=C2=A0lag. And also I can see= that scroll up lagging more than scroll down.
Hope it'll help

=C2=A0
--------------------------------
=D0=A1 =D1=83=D0=B2=D0=B0=D0= =B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,
=D0=98=D0=B3=D0=BD=D0=B0=D1=82= =D1=8C=D0=B5=D0=B2 =D0=92=D0=B0=D0=BB=D0=B5=D0=BD=D1=82=D0=B8=D0=BD

On Sat, Dec 23, 2017 at 9:30 PM, Valentin Ig= natyev <valentjedi@gmail.com> wrote:
Hi all.
I= just tested this fix. While it doesn't solve the issue, I saw a little= improvement. And now I see the lag pattern. When I slowly start scrolling,= it scrolls for a while and then jumps about 10 rows at the time, then scro= lls a bit more and jumps again
If I swipe my trackpad too fa= st, emacs instantly eats 100% CPU and hangs infinitely (it hangs not every = time, but rather once in a while. It can just go to the end of the file).
If I scroll with Ctrl-key as Eli suggested in the first thread mail= , it scrolls better than before the fix, but I still see this lag pattern (= scroll a bit and then jump), but in the smaller scale and it doesn't ki= ll emacs.
Setting mouse-wheel-progressive-speed to nil seem to mak= e no difference.

Btw, while I do use macbook, my OS is Arch Li= nux here :)
I think I'll try to compile latest emacs-26 branc= h on macos itself and tell there is defference. Maybe it'll shrink down= the scope

Thanks for your work on this, I really appreciate i= t



On Sat, Dec 23, 2017 at 7:20 PM, Eli Zaretsk= ii <= eliz@gnu.org> wrote:
> D= ate: Sat, 23 Dec 2017 12:18:56 +0900 (JST)
> Cc: va= lentjedi@gmail.com, 29737@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp
> From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
>
> > I'd like to fix this on the release branch, not = on master.=C2=A0 Is the
> > patch you sent good to go to the release branch?=C2=A0 Does it so= lve the
> > display lags mentioned in the bug report?
>
> Yes, the patch I sent is good to go to the release branch.

Thanks, pushed to the release branch.

> I'm not 100% sure what 'the display lag' meant.

It meant very slow scrolling, with redisplay falling far behind.
After applying the patch, I see a definite improvement on my system.

> After the patch, at least I tested with MacBook and do not recognize > 'the display lag'.

Right.=C2=A0 Valentin, could you please see whether this change make= s the
problem go away, or at least makes it much less of a problem?=C2=A0 TIA.


--001a114491b669d55e0561009514--