[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <75mv5mbkhuimqoof7xoolx5jdebaygiiy2yjgkod3wecbkt3g5@zl5ljugmb26u>
Date: Wed, 25 Dec 2024 08:48:32 -0500
From: Kurt Borja <kuurtb@...il.com>
To: Lukas Wunner <lukas@...ner.de>
Cc: linux-crypto@...r.kernel.org, Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, linux-kernel@...r.kernel.org
Subject: Re: [REGRESSION][BISECTED] Double energy consumption on idle
On Wed, Dec 25, 2024 at 12:03:37PM +0100, Lukas Wunner wrote:
> On Tue, Dec 24, 2024 at 07:42:49PM -0500, Kurt Borja wrote:
> > When I first booted into v6.13 I noticed my laptop got instantly hotter
> > and battery started draining fast. Today I bisected the kernel an ran
> > powerstat [1]. It comes down to
> >
> > Upstream commit: 6b34562f0cfe ("crypto: akcipher - Drop sign/verify operations")
> [...]
> > Graphics:
> > Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
> > Device-2: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
> > v: 565.77
>
> I note that you're using the out-of-tree nvidia driver on v6.12.
>
> The driver may be using the portions of the akcipher API that were
> removed by the commit you bisected to. E.g. this source file calls
> crypto_akcipher_verify():
>
> https://github.com/NVIDIA/open-gpu-kernel-modules/blob/main/kernel-open/nvidia/libspdm_ecc.c
>
> Are you seeing build or load errors for the nvidia module?
>
> If the module is not loaded, no voltage / frequency scaling happens,
> which would indeed result in the dGPU consuming an awful lot of power.
Hi Lukas,
This is indeed the case, 6b34562f0cfe breaks my nvidia module. I didn't
notice dkms was reporting errors when trying to install it.
I'll look into it and report it to NVIDIA or my distro maintainers if
it's necessary.
Thank you so much for your help!
~ Kurt
>
> Thanks,
>
> Lukas
Powered by blists - more mailing lists