Re: [Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
Done. Thanks! Bug 110997 - NV50 fan runs at full speed after resume from suspend on kernels 5.1.8, 4.19.49 https://bugs.freedesktop.org/show_bug.cgi?id=110997 On Tuesday, June 25, 2019, 11:21:24 AM EDT, Ilia Mirkin wrote: Hi Mar, Could you file a bug (bugs.freedesktop.org under xorg -> Driver/nouveau) with a summary of this info (i.e. a problem statement, that reverting the commit in question fixes it, the lspci output) and additionally, your VBIOS. You can obtain this with nouveau loaded by doing cp /sys/kernel/debug/dri/0/vbios.rom /tmp This will help centralize all the info. Thanks, -ilia On Sun, Jun 23, 2019 at 12:34 AM Mar Mel wrote: > > > Sure: > > $ lspci -nn -d 10de: > 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200 [GeForce > GTX 260] [10de:05e2] (rev a1) > > > > > > On Saturday, June 22, 2019, 2:19:31 PM EDT, Ilia Mirkin > wrote: > > > > > > Mar - can you provide the output of > > lspci -nn -d 10de: > > On Sat, Jun 22, 2019 at 2:17 PM Lyude Paul wrote: >> Hi, is this actually an nv50 GPU, or some other model? I can try to take a >> closer look at this >> >> On Sun, 2019-06-16 at 10:28 -0400, Ilia Mirkin wrote: >>> I don't really see anything between v5.0..v5.1 which would account for >>> this. Could have been a subtle change to the i2c logic somewhere. The >>> fastest way to identify the problem would be to do a bisect on the kernel >>> to identify the commit that caused this. There are many guides for this >>> online. >>> >>> On Sat, Jun 15, 2019 at 12:17 PM Mar Mel wrote: >>>> >>>> >>>> Unfortunately, even with this change now reverted in kernel 5.1.10, the >>>> fan speed issue persists. >>>> >>>> If someone could point me in the direction of a relevant commit(s) I'll >>>> happily file a bug report. >>>> >>>> >>>> >>>> >>>> On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel >>>> wrote: >>>> >>>> >>>> >>>> >>>> >>>> As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full >>>> speed. >>>> >>>> Not sure if it has to do with this new config option >>>> (NOUVEAU_LEGACY_CTX_SUPPORT)? >>>> >>>> This issue is not present using kernel 5.0.21. >>>> >>>> Years ago I filed a similar issue: >>>> >>>> 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 >>>> adt7475 on kernels 3.3.x+ >>>> >>>> Thanks. >>>> >>>> >>>> 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... >>>> >>>> >>>> >>>> >>>> >>>> ___ >>>> Nouveau mailing list >>>> Nouveau@lists.freedesktop.org >>>> https://lists.freedesktop.org/mailman/listinfo/nouveau >>> ___Nouveau mailing >>> listNouveau@lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/nouveau >> -- Cheers, >> Lyude Paul >> > > ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
Sure: $ lspci -nn -d 10de: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200 [GeForce GTX 260] [10de:05e2] (rev a1) On Saturday, June 22, 2019, 2:19:31 PM EDT, Ilia Mirkin wrote: Mar - can you provide the output of lspci -nn -d 10de: On Sat, Jun 22, 2019 at 2:17 PM Lyude Paul wrote: Hi, is this actually an nv50 GPU, or some other model? I can try to take a closer look at this On Sun, 2019-06-16 at 10:28 -0400, Ilia Mirkin wrote: I don't really see anything between v5.0..v5.1 which would account for this. Could have been a subtle change to the i2c logic somewhere. The fastest way to identify the problem would be to do a bisect on the kernel to identify the commit that caused this. There are many guides for this online. On Sat, Jun 15, 2019 at 12:17 PM Mar Mel wrote: Unfortunately, even with this change now reverted in kernel 5.1.10, the fan speed issue persists. If someone could point me in the direction of a relevant commit(s) I'll happily file a bug report. On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel wrote: As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed. Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 adt7475 on kernels 3.3.x+ Thanks. | | | | 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... | | | ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau ___Nouveau mailing listnouv...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau -- Cheers, Lyude Paul ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
I can confirm that reverting just this commit fixes the fan speed regression using kernel 5.1.12. How do we go about getting this reverted from stable kernels? CCing the author. On Friday, June 21, 2019, 4:28:19 PM EDT, Mar Mel wrote: Thanks for finding this Emil! The change you point out also landed on 4.19.49 and I am able to reproduce the fan speed issue with that kernel as well, whereas previous 4.19.x series kernels were fine. I'll attempt to build both the latest 4.19.x and 5.1.x stable kernels with that patch reverted and see if it's the sole culprit. On Friday, June 21, 2019, 1:32:19 PM EDT, Emil Velikov wrote: Some weird interaction with disabling the i2c access, in the following patch perhaps? commit cd68344b283174a9b38e9488d5a929464e1f417c Author: Lyude Paul Date: Tue Apr 9 16:23:30 2019 -0400 drm/nouveau/i2c: Disable i2c bus access after ->fini() On Sun, 16 Jun 2019 at 15:28, Ilia Mirkin wrote: I don't really see anything between v5.0..v5.1 which would account for this. Could have been a subtle change to the i2c logic somewhere. The fastest way to identify the problem would be to do a bisect on the kernel to identify the commit that caused this. There are many guides for this online. On Sat, Jun 15, 2019 at 12:17 PM Mar Mel wrote: Unfortunately, even with this change now reverted in kernel 5.1.10, the fan speed issue persists. If someone could point me in the direction of a relevant commit(s) I'll happily file a bug report. On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel wrote: As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed. Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 adt7475 on kernels 3.3.x+ Thanks. | | | | 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... | | | ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
Thanks for finding this Emil! The change you point out also landed on 4.19.49 and I am able to reproduce the fan speed issue with that kernel as well, whereas previous 4.19.x series kernels were fine. I'll attempt to build both the latest 4.19.x and 5.1.x stable kernels with that patch reverted and see if it's the sole culprit. On Friday, June 21, 2019, 1:32:19 PM EDT, Emil Velikov wrote: Some weird interaction with disabling the i2c access, in the following patch perhaps? commit cd68344b283174a9b38e9488d5a929464e1f417c Author: Lyude Paul Date: Tue Apr 9 16:23:30 2019 -0400 drm/nouveau/i2c: Disable i2c bus access after ->fini() On Sun, 16 Jun 2019 at 15:28, Ilia Mirkin wrote: I don't really see anything between v5.0..v5.1 which would account for this. Could have been a subtle change to the i2c logic somewhere. The fastest way to identify the problem would be to do a bisect on the kernel to identify the commit that caused this. There are many guides for this online. On Sat, Jun 15, 2019 at 12:17 PM Mar Mel wrote: Unfortunately, even with this change now reverted in kernel 5.1.10, the fan speed issue persists. If someone could point me in the direction of a relevant commit(s) I'll happily file a bug report. On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel wrote: As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed. Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 adt7475 on kernels 3.3.x+ Thanks. | | | | 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... | | | ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
Re: [Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
Unfortunately, even with this change now reverted in kernel 5.1.10, the fan speed issue persists. If someone could point me in the direction of a relevant commit(s) I'll happily file a bug report. On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel wrote: As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed. Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 adt7475 on kernels 3.3.x+ Thanks. | | | | 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... | | | ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed
As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed. Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 adt7475 on kernels 3.3.x+ Thanks. | | | | 60704 – [nouveau, git regression] - I2C PWM fan control broken on nv50 a... | | | ___ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau