From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72960: 31.0.50; PGTK Wayland exhibits more lag than X11 version Date: Mon, 02 Sep 2024 15:05:57 +0300 Message-ID: <86mskq8dlm.fsf@gnu.org> References: <4086d678-7a60-4b87-8c73-c5c9939f05e8@app.fastmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9646"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72960@debbugs.gnu.org To: "Stephane Travostino" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 02 14:07:21 2024 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 1sl5q5-0002Ip-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Sep 2024 14:07:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl5pn-0003ME-St; Mon, 02 Sep 2024 08:07:03 -0400 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 1sl5pm-0003Ll-98 for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 08:07:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sl5pl-0005IP-Ih for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 08:07:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=TcdEckuB+AqHWGcXu0iDcIOR6vMPMM/m69ALVkq3TxE=; b=Ats6F8jA+IWMCuunu6urG0UZ7CnTvTs5+h7bA4RwIfKjpDYSYhazX1ZMCAd6eS1wBbB4IO+OnRtUZGkyg5UG7sVQxwKjX9W2Iq0h+ElnCKBQbkKMyRuyF3c5C18ixGgZpmAS9IWcRbfmJH8o7xv4vUOFVpLaC6NWppqnwioLn/vaJtIEwF2l02QLnH0CNnlar7j0mUhe6ap68kcnJQJceZsKXYqXXCUu91SRFDS8jJwho7ahOlMGzjfOVkf6HLZ9I4569N6dOgYBIX8LsfXHX2Bt1r6f4l0j0iknmgquprboazcwUOkXHrdFSvjHHlxeY/qkKvG4iudw0+ZmwncfrQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sl5qk-0000Le-B5 for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2024 08:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Sep 2024 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72960 X-GNU-PR-Package: emacs Original-Received: via spool by 72960-submit@debbugs.gnu.org id=B72960.17252788271159 (code B ref 72960); Mon, 02 Sep 2024 12:08:02 +0000 Original-Received: (at 72960) by debbugs.gnu.org; 2 Sep 2024 12:07:07 +0000 Original-Received: from localhost ([127.0.0.1]:46976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl5pr-0000Ib-8d for submit@debbugs.gnu.org; Mon, 02 Sep 2024 08:07:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl5pp-0000I1-Kj for 72960@debbugs.gnu.org; Mon, 02 Sep 2024 08:07:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl5ol-0005Dd-A5; Mon, 02 Sep 2024 08:05:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TcdEckuB+AqHWGcXu0iDcIOR6vMPMM/m69ALVkq3TxE=; b=QwLGRDoEKQJR 5LSEANWw6iqK4okOsh7MJKgFSOoItxl8ZLChBZKpMS4fBKNvmwSPhz0q7gFV9AOjOteDHquPieSAi Phr5xV6DpLFuU0eAEW6YlJWpHeYhSTtWHtLMod6clt+1kudElbSa7mj19A3M7KWtm/s22e/V8eS7H GW8EwG81o/krSWRpKGAUwQd2GttmQ1Ww5WxTdzSL5s+MlUiew0Ry4rxOmy7dJyNoWasOtWMr9MAqQ u3ZSq+e06dKyNJRfxHhlSrG/YbSUWu0SjzcZIcPibBMXZJDggvuWWZOLiPgDrg9TLuSdXAhwtn0pZ uT9mFZOHZGGhNSzCMRdZxA==; In-Reply-To: <4086d678-7a60-4b87-8c73-c5c9939f05e8@app.fastmail.com> (sph@combo.cc) 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:291102 Archived-At: > Date: Mon, 02 Sep 2024 10:18:03 +0100 > From: "Stephane Travostino" > > Heavy operations, such as scrolling back and forth in a buffer, are > noticeably laggier, for lack of better word, in the PGTK/Wayland version > than the X11, both tested on KDE in Wayland mode. > > Affects both 29.2 and the latest HEAD compiled a few days ago. > > I am unsure whether it is a KDE or Emacs problem. > > Running on an AMD RX 6800 XT graphics card on a HiDPI 4k screen at 2x > scaling. AFAIU, this is a problem with GTK input methods. From PROBLEMS: *** Emacs built with GTK lags in its response to keyboard input. This can happen when input methods are used. It happens because Emacs behaves in an unconventional way with respect to GTK input methods: it registers to receive keyboard input as unprocessed key events with metadata (as opposed to receiving them as text strings). Most GTK programs use the latter approach, so some modern input methods have bugs and misbehave when faced with the way Emacs does it. A workaround is to set GTK_IM_MODULE=none in the environment, or maybe find a different input method without these problems.