[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-08-05 Thread Henrik Juul Hansen
** 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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-08-05 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-28 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-21 Thread Henrik Juul Hansen
** 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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-21 Thread Henrik Juul Hansen
@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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-19 Thread Henrik Juul Hansen
@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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-18 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-14 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-13 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-11 Thread Henrik Juul Hansen
@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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-11 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-08 Thread Henrik Juul Hansen
** 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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-08 Thread Henrik Juul Hansen
** 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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-08 Thread Henrik Juul Hansen
@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:

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-07 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-07 Thread Henrik Juul Hansen
@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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-07 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-06 Thread Henrik Juul Hansen
@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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-06 Thread Henrik Juul Hansen
@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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-05 Thread Henrik Juul Hansen
@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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-05-04 Thread Henrik Juul Hansen
@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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-03-27 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-03-27 Thread Henrik Juul Hansen
** 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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-02-19 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-02-05 Thread Henrik Juul Hansen
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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-02-02 Thread Henrik Juul Hansen
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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-31 Thread Henrik Juul Hansen
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' >

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-29 Thread Henrik Juul Hansen
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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-27 Thread Henrik Juul Hansen
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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-26 Thread Henrik Juul Hansen
** 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:

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-25 Thread Henrik Juul Hansen
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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-25 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-24 Thread Henrik Juul Hansen
** 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:

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-24 Thread Henrik Juul Hansen
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)

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-24 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-23 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-23 Thread Henrik Juul Hansen
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"

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-23 Thread Henrik Juul Hansen
** 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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-23 Thread Henrik Juul Hansen
** 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.

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-23 Thread Henrik Juul Hansen
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

[Bug 1912057] Re: Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-16 Thread Henrik Juul Hansen
** 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.

[Bug 1912057] [NEW] Power consumption higher after suspend - Ubuntu 20.10 on Asus UX425JA

2021-01-16 Thread Henrik Juul Hansen
Public bug reported: After boot the idle power consumption is around 2.3 W but after suspend it is 4.7 W. The measurement is 5-10 min after boot/resume - looking at "top" to see system was idle. This is consistent - I have tried more that 10 times. BIOS is updated to latest version. I have