[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2018-03-26 Thread Leonardo Müller
I remember I read that article two days after the notebook had arrived.
Its Linux support was really poor, even with it having Satux Linux (a
really bad distribution). It had much more problems which quickly were
corrected, but this one is one of the most persistent issues (tied with
the wireless problem we're nearly solving).

>From what I researched back then ( 
>https://access.redhat.com/documentation/pt-br/red_hat_enterprise_linux/6/html/power_management_guide/alpm
> ), these SATA LPM options are changed by the following commands on this 
>notebook:
echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy'
echo 'min_power' > '/sys/class/scsi_host/host1/link_power_management_policy'

And they work. As the powertop proposed changes were effective back then
to enable Package C3 and now Package C8, I've done a systemd service to
enable them on boot.

Only USB ports and the PCI Audio device aren't with its powersave modes,
as setting them to save more power make problems start to appear.

** Attachment added: "econoenerg.service"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/5091424/+files/econoenerg.service

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2018-03-25 Thread Kai-Heng Feng
This articles says that enabling SATA LPM [1] can reach deeper then C3.
But since your laptop already reaches C8, I guess it won't help.

https://mjg59.dreamwidth.org/41713.html?thread=1748721

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2018-03-25 Thread Leonardo Müller
r8168-dkms have not made it hit a higher package C state. On page 70 of
the document I posted the link on comment 7, it shows the maximum
package C state the Skylake U/Y would be able to reach, depending of
screen resolution. As this notebook has a 1366x768 screen, I suppose
that it would reach up to Package C8 without PSR (Panel Self-Refresh)
disabled, but I have it enabled:

[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-041600rc6-generic 
root=UUID=6b4ae5c0-c78c-49a6-a1ba-029192618a7a ro i915.enable_psr=1
[0.00] Kernel command line: 
BOOT_IMAGE=/boot/vmlinuz-4.16.0-041600rc6-generic 
root=UUID=6b4ae5c0-c78c-49a6-a1ba-029192618a7a ro i915.enable_psr=1
[1.450734] Setting dangerous option enable_psr - tainting kernel

It may be on the maximum power save state already this particular
notebook model can have. The remaining thing to test would be the
powertop proposed changes.

Today is the first time I've seen that the notebook is using less than 5
W of power while in use. If its battery was as when it was new, I would
be able to get more than 6 hours of battery.

** Attachment added: "powertop_416rc6.html"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/5090792/+files/powertop_416rc6.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2018-03-25 Thread Kai-Heng Feng
Try using r8168-dkms instead of r8169. Some platforms require features
in r8168-dkms to hit deeper CPU package state.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2018-03-24 Thread Leonardo Müller
The behavior has greatly improved using the kernel 4.16.0-rc6, the
package is reaching the state C8. It's still not C10, but it is pretty
close.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
With this notebook, I am using Xubuntu 16.04 since I bought it. Since
the start battery lasted less time than on Windows 10, but I didn't know
why this was happening. The kernel at December 2016 was way more
problematic, but nearly all the problems were solved, but this one,
which reduces battery time, is still present.

I have tested the upstream kernel, and there are improvements: the
package is reaching C3. While it is only one stage above, this single
stage means 0,4 W of less consumption. When speaking about a system that
uses 7 W, this 0,4 W means more than 5% of economy.

It is still not perfect, as
http://www.intel.com/content/www/us/en/processors/core/6th-gen-core-
family-mobile-u-y-processor-lines-datasheet-vol-1.html states, package
can reach C10, so there is still something to do.

However, when installing the upstream kernel, there were warning
messages:

update-initramfs: Generating /boot/initrd.img-4.11.0-041100rc8-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for 
module i915

I don't mind with bxt* and kbl*, as they are other generations
processors, but there is one Skylake message, so I believe different
problems can happen, and as they are related i915, I suppose it's
graphics.

So, while there is a improvement, it is still saving energy as it could,
so I believe the bug still exists.

** Attachment added: "turbostat411rc8"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/4868333/+files/turbostat411rc8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
** Attachment added: "powertop411rc8.html"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/4868334/+files/powertop411rc8.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc8

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** 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/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
** Attachment added: "sudo turbostat --debug --out turbostat"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/4868280/+files/turbostat

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
Here is the powertop output. Tuning additional options to "Good" from
this point start to cause problems, as crackling sound and nonfunctional
mouse.

** Attachment added: "powertop.html"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/4868281/+files/powertop.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1686448] Re: Unable to reach higher than package C2 state with Skylake processor

2017-04-26 Thread Leonardo Müller
** Attachment added: "Guidelines"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+attachment/4868278/+files/version.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686448

Title:
  Unable to reach higher than package C2 state with Skylake processor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1686448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs