Help to configure automatic fan speed and cpu frequency on ThinkPad X260

Joel Carnat joel at carnat.net
Sat Apr 24 17:36:40 PDT 2021


Thanks.

I have tried unloading bunch of modules to identify when power 
management is disabled. And it happens exactly when loading when I issue 
"kldload i915".

Apr 25 02:05:34 ThinkPad-X260 kernel: [drm] Initialized
Apr 25 02:05:35 ThinkPad-X260 kernel: [drm] pdev:  vendor=0x8086 
device=0x1916 rev=0x07
Apr 25 02:05:35 ThinkPad-X260 kernel: [drm]       svendor=0x17aa 
sdevice=0x504a irq=18
Apr 25 02:05:35 ThinkPad-X260 kernel: WARN_ON(domain->wake_count == 
0)<4>WARN_ON(domain->wake_count == 0)<4>WARN_ON(domain->wake_count == 
0)<6>[drm] Memory usable by graphics device = 4096M
Apr 25 02:05:35 ThinkPad-X260 kernel: [drm] Supports vblank timestamp 
caching Rev 2 (21.10.2013).
Apr 25 02:05:35 ThinkPad-X260 kernel: [drm] Driver supports precise 
vblank timestamp query.
Apr 25 02:05:35 ThinkPad-X260 kernel: tunable drm.video.eDP-1 is not set
Apr 25 02:05:35 ThinkPad-X260 kernel: i915/skl_dmc_ver1_26.bin: could 
not load firmware image, error 2
Apr 25 02:05:35 ThinkPad-X260 kernel: error: 
[drm:pid-1:csr_load_work_fn] *ERROR* Failed to load DMC firmware 
[https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling 
runtime power management.
Apr 25 02:05:35 ThinkPad-X260 kernel: tunable drm.video.DP-1 is not set
Apr 25 02:05:35 ThinkPad-X260 kernel: tunable drm.video.HDMI-A-1 is not set
Apr 25 02:05:35 ThinkPad-X260 kernel: tunable drm.video.DP-2 is not set
Apr 25 02:05:35 ThinkPad-X260 kernel: tunable drm.video.HDMI-A-2 is not set
Apr 25 02:05:35 ThinkPad-X260 kernel: drm0: taking over the fictitious 
range 0xc0000000-0xe0000000
Apr 25 02:05:35 ThinkPad-X260 kernel: [drm] GuC firmware load skipped
Apr 25 02:05:35 ThinkPad-X260 kernel: kms console: xpixels 1920 ypixels 1080

I can't use modesetting without i915.ko ; because /dev/dri/card0 is 
created by that particular module. So using acceleration glamor or none 
can't be done without first loading i915. Or maybe I missed something?

I have also installed devfw-i915. And the firmware file is available at
/usr/local/share/fw-i915/i915/skl_dmc_ver1_26.bin
I've read the files from DPorts/sysutils/devfw-i915/ and even rerun the 
regen-firmware.sh as described in pkg-install.fw.

Maybe that binary file should be copied somewhere else on the 
filesystem? But I have no clue where.

Thanks,
Joel

On 25/04/2021 22:53, Matthew Dillon wrote:
> If it is GPU related we just might not have a working solution to the 
> power management.  You could try adjusting the Xorg configuration to use 
> the "modesetting" driver with acceleration disabled but it's a 
> long-shot.  It kinda feels like the GPU is defaulting to a consumption 
> mode that is forcing the fans to run.
> 
> -Matt
> 



More information about the Users mailing list