From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61258: 29.0.60; pgtk build from git, WSLg, slow, heavy cpu use Date: Sat, 4 Feb 2023 08:48:00 +0800 Message-ID: References: Reply-To: Ruijie Yu Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22974"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61258@debbugs.gnu.org To: "J. Scott Berg" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 04 01:49:38 2023 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 1pO6kM-0005qJ-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 01:49:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pO6jo-0002gN-50; Fri, 03 Feb 2023 19:49:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pO6jm-0002gD-HO for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 19:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pO6jm-00089S-9V for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 19:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pO6jl-0002us-Nt for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 19:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2023 00:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61258 X-GNU-PR-Package: emacs Original-Received: via spool by 61258-submit@debbugs.gnu.org id=B61258.167547172911190 (code B ref 61258); Sat, 04 Feb 2023 00:49:01 +0000 Original-Received: (at 61258) by debbugs.gnu.org; 4 Feb 2023 00:48:49 +0000 Original-Received: from localhost ([127.0.0.1]:40224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO6jY-0002uQ-Sd for submit@debbugs.gnu.org; Fri, 03 Feb 2023 19:48:49 -0500 Original-Received: from netyu.xyz ([152.44.41.246]:41302 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO6jU-0002uG-DS for 61258@debbugs.gnu.org; Fri, 03 Feb 2023 19:48:46 -0500 Original-Received: from smtpclient.apple ( [223.94.109.230]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 736ab3d2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 4 Feb 2023 00:48:42 +0000 (UTC) In-Reply-To: X-Mailer: iPhone Mail (20D47) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254745 Archived-At: On Feb 4, 2023, at 02:53, J. Scott Berg wrote: >=20 > =EF=BB=BFEmacs built with pgtk. Editing in f90 mode, though I don't think t= his is > important. Display is WSLg. Severe input lag, to the point off becoming > unusable, gets worse with more frames (or just time?). Heavy CPU usage by > emacs while doing anything. Problem not seen when not built with pgtk. Hello, Last time I checked, PGTK only aims to support Wayland -- while incidentally= also *usually but not always* work in X -- and WSLg is an X server/client t= hing. There is even a warning shown when I run my PGTK build on an X DE. S= o, intuitively, if my information is correct and up to date, you are not exp= ected to run PGTK build on WSLg and you would need to disable the PGTK flag d= uring config.=20 > In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.36, cairo version 1.17.6) of 2023-02-01 built on LAD-158343 > Repository revision: f91bf9df892417a2e4add6d0d77ac5123a579bfc > Repository branch: emacs-29 > System Description: Arch Linux >=20 > Configured using: > 'configure --prefix=3D/home/jsberg/opt/emacs-230201-f91bf9df892 > --with-pgtk --with-native-compilation' >=20 > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG > JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY > PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF > TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB Best, RY=