GNU bug report logs - #72960
31.0.50; PGTK Wayland exhibits more lag than X11 version

Previous Next

Package: emacs;

Reported by: "Stephane Travostino" <sph <at> combo.cc>

Date: Mon, 2 Sep 2024 11:39:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #8 received at 72960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Stephane Travostino" <sph <at> combo.cc>
Cc: 72960 <at> debbugs.gnu.org
Subject: Re: bug#72960: 31.0.50;
 PGTK Wayland exhibits more lag than X11 version
Date: Mon, 02 Sep 2024 15:05:57 +0300
> Date: Mon, 02 Sep 2024 10:18:03 +0100
> From: "Stephane Travostino" <sph <at> combo.cc>
> 
> 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.




This bug report was last modified 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.