[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2021-04-21 Thread Kai-Heng Feng
Turns out this is going to be really hard. It requires change in both PCI and HDA, and potentially in nouveau and proprietary nvidia driver. I'll revisit this once upstream devs have a concrete plan. ** Changed in: linux (Ubuntu) Status: In Progress => Confirmed ** Changed in: linux

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-20 Thread George Kapetanos
Those errors aren't printed when booting with hdmi connected. Attached related dmesg output. Device `01:00.1` is suspended. I can confirm from documentation about this laptop (Acer aspire A715-71G) that the embedded display is connected to the intel GPU (eDP) and the HDMI port is connected to the

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-17 Thread Kai-Heng Feng
Does this happen when boot with HDMI/DP connected? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10 5.8.0-31-generic To manage

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-16 Thread Kai-Heng Feng
https://lkml.org/lkml/2020/12/16/347 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10 5.8.0-31-generic To manage notifications about

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-16 Thread George Kapetanos
5.8.0-35-generic #37~lp1907212+4 Nvidia gpu successfully powered down. $ cat /sys/bus/pci/devices/:01:00.1/power/runtime_status suspended The previous snd_hda_intel error messages aren't printed anymore, yet "snd_hda_intel :01:00.1: can't change power state from D3cold to D0 (config space

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-15 Thread Kai-Heng Feng
Thanks. Please bear with me and test this one: https://people.canonical.com/~khfeng/lp1907212+4/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-15 Thread George Kapetanos
With this one 5.8.0-35-generic #37~lp1907212+3, nvidia gpu isn't powered down: $ cat /sys/bus/pci/devices/:01:00.1/power/runtime_status active $ cat /sys/bus/pci/devices/:01:00.1/power/control auto At ~242 there are also snd_hda_intel errors on attached dmesg, which are later reprinted

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-14 Thread Kai-Heng Feng
Can you please give this a try: https://people.canonical.com/~khfeng/lp1907212/3/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-13 Thread Kai-Heng Feng
https://lkml.org/lkml/2020/12/14/25 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10 5.8.0-31-generic To manage notifications about

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-13 Thread George Kapetanos
With this kernel 5.8.0-35-generic #37~lp1907212+2 nvidia gpu is successfully powered down, and idle power consumption was normal at 5-6 watt. $ cat /sys/bus/pci/devices/:01:00.1/power/runtime_status suspended $ cat /sys/bus/pci/devices/:01:00.1/power/control auto On dmesg output there

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-13 Thread Kai-Heng Feng
Ok, please test this one: https://people.canonical.com/~khfeng/lp1907212/2/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-13 Thread Kai-Heng Feng
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) ** Changed in: linux (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-12 Thread George Kapetanos
$ cat /sys/bus/pci/devices/:01:00.1/power/runtime_status active $ cat /sys/bus/pci/devices/:01:00.1/power/control auto They are the same with both 5.8.0-31-generic and 5.8.0-35-generic from https://people.canonical.com/~khfeng/lp1907212/ -- You received this bug notification because you

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-11 Thread Kai-Heng Feng
What's the "runtime_status" and "control" of device :01:00.1? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-11 Thread George Kapetanos
Dmesg after booting with provided kernel https://people.canonical.com/~khfeng/lp1907212/ High power consumption remains, `echo :01:00.1 | sudo tee /sys/module/snd_hda_intel/drivers/pci:snd_hda_intel/unbind` works. ** Attachment added: "dmesg_5.8.0-35-generic.txt"

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-10 Thread Kai-Heng Feng
Can you please test this kernel: https://people.canonical.com/~khfeng/lp1907212/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression after upgrade to 20.10

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-10 Thread George Kapetanos
$ uname -r 5.10.0-051000rc6-generic Dmesg attached after booting with intel gpu and 5.10, high power consumption remains, again `echo :01:00.1 | sudo tee /sys/module/snd_hda_intel/drivers/pci:snd_hda_intel/unbind` works. ** Attachment added:

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-09 Thread Kai-Heng Feng
Please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc6/amd64/ And attach dmesg here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-08 Thread George Kapetanos
It was certainly working with 5.4.0-* from 20.04 at some time, I have been mainly using dGPU for 2-3 months, and wouldn't have noticed any regressions. Strangely, I tested with 5.4.0-56-generic that remained after the upgrade, and it is also not powering down dGPU. 20.10 didn't upgrade nvidia

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-08 Thread Kai-Heng Feng
What was the last working version? ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907212 Title: Power consumption regression

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-08 Thread George Kapetanos
This error on dmesg is relevant `snd_hda_intel :01:00.1: can't change power state from D3cold to D0 (config space inaccessible)`, if I unbind the nvidia audio device function with `echo :01:00.1 > /sys/module/snd_hda_intel/drivers/pci:snd_hda_intel/unbind` power consumption returns to

[Bug 1907212] Re: Power consumption regression after upgrade to 20.10 5.8.0-31-generic

2020-12-08 Thread George Kapetanos
** Summary changed: - Power consumption regression after ugrade to 20.10 5.8.0-31-generic + Power consumption regression after upgrade to 20.10 5.8.0-31-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.