关于Deepin使用过程中电脑CPU温度高的解决办法
Tofloor
poster avatar
xueyuejianghan
deepin
2019-07-23 20:00
Author
本帖最后由 xueyuejianghan 于 2019-9-8 23:28 编辑

1、实时查看cpu运行频率工具 i7z

    (1)、安装i7z :sudo apt-get install i7z

    (2)、运行: sudo i7z

    即使什么也没做,通过i7z可以看到cpu一直处于最大频率在运行。

2、解决方法:

    sudo  vim  /boot/grub/grub.cfg   

从ro quiet splash(大概在第130-150行左右,视实际情况)后面空格后加上 intel_pstate=disable, 保存退出。 然后重启电脑,cpu就能正常的自动降频和睿频了。

亲测有效。

搬运原文链接:https://blog.csdn.net/TutinBing/article/details/93309274


Reply Favorite View the author
All Replies
1 / 2
To page
avatar
kukei
deepin
2019-07-23 22:18
#1
这么高级的操作啊
Reply View the author
avatar
kukei
deepin
2019-07-23 22:43
#2
有效啊。

我改的是这个文件:/etc/default/grub
Reply View the author
avatar
Kenny·McCormick
deepin
2019-07-23 23:29
#3
https://bbs.deepin.org/post/181033
有效啊。

我改的是这个文件:/etc/default/grub

俺也一样,然后执行update-grub
Reply View the author
avatar
Kenny·McCormick
deepin
2019-07-23 23:53
#4
本帖最后由 gaoyanglion 于 2019-7-23 15:55 编辑

补充点网上搜到的资料:

对于现代 Intel CPU,将使用 pstate 功率驱动程序,而非下列其他驱动程序。此驱动程序的优先级高于其他驱动程序,并编入内核(而非编译为模块)。此驱动程序将自动用于 Sandy Bridge(以及更新的 CPU)。此驱动程序会导致只有performance和powersave两个governor可用。如果在使用这个驱动的时候遇到问题,建议您在 Grub 的内核参数中将其禁用(即修改 /etc/default/grub 文件,在 GRUB_CMDLINE_LINUX_DEFAULT= 后添加 intel_pstate=disable)

Reply View the author
avatar
血染轩辕
deepin
2019-07-23 23:53
#5
笔记本配个散热器,最简单省事的操作,台式机除外!!!
Reply View the author
avatar
走钢丝
deepin
2019-07-23 23:53
#6
没想到还真降了,这样不是关闭睿频么?奇怪。据说也可以通过其他方式处理,参考https://wiki.archlinux.org/index.php/CPU_frequency_scaling_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
Reply View the author
avatar
jianguo922
deepin
2019-07-24 00:01
#7
顶一下           
Reply View the author
avatar
Kenny·McCormick
deepin
2019-07-24 00:18
#8
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps:  3.20 GHz, 3.20 GHz, 3.00 GHz, 2.90 GHz, 2.70 GHz, 2.50 GHz, 2.30 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1.70 GHz, 1.50 GHz, 1.30 GHz, 1.10 GHz, 1000 MHz, 800 MHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.

  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.62 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

禁用 intel_pstate 后,默认启动 acpi-cpufreq 驱动,策略 为 ondemand ,按需调整运行频率了
Reply View the author
avatar
Kenny·McCormick
deepin
2019-07-24 00:53
#9
更改启动参数后

sudo apt-get install cpufrequtils
安装工具,以便调整cpu工作模式

sudo cpufreq-set -g performance
设置为 性能模式,core工作于最大频率

sudo cpufreq-set -g ondemand
设置为 按需模式,core频率动态调整

sudo cpufreq-set -g powersave
设置为 节能模式,core频率最低

这样根据使用场景,灵活调整就可以了
Reply View the author
avatar
魔法师
deepin
2019-07-24 02:57
#10
我是一个sh脚本xxx,顺便再弄个sh脚本yyy当服务放/etc/init.d/下,写好不会阻塞的nohup xxxx ,目标脚本是循环加休眠代码,更改内核参数,为每个CPU核心固定模式参数值:powersave。顺便将服务systemctl enable yyy弄成开机自启比grub还快。OK一切不用人工干预。加循环为了不会因为充电,插拔设备导致核心参数重置。
Reply View the author
avatar
独影阑珊
deepin
2019-07-24 03:23
#11
顶!d=====( ̄▽ ̄*)b
Reply View the author
avatar
tc9527
deepin
2019-09-16 01:41
#12
本帖最后由 tc9527 于 2019-9-16 07:19 编辑

综上所述,
1、打开终端,执行:              sudo  vim  /etc/default/grub
2、找到GRUB_CMDLINE_LINUX_DEFAULT=这一行,在引号里面添加一项intel_pstate=disable(需要手动输入)

3、保存后,执行:
               sudo update-grub
4、重启。


查看CPU状态,就按照楼主的方法装i7z。你会发现CPU的频率终于降下来了。。
常年起飞的电脑终于冷静下来了。

Reply View the author
Comments
ly8023
2020-06-07 22:44
请教,写不进去怎么办呀,写好保存就卡死了,再进去看一看还是没有
avatar
风吹过的绿洲
deepin
2019-09-18 19:30
#13
有效!!!
感谢提供这么高效的解决方案。
cpu多档变频了
Reply View the author
avatar
Dengshuangjang
deepin
2019-09-20 05:28
#14
  似乎不需要你这个,深度的自动降频了。不信你打开看看!
Reply View the author
avatar
byx8848320105
deepin
2019-09-20 17:50
#15
估计我的本该清灰了,开机就64度。
Reply View the author
avatar
走钢丝
deepin
2019-09-25 22:23
#16
夏天还是关掉的好,到了冬天我再改回来暖暖手。。
Reply View the author
avatar
蜜柑
deepin
2019-10-07 19:11
#17
诶,我还一直是以为笔记本散热不好,8代早期U发热大呢....效果有,稍微降了两度,频率也低了
Reply View the author
avatar
临之
deepin
2019-10-11 22:17
#18
非常有效,感谢分享!

终于安静了,要是夏天的时候知道就更好了
Reply View the author
avatar
o0******00@163.com
deepin
2019-12-01 02:43
#19
留个脚印备用
Reply View the author
avatar
走钢丝
deepin
2019-12-01 02:51
#20
https://bbs.deepin.org/post/181033
非常有效,感谢分享!

终于安静了,要是夏天的时候知道就更好了

这几天这么冷,准备打开暖暖手。。
Reply View the author
1 / 2
To page