From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109152 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: Bug: context/mtxrun makes Firefox eat up cpu Date: Fri, 30 Oct 2020 19:44:20 +0100 Message-ID: References: <3940DC89-A350-4034-B34A-1BDE401C46D5@elvenkind.com> <95C43E90-CC1A-430E-85F8-E08C25DB566B@scorecrow.com> <6D6F2B63-5B6B-4083-822F-097266E5F6C3@elvenkind.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6324057268191972589==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27402"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 30 19:45:03 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYZOZ-00070m-Ey for gctc-ntg-context-518@m.gmane-mx.org; Fri, 30 Oct 2020 19:45:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 49A481A9C0D; Fri, 30 Oct 2020 19:44:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h5iwp0KDDXbb; Fri, 30 Oct 2020 19:44:35 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5A6061A9C21; Fri, 30 Oct 2020 19:44:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D8A861A9C19 for ; Fri, 30 Oct 2020 19:44:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKf25Dtundhu for ; Fri, 30 Oct 2020 19:44:33 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.170; helo=mail-il1-f170.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B842F1A9C0D for ; Fri, 30 Oct 2020 19:44:33 +0100 (CET) Original-Received: by mail-il1-f170.google.com with SMTP id y17so7394182ilg.4 for ; Fri, 30 Oct 2020 11:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=uhPjKWS/rXUIzISXrT8B/Rj7cRT0iKUKkMihcFwKuSM=; b=PY9kWr/A9D5YzmfIF5ZagzgKv5nBPDK4jx4w+CCbc2CS7zB9bi8x4O42P9icfmspXi yuglDfADKVotjWMq5RhVbq0jhNEE7NJr3xOoC15KT+Z9UuGrxx/emkhJnLUBbtsOMnVD 1NJkkaua+/7KfzHyRjh+TMYTr9EB+3tiapT7qB6Qg3VzJoF8RyKmD/jYMRk0gvS93W4O Qf8+X/wAcaHkIfxbtYrjafzSUaewyx/1AdciRBr8Io5FFTdsI34XFaiAzOL8BZlBHXSW aRJxOZXxT55bwfs98hbKSHYnWg8aRdZPt7iVz9VvPPBp9LhTYF7WXitvSVsvSY69YLxl HIJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=uhPjKWS/rXUIzISXrT8B/Rj7cRT0iKUKkMihcFwKuSM=; b=RpRmYs7z+ld69gMLokOA8XtrxmCCuAt9F7NYue/vOUU8Z2/3PEAxYWdDWmk23pT5Lh pFP2Q1VwNhwtX9dmjZg5QLL1wUP0ggafWQWVlLr93Z759XGGBkThVnmQOHBdoCueLLWE 7FVHwdasn3LMyWifyFEPkn67jCmmeCgItZtFPCTdauBJJOWMr6k4bkJlGccDtz/47ORF 9V8357YYnGaUsBlKwKH/OtAHnziDegFsBnMlrrwlqsVUjRSurBoJ/rBVgBcfEv9cLWbf dxeXDv/CQE98QZOqz2+lmHXXRVgQ67iyUVA1VEL3X9yMX6MW0+plXQV5dIR/Who88yIu J4QQ== X-Gm-Message-State: AOAM530jjeKPK/AOFueh4bPM83CUE8UAACwao9jdwpdYwWxP1+zWHnEj 07YajyuaEY+RdaXTNF80HzFoVqjcMU8e6gwrlJssn892QZJ0eg== X-Google-Smtp-Source: ABdhPJyOoTCz5XQVXr+JCr/lyWt3dF5TN+sEfMFJQf7G5GQIA3cej1WS/8XTyNBtA4QP8ljghLY5zqof0OqJ4i0S4nM= X-Received: by 2002:a92:5404:: with SMTP id i4mr2844428ilb.199.1604083471833; Fri, 30 Oct 2020 11:44:31 -0700 (PDT) In-Reply-To: <6D6F2B63-5B6B-4083-822F-097266E5F6C3@elvenkind.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109152 Archived-At: --===============6324057268191972589== Content-Type: multipart/alternative; boundary="000000000000875e8605b2e7c958" --000000000000875e8605b2e7c958 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > You could test that theory by switching to a text terminal for running the =E2=80=98context=E2=80=99 command (assuming the text-only terminal is s= till accessible in Manjaro) and see whether the output of =E2=80=98context =E2=80=94help=E2= =80=99 causes lag there as well. If I understand you correctly, here's what I've tried: 1. open firefox, open no webpages, so there's only one about:blank 2. ctrl+alt+2, login, `context --help` 3. (in the text interface) `htop`, firefox cpu usage rises to 100% after ~1s. On Fri, 30 Oct 2020 at 10:07, Taco Hoekwater wrote: > > > > On 30 Oct 2020, at 09:34, ntg@scorecrow.com wrote: > > > > Hi Sylvain, > > > > This bug tracker report < > https://bugzilla.mozilla.org/show_bug.cgi?id=3D1599329> describes lagging= / > freezing (which are symptoms of excessive CPU usage, of course) for > versions of Firefox from 70 to 74 inclusive on Manjaro. They also report > Chromium seeing the same problem. > > This basically says it is a bug in the video driver. > > You could test that theory by switching to a text terminal for running th= e > =E2=80=98context=E2=80=99 command (assuming the text-only terminal is sti= ll accessible in > Manjaro) and see whether the output of =E2=80=98context =E2=80=94help=E2= =80=99 causes lag there as > well. Even a really, really crappy video driver should be able to handle > the output stream in full-screen text mode, so if it still lags in that > environment, that moves the needle toward a problem in ConTeXt (however > unlikely Hans and I think that is). > > Best wishes, > Taco > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000875e8605b2e7c958 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> You could test that theory by switching to a tex= t terminal for running=20 the =E2=80=98context=E2=80=99 command (assuming the text-only terminal is s= till=20 accessible in Manjaro) and see whether the output of =E2=80=98context =E2= =80=94help=E2=80=99=20 causes lag there as well.

If I understand you= correctly, here's what I've tried:
1. open firefox, open= no webpages, so there's only one about:blank
2. ctrl+alt= +2, login, `context --help`
3. (in the text interface) `htop`, fi= refox cpu usage rises to 100% after ~1s.


On Fri, 30 Oct= 2020 at 10:07, Taco Hoekwater <ta= co@elvenkind.com> wrote:


> On 30 Oct 2020, at 09:34, ntg@scorecrow.com wrote:
>
> Hi Sylvain,
>
> This bug tracker report <https://bugzi= lla.mozilla.org/show_bug.cgi?id=3D1599329> describes lagging / freez= ing (which are symptoms of excessive CPU usage, of course) for versions of = Firefox from 70 to 74 inclusive on Manjaro. They also report Chromium seein= g the same problem.

This basically says it is a bug in the video driver.

You could test that theory by switching to a text terminal for running the = =E2=80=98context=E2=80=99 command (assuming the text-only terminal is still= accessible in Manjaro) and see whether the output of =E2=80=98context =E2= =80=94help=E2=80=99 causes lag there as well. Even a really, really crappy = video driver should be able to handle the output stream in full-screen text= mode, so if it still lags in that environment, that moves the needle towar= d a problem in ConTeXt (however unlikely Hans and I think that is).

Best wishes,
Taco
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000875e8605b2e7c958-- --===============6324057268191972589== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6324057268191972589==--