From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7EA1158083 for ; Thu, 5 Sep 2024 21:29:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85876E2AA4; Thu, 5 Sep 2024 21:29:19 +0000 (UTC) Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02C4EE2A8D for ; Thu, 5 Sep 2024 21:29:18 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EA429C6471 for ; Thu, 5 Sep 2024 21:29:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1725571757; a=rsa-sha256; cv=none; b=iYzx2aLU5PPLEJNGMQd2FkxyuocD08DcIvhj2YrGXpbCBld5lvMZdCIftvvTfwCQlRSmWi 09PRAKxdWA3f+zJms8nwQMlTUTmHtUYG59AOlwTbml1/UsB231nccjgqp1V4sFAQUKtw18 Rf+SyaK88XjmInOcicO7QOFEUHbN4GMPNheW0Yuxql9I33tjasPJRHjT6FM1A+DlAb+BXD ofwZfA0pRarTArG7hZGGQqaBGjoEEXGpZtyT+t72l8GPWEmXnkCNJKRRkrIZQQHv2FEfgH kak8oDoAO1Fr6/mGexkSE/NRUClx3ctJ13g7xjk96uvJ8sYspEEiKgHhCdVq3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1725571757; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=rrvldncref2nwbe94E5JUDNnIOTnxJeEq//xX7Umlbo=; b=laYhjZ0DfcyPgvRJDFmSp1CjHXDIi8MCfCAtNcTygXJFCUtyo5Wh+17Ax4XI4/bzf0AM5B hdI1kQMxuuWMTTJ4lhUdf/jftxLiRSb24eHHW45zq3X1pNJed1zGb14Wy0gLa1I6OjCDsI BxLOv3Vo4JnlwTsTippMLT/bYzbe13OSkedQ2C3tYc5mh3IbJ4P3RUVvJmb4s3b2wkcz8s e4sJ/689FpiD5miNiY1kk4hOWvoIj8eOnwshLc2RxcJRpw/lICBZlY8IUjVt6jVY792JiS Ei1uPSZdysVFVJ6RYB/D6GXMiIvAUKKicJMukG79VDxYa84vmXGJkm2xLCei8g== ARC-Authentication-Results: i=1; rspamd-85dcd79db4-f5749; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Print-Versed: 3f45bcd3014d4db2_1725571757835_2968350656 X-MC-Loop-Signature: 1725571757835:2677379524 X-MC-Ingress-Time: 1725571757835 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.119.227.141 (trex/7.0.2); Thu, 05 Sep 2024 21:29:17 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 4B0E71E0004 for ; Thu, 5 Sep 2024 22:29:15 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wayland and CPU load Date: Thu, 05 Sep 2024 22:29:14 +0100 Message-ID: <4347395.mogB4TqSGs@rogueboard> In-Reply-To: <2746872.mvXUDI8C0e@cube> References: <5814876.DvuYhMxLoT@cube> <5815640.DvuYhMxLoT@cube> <2746872.mvXUDI8C0e@cube> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3678526.hdfAi7Kttb"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172557175433.1736158.13408261052040162346@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 4B0E71E0004 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_TLS_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_SPF_ALLOW(0.00)[+mx]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.975]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 244d0f92-bf8b-4e42-a0f9-41dd5e60a764 X-Archives-Hash: 31af23b71ce3fe2c5b6b182b4a294d3f --nextPart3678526.hdfAi7Kttb Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] Wayland and CPU load Date: Thu, 05 Sep 2024 22:29:14 +0100 Message-ID: <4347395.mogB4TqSGs@rogueboard> In-Reply-To: <2746872.mvXUDI8C0e@cube> MIME-Version: 1.0 On Thursday 5 September 2024 20:00:12 BST Peter Humphrey wrote: > On Thursday 5 September 2024 15:43:00 BST Iwrote: > > On Thursday 5 September 2024 13:47:29 BST I wrote: > > > ... Perhaps I should start recompiling things... > > > > After an emerge -e1 kwayland plasma-workspace and a reboot, kwin_wayland > > is > > down to 20-60% CPU and plasma_shell is barely visible in /top/. > > > > Much improved, but it still isn't right. > > It came back again, so I ran a complete -e, rebooted, recompiled the kernel > again and rebooted again. > > It's all back as it was - no CPU cycles left for anything else but wayland > and plasam-shell. > > How to debug this? At a simple level you can check this file for any obvious problem: ~/.local/share/sddm/wayland-session.log Your symptom could be related to software rendering used by the kwin compositor, as opposed to OpenGL. Mesa with appropriate USE flags should provide what your graphics need. Have a look in kinfocenter, or run: qdbus6 org.kde.KWin /KWin supportInformation and check the section under Compositor, Compositor Type is not showing Xrender or software rendering. Beyond this I think you're into compiling stuff with debugging symbols and trying to understand where code fails: https://community.kde.org/KWin/Debugging --nextPart3678526.hdfAi7Kttb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbaIqoACgkQseqq9sKV ZxlgQw//V11a0FMFbDjFGTkuPB48usAgj77NPQRwMFfACPdlqICf4/WXW1GUZew7 Hv7OZU15CYUAdnujhvMkn4j4Uexl3CXdhWvTtR4gtiAX5OFQuu9cwzh+5fOsVSKl FX5viDoxvfI4eLZF20ednPUI9iU9VxXTUf9TK/ED+WpeixCdLwpb23zSgOvtVIMP ZoGZWxyHellQzys+UcPXgczPXTd4vDe0Qn/xRTuqvlgZ7Ms731iShrtPmOFYhDOh LmeBCXG6Hju601+1c4vxgd51Hb0h954Rmz58kHjt2ZQTc5RNOZqVV7LB9XS84NBK c3OXafGtxcVdHYCFMkZBeFyDsmfbJ1LW030IAwaIhuvrpcKX+uYdwPrvvfEe0FWh 3DNOs+UK6gm6ivCaBOxod85FA0kAQZX0rusd+CowdP5DlKjW3++GCTH8jaZT8NHk zQUPmFSdUEQcjQ/Zc+YEpqMew6PCLTsDMfkr6BoqyTXZQTJYeMZ7/kr9Af9wnyWL oE/VffPMsWad+gFaDglu0u7enJjoszbCW6JPfMx3pO3mP54ULZcut046NoO9q/Pq S0faR55bqNVAFHYEZrNMGaogtxsKflcpLwN2QW0Zwth8KUwDay7fyhhuz4mxDDq2 clJucEVVpl27e2ZyW5H81SDEb2Vjf4hf1libQ1mnSiWJMsYnARI= =LaQi -----END PGP SIGNATURE----- --nextPart3678526.hdfAi7Kttb--