[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "powertop-5.13.0+.html" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5515994/+files/powertop-5.13.0+.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Kai-Heng, I have tried kernel 5.13.0+ from #73. Power consumption is the same and NVMe has ASPM L1 enabled both before and after suspend/resume. I have been running the kernel for a few hours now and also done some suspend/resume and it seems to work fine. I have attached dmesg and powertop output. ** Attachment added: "dmesg_5.13.0+.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5515993/+files/dmesg_5.13.0+.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Henrik, please test this kernel: https://people.canonical.com/~khfeng/lp1927866-upstream/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
https://lkml.org/lkml/2021/6/25/52 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Changed in: linux (Ubuntu) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Just a follow-up to anyone else is using this hardware. I have been using kernel 5.11.0-17-generic and "echo 0 | sudo tee /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed" just after boot. Now I have uptime 4 days 23 hours with many suspend/resumes and power consumption is remaining as it is just after boot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "lspci-5.13.0-051300rc2.after.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5499184/+files/lspci-5.13.0-051300rc2.after.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, I have attached output from "sudo lspci -vvv" before and after suspend/resume for kernel 5.13.0-051300rc2-generic. ** Attachment added: "lspci-5.13.0-051300rc2.before.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5499183/+files/lspci-5.13.0-051300rc2.before.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, would you please help to collect lspci -vvv #sudo lspci -vvv -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba I tried kernel 5.13.0-051300rc2-generic. After boot d3cold_allowed was "1", ASPM L1 enabled for nvme (and bluetooth did not work). After suspend/resume ASPM L1 was disabled for nvme. Power consumption higher. dmesg is attached. ** Attachment added: "dmesg-koba-5.13.0.rc2.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5498809/+files/dmesg-koba-5.13.0.rc2.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, forget to reset the patch that disables d3cold_allowed and please try this again. thanks the d3cold_allowed shoube 1. https://drive.google.com/drive/folders/17qeSGLKz8hR8TLsr35qS_4RSDUZcpaLu?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, I have tested kernel 5.10.0-1025lpv1912057i. After boot cat /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed showed "0". After suspend/resume power consumption is the same as before and ASPM L1 is enabled for NVMe. I have attached dmesg. My full name is Henrik Juul Hansen and email is hjhansen2...@gmail.com. You are welcome to put my name on the things I have tested. I have updated my Launchpad info so it should be visible to others. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057i.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5498419/+files/dmesg-koba-5.10.0-1025lpv1912057i.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, would you mind to verify this that wakes nvme from d3. https://drive.google.com/drive/folders/1O30CIxm4YZVexBUc919yI5D3Jmw8M0V4?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** 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. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, For example, someone help to test a solution and the developer come out a patch, The developer would leave the guy's signature in his patch. If you want this way, please give your email and the full name. commit 4514d991d99211f225d83b7e640285f29f0755d0 Author: Rafael J. Wysocki Date: Tue Mar 16 16:51:40 2021 +0100 PCI: PM: Do not read power state in pci_enable_device_flags() ... Link: https://lore.kernel.org/lkml/20210314000439.3138941-1-luzmaximil...@gmail.com/ Reported-by: Maximilian Luz Tested-by: Maximilian Luz Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, Sorry, but I do not know what "test-by signature" is. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Thanks a lot for your efforts, can I have you test-by signature? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, I have tried kernel 5.10.0-1025lpv1912057h. After boot cat /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed showed "0". After suspend/resume power consumption is the same and ASPM L1 is enabled for NVMe. I have attached dmesg. I will test the kernel for a longer time period and see if the power consumption changes. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057h.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5497089/+files/dmesg-koba-5.10.0-1025lpv1912057h.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Thanks, would you please try this that follows the original path of d3cold_allowed to disable nvme d3cold. https://drive.google.com/drive/folders/19-dxtVTFNq5WtN3KOxjOrAXQ_1kYrnbh?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, I have tried kernel 5.10.0-1025lpv1912057g. After boot cat /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed showed "0". After suspend/resume the power consumption is higher. ASPM is disabled for Nvme. I have attached dmesg. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057g.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5496367/+files/dmesg-koba-5.10.0-1025lpv1912057g.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Sorry for causing your inconvenience. don't be in a hurry and if you have free time, please help to try this test kernel remove irrelevant codes. https://drive.google.com/drive/folders/1wRGJNPU0LmmyJMkVLZvG7xLKqinsOZU0?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, Thanks for your help. I have tried the kernel from #55. sudo cat /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed showed "0". The suspend & resume did end up in a freeze. I have attached dmesg (journalctl -k -b -1 on next boot). Just as a note I saw the power consumption during suspend was around 1.0W compared to 0.5W using the 5.10-oem-1025 and "echo 0 | sudo tee" from #51. This was using an external AC power meter - so it includes the power loss in the AC adapter. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057f.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5496322/+files/dmesg-koba-5.10.0-1025lpv1912057f.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Thanks. here's another test kernel that disable d3cold_allowed for nvme with hmb. https://drive.google.com/drive/folders/1gK67OYm6-jeKLj7GIQNZLCaHuaOwVTr1?usp=sharing Please check the status of d3cold_allowed(it must be 0) before s2idle&resume. sudo cat /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "powertop-5.10.0-1025-oem.before.html" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5495699/+files/powertop-5.10.0-1025-oem.before.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "powertop-5.10.0-1025-oem.after.html" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5495700/+files/powertop-5.10.0-1025-oem.after.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, Here is the dmesg from kernel(5.10.0-1025lpv1912057e). For the official 5.10-oem-1025 it seems like disabling d3cold for nvme fixes the issue. ASPM L1 Enabled for nvme and power consumption after suspend/resume is as before. I have attached output from powertop. ** Attachment added: "dmesg.5.10.0-1025lpv1912057e.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5495698/+files/dmesg.5.10.0-1025lpv1912057e.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Please fire the cmd to gather dmesg after you load the last test kernel(5.10.0-1025lpv1912057e) and reboot at the first time. #journalctl -k -b -1 After that, please load the official 5.10-oem-1025 and disable d3cold for nvme #echo 0 | sudo tee /sys/bus/pci/devices/\:58\:00.0/d3cold_allowed Then try to s2idle&resume and measure the power consumption . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Hi Koba, This time the laptop did not resume at all. It did boot first and seemed to function normally but I did not test and quite fast after 30-60sec suspended it. Do you want a dmesg just after boot? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, I'm very appreciative you could help me to figure out this issue, thanks. Sorry for the crash, would you please help to try this and help to collect dmesg? https://drive.google.com/drive/folders/10GpLDqM6OXQ11tDmX5zq6ppA5wsCKeIQ?usp=sharing Thanks again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba, I have tried kernel from #45 (5.10.0-1025lpv1912057d). After suspend, it fails when resuming. The laptop wakes up and I am able to log in, but then it freezes. So no dmesg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, please check it again. Something wrong during uploading and it was fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba I can only see the buildinfo file in the last folder. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Thanks for your hard work, Would you please try another kernel that avoids nvme to fall into d3cold. Please also collect dmesg, thanks https://drive.google.com/drive/folders/1Du-A8EJYxUwS7zkYkfox7JFeU6u8puEZ?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba No problem. I will do. I have tested kernel in #43 (5.10.0-1025lpv1912057c) and attached dmesg. This kernel does not fix the issue. ASPM is Disabled for NVMe and higher power consumption after suspend/resume. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057c.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5495146/+files/dmesg-koba-5.10.0-1025lpv1912057c.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Thanks, would you please try this kernel again that I want to collect the power state of nvme during suspend&resume? please also collect dmesg, thanks https://drive.google.com/drive/folders/1hU4OflO8nE4ShC0rOahpGsu8LhcF_UC-?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba I have tested kernel in #41 (5.10.0-1025lpv1912057b) and attached dmesg. This kernel does not fix the issue. ASPM is Disabled for NVMe and higher power consumption after suspend/resume. ** Attachment added: "dmesg-koba-5.10.0-1025lpv1912057b.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5495070/+files/dmesg-koba-5.10.0-1025lpv1912057b.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik Thanks for your help. Would you please try another kernel that disables HMB prior to s2idle? and also help to collect dmesg, thanks https://drive.google.com/drive/folders/1xMArRlMkED20kSu1pTKuRPvBT8kh__L2?usp=sharing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Koba I have tested the kernel from #39. It fixes the issue. I have attached dmesg. (Installing the headers failed). ** Attachment added: "dmesg.koba.5.10.0.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5494936/+files/dmesg.koba.5.10.0.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Changed in: linux (Ubuntu) Assignee: Kai-Heng Feng (kaihengfeng) => koba (kobako) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, Would you please help to try this kernel? https://drive.google.com/drive/folders/1ixfPnW4N-P_UGS-YkbluCVBuxDnPzXZv?usp=sharing Please also append the dmesg after you reproduce it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@koba Using kernel from #31 - the power consumption is the same before and after suspend/resume and ASPM L1 is enabled for the NVMe after resume. Yes the issue is gone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
@Henrik, When you try the kernel(#31), is issue gone? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Hi again, I have reopened this issue. It is not fixed in mainline 5.11.0, 5.11.7 or 5.11.10. I think I was using your kernel and mixed up the version numbers when I sent the message in #34. Since last I have updated BIOS version from V304->V306. For the last month I have been using the laptop with a USB-hub so I have not payed much attention to the power consumption - this is why I did not see this before now. Let me know if you need me to send more information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Changed in: linux (Ubuntu) Status: Fix Released => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Sorry for the belated response, I was on vacation. It's interesting that it's fixed by 5.11, because I am not seeing any change that can help the issue. Anyway, glad it's sill fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
The issue is resolved in latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/amd64/ I will change the status as resolved. ** Changed in: linux (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
After using the kernel from #31 for 3 days and having many suspend/resumes the system has resumed with ASPM L1 enabled and same power as before suspend every time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Good news! Before suspend/resume: Powertop: around 1.5W - pc2,3,7,8,10 ASPM L1 enabled for all controllers After suspend/resume: Powertop: around 1.5W - pc2,3,7,8,10 ASPM L1 enabled for all controllers Fn-keys and touchpad working. Dmesg is attached. ** Attachment added: "dmesg.5.11.0-7" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5459064/+files/dmesg.5.11.0-7 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
So, saving parent device stat in child's suspend routine doesn't keep parent device at D0. Please test this one instead, it prevents NVMe with HMB shutting down: https://people.canonical.com/~khfeng/lp1912057-keep-hmb-nvme-d0/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I tried the ~khfeng/lp1912057-bridge-d0-2. Before suspend/resume: Powertop: around 1.4W - pc2,3,7,8,10 ASPM L1 enabled for all controllers After suspend/resume: Powertop: around 4.6W - pc2,3 ASPM Disabled for NVMe Attached dmesg after "echo 'file drivers/pci/* +p' > /sys/kernel/debug/dynamic_debug/control" and suspend/resume. ** Attachment added: "dmesg.5.11.0-6_v2" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5458688/+files/dmesg.5.11.0-6_v2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks, apparently the root port doesn't stay at D0. Please give this one a try: https://people.canonical.com/~khfeng/lp1912057-bridge-d0-2/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Before suspend/resume: Powertop: around 1.4W - pc2,3,7,8,10 ASPM L1 enabled for all controllers After suspend/resume: Powertop: around 4.6W - pc2,3 ASPM Disabled for NVMe Fn-keys and touchpad working. ** Attachment added: "dmesg.5.11.0-6" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5458129/+files/dmesg.5.11.0-6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
https://people.canonical.com/~khfeng/lp1912057-bridge-d0/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
The test kernel (accidentally) disabled pcieport driver, and made the issue went away. Two things happened: 1) The rootport stays at D0 2) PME service isn't enabled Let's try 1) first. Will upload a kernel soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I did a similar test as you asked in comment #20. Before suspend/resume: Powertop: around 1.5W - pc2,3,7,8,10 ASPM L1 enabled for all controllers After suspend/resume: Powertop: around 4.8W - pc2,3 ASPM Disabled for NVMe Fn-keys and touchpad working. ** Attachment added: "dmesg.5.10.0-2011" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5457421/+files/dmesg.5.10.0-2011 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
That's really helpful! Can you please test this kernel, which solves another similar issue I am working on: https://people.canonical.com/~khfeng/acs-hack-take-2/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "dmesg.rc4+" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5457093/+files/dmesg.rc4+ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks! Can you please also do the same for the kernel in comment #14? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I have not used dynamic_debug before - hope I did it right. As regular user: "sudo -i" Then as root: "echo 'file drivers/pci/* +p' > /sys/kernel/debug/dynamic_debug/control" followed by "dmesg > dmesg.rc4". ** Attachment added: "dmesg.rc4" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456784/+files/dmesg.rc4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Can you please boot the vanilla 5.11-rc4 kernel, run `# echo 'file drivers/pci/* +p' > /sys/kernel/debug/dynamic_debug/control`, suspend/resume, and attach dmesg? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks for the new kernel. I have tried it. Before suspend/resume: Power consumption around 2.4 W Idle stats: pc2-pc3-pc6 is reached ASPM L1 enabled for NVMe After suspend/resume: Power consumption around 4.9 W Idle stats: pc2-pc3 is reached ASPM Disabled for NVMe and keys & touchpad is working. dmesg is attached. ** Attachment added: "dmesg.5.8.0-1041" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456680/+files/dmesg.5.8.0-1041 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Can you please also attach dmesg under test kernel? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Please give this a try: https://people.canonical.com/~khfeng/lp1912057-5.8/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "rc4.html" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456383/+files/rc4.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I have tested the rc4+ kernel (two reboots with similar results). I will try to summarize the results: Rc4+: ASPM L1 enabled both before and after suspend/resume! Rc4+ before suspend/resume: Power consumption around 4.3 W Idle stats: pc2-pc3 is reached ASPM L1 enabled for NVMe (and all others) Rc4+ after suspend/resume: Power consumption around 4.3 W Idle stats: pc2-pc3 is reached ASPM L1 enabled for NVMe (and all others) Rc4+ breaks some Fn-keys and touchpad. In powertop I get 600 wakeups/s and 10% CPU usage. The Webcam is active 100%. I have attached output from powertop. Rc4 before suspend/resume: Power consumption around 1.4W Idle stats: pc2-pc3-pc7-pc8-pc10 is reached ASPM L1 enabled for NVMe (and all others) Rc4 after suspend/resume: Power consumption around 4.3W Idle stats: pc2-pc3 is reached ASPM Disabled for NVMe (and L1 enabled for all others) Rc4 - In powertop I get 70 wakeups/s and 1% CPU usage. ** Attachment added: "rc4+.html" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456382/+files/rc4+.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks, please test this kernel: https://people.canonical.com/~khfeng/lp1912057/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Output of "sudo acpidump > acpidump" is attached. "cat /sys/bus/pci/devices/:00:1d.0/firmware_node/path" - outputs "\_SB_.PCI0.RP09" ** Attachment added: "acpidump" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456217/+files/acpidump -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Can you please attach "acpidump"? Also, what does "cat /sys/bus/pci/devices/:00:1d.0/firmware_node/path" say? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks a lot for the help! I have tried kernel 5.11-rc4. It does not solve the issue. I have tried 2 test/reboots. Power consumption seems better with new kernel just after boot - around 1.5W but after suspend/resume it is around 4.6W witch is much the same. The ASPM state is like with the old kernel - ASPM L1 Enabled before suspend/resume and after ASPM Disabled. I will be off for tonight. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Thanks for the log. The NVMe drive dropped off the PCI bus after resume. Thanks, please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11-rc4/amd64/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I have done the following - turned off pc. At boot pressed "e" added - pci.dyndbg log_buf_len=16M - to the parameteres after VT-handoff. Logged in, suspend/resumed and added output of "sudo dmesg". ** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456058/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
The NVMe device didn't restore the LTR value. Can you please boot with kernel parameter "pci.dyndbg log_buf_len=16M", reproduce the issue and attach dmesg? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "lspci_after.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456034/+files/lspci_after.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "lspci_before.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456033/+files/lspci_before.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
I have run the command and attached the output. I did it both just after boot and after suspend/resume - same result both times, so I have attached just one output "active". I have been poking around to see any differences in drivers/system state between after boot and after suspend/resume. I have found one difference - using the following command: sudo lspci -vv | grep -E '(^\S|\s+LnkCtl:)' For the Nvme device the LnkCtl - changes from ASPM L1 Enabled to ASPM Disabled. I have attached output of the command before and after suspend/resume. If it is not relevant please just ignore. ** Attachment added: "active" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5456032/+files/active -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
Can you please run the following and attach "active" here: $ find /sys/devices 2>/dev/null | grep runtime_status | while read i; do grep -H . $i; done | egrep -v 'suspended|unsupported' > active ** 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/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA
** Attachment added: "Powertop after suspend" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+attachment/5453727/+files/after.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912057 Title: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs