High cpu temperature and fan when loading i195 kernel module

Luca Franchini calicant at gmail.com
Mon Jul 13 06:50:49 PDT 2020


Hi François,
hi all,

I'm very happy because I was finally able to have i915 loaded
without acpi storm on this skylake system :-)

Lenovo T460p (BIOS version 2.31)

# dmesg | grep CPU | grep Intel
CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (2592.00-MHz K8-class CPU)

# uname -a
DragonFly amidatacyber730.mia.casa 5.9-DEVELOPMENT DragonFly
50ce654e-DEVELOPMENT #1: Mon Jul 13 09:48:10 UTC 2020

roughly removing these lines from dsdt.asl:

        Method (_L66, 0, NotSerialized)  // _Lxx: Level-Triggered GPE,
xx=0x00-0xFF

         {
             If (\_SB.PCI0.GFX0.GSSE (\_SB.PCI0.GFX0.GSCI ())){}
             Else
             {
                 \_SB.PCI0.SMBU.CPSC = 0x01
             }
         }


I'm documenting here for others who might find this useful:

# acpidump > a0
# acpixtract a0
# iasl dsdt.dat
# iasl dsdt.dsl

# cp dsdt.aml /boot/kernel/

not sure if it will be searched also here...

# cp dsdt.aml /boot/

# cat /boot/loader.conf | grep dsdt

acpi_dsdt_load=YES

acpi_dsdt_name="dsdt.aml"


at last removing scfb for intel driver:

# cat /usr/local/etc/X11/xorg.conf.d/driver-scfb.conf

Section "Device"
 Identifier "Card0"
 #Driver     "scfb"
 Driver	     "intel"
EndSection

acpi irq rate after rebooting is now 4:

# vmstat -i | grep acpi0
acpi0                        13953          4

and intel DRI driver is in use:

# cat /var/log/Xorg.0.log | grep DRI
[   121.913] (II) intel(0): [DRI2] Setup complete
[   121.913] (II) intel(0): [DRI2]   DRI driver: i965
[   121.913] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   121.913] (II) intel(0): direct rendering: DRI2 enabled
[   121.917] (II) Initializing extension DRI3
[   121.942] (II) GLX: Initialized DRI2 GL provider for screen 0
[   121.943] (II) Initializing extension XFree86-DRI
[   121.943] (II) Initializing extension DRI2


Luca


Il giorno lun 12 giu 2017 alle ore 19:37 Francois Tigeot <
ftigeot at wolfpond.org> ha scritto:

> Luca Franchini wrote:
> >
> > I was also wandering if this fix:
> >
> >
> https://gitweb.dragonflybsd.org/dragonfly.git/commit/a1c669c2dd93fe4b582a517eef04068310bc789b
> >
> >  could mitigate those powersaving issues.
>
>
> It should help, Imre pushed it to fix excessive power consumption he saw
> on a Broadwell machine.
>
> It is not enough by itself though, something is deeply wrong with
> Skylake mobile platforms.
>
> --
> Francois Tigeot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20200713/b99ff915/attachment-0003.htm>


More information about the Users mailing list