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#71591: 30.0.50; PGTK: Terrible input lag with display scaling Date: Thu, 27 Jun 2024 10:42:55 +0300 Message-ID: <86zfr66dc0.fsf@gnu.org> References: <87zfrl3wgq.fsf@ftml.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12937"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71591@debbugs.gnu.org To: Jarno Malmari , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 27 09:44:22 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 1sMjnp-00037o-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jun 2024 09:44:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMjnV-00078q-L8; Thu, 27 Jun 2024 03:44:01 -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 1sMjnT-00078M-UT for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 03:43:59 -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 1sMjnT-000368-Mi for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 03:43:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMjnW-0006Cc-De for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 03:44: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: Thu, 27 Jun 2024 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71591 X-GNU-PR-Package: emacs Original-Received: via spool by 71591-submit@debbugs.gnu.org id=B71591.171947418823768 (code B ref 71591); Thu, 27 Jun 2024 07:44:02 +0000 Original-Received: (at 71591) by debbugs.gnu.org; 27 Jun 2024 07:43:08 +0000 Original-Received: from localhost ([127.0.0.1]:40915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMjmd-0006BG-UT for submit@debbugs.gnu.org; Thu, 27 Jun 2024 03:43:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMjmc-0006Aj-ET for 71591@debbugs.gnu.org; Thu, 27 Jun 2024 03:43: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 1sMjmU-00031i-BR; Thu, 27 Jun 2024 03:42:58 -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=toreuPo3lVTopY/DdXY21hjJYFHFkevECVJ73AeA+yA=; b=h/dChoxG6tGY OgvHbvUUw4K1rAyq3LVRmTX3GTDxOpBwpjgLqQAo77E2SL7mFCExMYsnCfZY4aa/lwvfHkGvF0bch sd9BuJbZmaLOjW/h28PTgCJ9nUxbTCUdOfxFIgTeduIHBhJiodiuPHMUtcciN7BdyPX5TEHocRpNP PZDqeEtmybq9KA7oPw/HRMtt1YlGPRSxiUxRh0noNu4/46lqFslvi1X5dHFHNQG3lQkKDcQII4/rY qu8Fl71q2El2H3vdax/6ms9zEEK/45PCBT1/6wvdE7aMYcCGj5ahMWb7AmRdCrDWtAI6HakY6qVf3 fgkS3nJXs9W1Nl/WyzubJg==; In-Reply-To: <87zfrl3wgq.fsf@ftml.net> (message from Jarno Malmari on Sun, 16 Jun 2024 15:26:13 +0300) 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:287995 Archived-At: > From: Jarno Malmari > Date: Sun, 16 Jun 2024 15:26:13 +0300 > > With a 4k display and 150 % display scaling there is a noticeable input > lag when moving the point around in fullscreen. Very sluggish > feel. Shrinking the window helps. > > Besides "sluggish feel" I couldn't figure out easily measurable metric > for this. One way is to clock how long it takes to use your keyboard > repeat with `next-line' to reach the end of a couple pages long buffer. > > This was tested with PGTK build on KDE Plasma 6 running Wayland. X build > running in XWayland does not have this problem even if configured to be > "Scaled by the system" from the system display configuration UI. > > The scale option that affects this can also be changed with these commands: > > kscreen-doctor output.${OUTPUT_NAME}.scale.1.5 > kscreen-doctor output.${OUTPUT_NAME}.scale.1.0 > > Applies also to emacs 29. Po Lu, any suggestions or ideas?