From nobody Mon Sep 18 20:41:52 2023 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RqGtd6Lznz4tkRB for ; Mon, 18 Sep 2023 20:42:01 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RqGtd0xvxz4Ps1; Mon, 18 Sep 2023 20:42:00 +0000 (UTC) (envelope-from freebsd@grem.de) Authentication-Results: mx1.freebsd.org; none Received: by mail.evolve.de (OpenSMTPD) with ESMTP id ec4ae82f; Mon, 18 Sep 2023 20:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=QnD2ciNdo16FOd /ENmgHFzoEhGE=; b=O6vb9qvKNAek+Icu5vNy6zR+41Ga8G5PSVQYNi60gBTCeR YidW58GgmLwKFyCPI7zWq0sgmwkKF/kjKfMgo39xdS47uRS7fh/r3W6L9CU47/3y 5AuOWysKIAJaQt4Y45Mm0jzIXlW1VemiazP1fiyEl+gk86+1r8+zAsiMY9KPSUrB zNINJQsrbTp0ZMk1hGLEZAv0224W8Ji41gzBDaDV4hPcq+elQVnDF+b48JG2Vz0x YzOXwzhryDOgZzgXqLdJpjDJnkD2bRnkp7NvnZTYFQfidLq7J2xaIwfrYnHyiqG5 q7rb9dRPDTasFUoOOfhA1mIvvfro3y3leRUM2CZQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=kU1G2yaJ iWvYGQiGHkCrOgPyOHHq/pe3LdyZ+TsDLTpA0A/I3t0H9rJgT3OVR9fxjTCeiZPV Gld75Yr4sizIs0yAGsDHGLN8bRPyqAKMKGaXb+srYJlv/naeYqp9coobBVobrYA9 oH1ISkSURyMJ672ULntRpH/QzNdRBXjWEsX26Nw6r26DyHxiQZWmoWIXZ7CfIITs NB67H2I1SNQQOcq0ktI3xKajNjK0bAcDTi3eNxvEPDjsi+UNTxE0jejqDG8F0jK4 fJP109HPazGSrGXs7WFPbG014E5DdD8MYxFWXJR7A/MkuU6nzmkanRwc2HTf/2Sb GnrLDsKKE9Tl9g== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 79a31e33 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 18 Sep 2023 20:41:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: CPU consumtion by kglobalaccel / Xorg (was: Fwd: xorg-server-21.1.8_2,1 && key Control_L) From: Michael Gmelin In-Reply-To: Date: Mon, 18 Sep 2023 22:41:52 +0200 Cc: Gleb Popov , kde@freebsd.org, freebsd-x11@freebsd.org Message-Id: <68ED5BF0-4A51-4787-A11A-D75E8F23ED06@grem.de> References: To: Matthias Apitz X-Mailer: iPhone Mail (20G81) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE] X-Rspamd-Queue-Id: 4RqGtd0xvxz4Ps1 > On 18. Sep 2023, at 18:03, Matthias Apitz wrote: >=20 > =EF=BB=BFEl d=C3=ADa lunes, septiembre 18, 2023 a las 11:36:17a. m. +0200,= Matthias Apitz escribi=C3=B3: >=20 >>> El d=C3=ADa lunes, septiembre 18, 2023 a las 11:08:16 +0300, Gleb Popov e= scribi=C3=B3: >>>=20 >>> On Mon, Sep 18, 2023 at 10:42=E2=80=AFAM Matthias Apitz wrote: >>>>=20 >>>>=20 >>>> I investigated the problem described below further and modified >>>> ~/.xinitrc to not start plasma, but twm and one xterm. The issue depend= s >>>> clearly on KDE5. On KeyPress event of Control_L the two processes >>>> Xorg and kglobalaccel jump in top on the list, Xorg with 30++%. >>>>=20 >>>> If one uses multiple time Control_L + TAB to rotate between the virtual= >>>> desktops, this is lazy at the beginning and later the requests get >>>> somehow stacked nd re-played by its own like a movie. >>>>=20 >>>> This is not with my older laptop installation with ports from end of >>>> 2020 (which have been bleeding edge at this time). >>>>=20 >>>> Should I file a bug in bugs.kde.org or is that somehow a known issue? >>>>=20 >>>> Thanks >>>=20 >>> Probably you have something strange bound to this shortcut. Does the >>> problem exist for a newly created user (with empty ~/.config and >>> ~/.cache) ? >>=20 >> The trees ~/.config and ~/.cache have been copied from the 2020's system >> which is still in use. But I will follow your advice and test with a >> newly created user. >=20 > I created a new user 'test', did login as 'test', copied my ~guru/.xinitrc= > to ~/.xinitrc, started KDE with 'startx' and started on the empty desktop > 'Konsole' from the Application launcher and with 'Konsole' the command > 'top'. Using the key 'Control_L' a few times, let's say 10 times in 10 > seconds, brings the proc Xorg to 60% and kglobalaccel to 20% CPU utilizati= on. >=20 > Please let me know, if I could check something. >=20 Could you share the content of your .xinitrc (excuse if you had before). Best > Thanks >=20 > matthias >=20 > --=20 > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-17= 6-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub >=20