Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Ubuntu Mate 16.04 on a laptop with a tendency to overheat and with a noisy fan.
Until recently I was using the previous LTS, 14.04, and there the CPUfreq notiication area applet gave me a variety of CPU frequencies to choose from, as well as four named options (performance, powersave, on-demand, conservative). I used to reduce the speed to keep the computer quiet when speed was not necessary and it worked well.
Since I switched to 16.04 the same applet gives me only two options (performance, powersave), and none of them seems to make any difference. In both conditions the CPU speed seems to be changing automatically as needed, and reaching maximum speed (heat, fan noise).
Why can't I control the CPU speed as I could before? Can I do anything to change it?
harry@biker:~
$ apt search lm-sensors
Sorting... Done
Full Text Search... Done
fancontrol/stable 1:3.3.5-2 all
utilities to read temperature/voltage/fan sensors
libsensors4/stable,now 1:3.3.5-2 i386 [installed,automatic]
library to read temperature/voltage/fan sensors
libsensors4-dev/stable 1:3.3.5-2 i386
lm-sensors development kit
lm-sensors/stable,now 1:3.3.5-2 i386 [installed]
utilities to read temperature/voltage/fan sensors
mate-sensors-applet/stable 1.8.0+dfsg1-1 i386
Display readings from hardware sensors in your MATE panel
mrtgutils-sensors/stable 0.8.1 i386
Utilities to generate statistics for mrtg (from lm-sensors)
nagios-plugins-contrib/stable 14.20141104 i386
Plugins for nagios compatible monitoring systems
phpsysinfo/stable 3.0.17-1 all
PHP based host information
psensor/stable 1.1.3-2 i386
display graphs for monitoring hardware temperature
psensor-server/stable 1.1.3-2 i386
Psensor server for monitoring hardware sensors remotely
sensord/stable 1:3.3.5-2 i386
hardware sensor information logging daemon
sensors-applet/stable 3.0.0+git4-4 i386
Display readings from hardware sensors in your Gnome panel
xfce4-goodies/stable 4.10 i386
enhancements for the Xfce4 Desktop Environment
harry@biker:~
$ apt search acpi
Sorting... Done
Full Text Search... Done
acpi/stable,now 1.7-1 i386 [installed]
displays information on ACPI devices
acpi-call-dkms/stable 1.1.0-2 all
Kernel module that enables you to call ACPI methods
acpi-fakekey/stable 0.142-6 i386
tool to generate fake key events
acpi-support/stable,now 0.142-6 all [installed]
scripts for handling many ACPI events
acpi-support-base/stable,now 0.142-6 all [installed]
scripts for handling base ACPI events such as the power button
acpica-tools/stable 20140926-1 i386
ACPICA tools for the development and debug of ACPI tables
acpid/stable,now 1:2.0.23-2 i386 [installed]
Advanced Configuration and Power Interface event daemon
acpidump/stable 20140926-1 all
transitional dummy package
acpitail/stable 0.1-4 i386
Show ACPI information in a tail-like style
acpitool/stable 0.5.1-3 i386
command line ACPI client
acpitool-dbg/stable 0.5.1-3 i386
command line ACPI client (debug)
apmd/stable 3.2.2-15 i386
Utilities for Advanced Power Management (APM)
athcool/stable 0.3.12-3 i386
tool to enable powersaving mode for Athlon/Duron processors
bbswitch-dkms/stable 0.8-1 i386
Interface for toggling the power on NVIDIA Optimus video cards
bbswitch-source/stable 0.8-1 i386
Interface for toggling the power on NVIDIA Optimus video cards
cairo-dock-powermanager-plug-in/stable 3.4.0-1+b1 i386
Powermanager plug-in for Cairo-dock
claws-mail-acpi-notifier/jessie 3.13.0-1mx150+1 i386
Laptop's Mail LED control for Claws Mail
collectd-core/stable 5.4.1-6+deb8u1 i386
statistics collection and monitoring daemon (core system)
cpufreqd/stable 2.4.2-2 i386
fully configurable daemon for dynamic frequency and voltage scaling
eeepc-acpi-scripts/stable 1.1.12 all
Scripts to support suspend and hotkeys on the Asus Eee PC laptop
fdpowermon/stable 1.13 all
simple battery power monitor for laptops with ACPI
fglrx-atieventsd/stable 1:15.9-4~deb8u2 i386
events daemon for the non-free ATI/AMD RadeonHD display driver
fnfxd/stable 0.3-14 i386
ACPI and hotkey daemon for Toshiba laptops
gkrellm-ibam/stable 1:0.5.2-2.1 i386
Advanced battery monitor for laptops - gkrellm plugin
gkrellm-x86info/stable 0.0.2-9 i386
gkrellm plugin displaying the current processor speed
hdapsd/stable 1:20141203-1 i386
HDAPS daemon for various laptops with motion sensors
hibernate/stable 2.0+15+g88d54a8-1 all
smartly puts your computer to sleep (suspend to RAM or disk)
ibam/stable 1:0.5.2-2.1 i386
Advanced battery monitor for laptops
kacpimon/stable 1:2.0.23-2 i386
Kernel ACPI Event Monitor
libacpi-dev/stable 0.2-4 i386
development files for libacpi
libacpi0/stable 0.2-4 i386
general purpose library for ACPI
mactelnet-client/stable 0.4.0-1 i386
Console tools for telneting and pinging via MAC addresses
mate-sensors-applet/stable 1.8.0+dfsg1-1 i386
Display readings from hardware sensors in your MATE panel
pidgin-blinklight/stable 0.11.1-2 i386
Blinks your ThinkPad's ThinkLight upon new messages
powermgmt-base/stable,now 1.31+nmu1 all [installed]
Common utils and configs for power management
procmeter3/stable 3.6-1 i386
graphical system status monitor
sensors-applet/stable 3.0.0+git4-4 i386
Display readings from hardware sensors in your Gnome panel
shutdown-at-night/stable 0.15 all
System to shut down clients at night, and wake them in the morning
sleepd/stable 2.08 i386
puts an inactive or low battery laptop to sleep
toshset/stable,now 1.76-4 i386 [installed]
Access much of the Toshiba laptop hardware interface
wmacpi/stable 2.2-1 i386
ACPI battery monitor for WindowMaker
xbattbar/stable 1.4.5-1 i386
Display battery status in X11
xfce4-battery-plugin/stable 1.0.5-4 i386
battery monitor plugin for the Xfce4 panel
yacpi/stable 3.0-2 i386
ncurses based acpi monitor for text mode
harry@biker:~
$
I don't run Ubuntu Mate 16.04 so take my current post with a grain of salt.
We are all volunteers here and do this out of the kindness of our hearts.
Tank you very much. Applications that report things like speed and temperature work fine on my computer. The computer also seems to be controlling the CPU and fan speed automatically, raising it under load and reducing it when idle.
My problem is that I no longer have the control I used to have over the CPU frequency. Both the notification area's built-in applet and the CPU Frequency Scaling Monitor applet show the changing speed of my CPU. But choosing "powersave" or "performance" in either of them makes no difference (besides the additional change that previously I used to have a range of speeds to choose from, while now I have only these two).
My hardware is not new, but not terribly old either: a Dell laptop from 2012 with an i5-2450M CPU. The kernel is 4.4.0-43-generic x86_64.
I would guess that lack of support in the kernel for my hardware is not the problem, also because the CPU frequency seems to be managed automatically and changed constantly as necessary (and I can monitor the speed, temperature etc.). The problem is that it seems to be stuck in a more or less "optimal" scheme and does not allow me to limit the speed anymore.
(I think, but am not sure, that immediately after the installation of 16.04, choosing between "performance" and "powersave" did make a difference, and that this changed following one of the first updates I got.)
hello, just noticed your problem with cpu speed, i installed synaptic package manager, searched for
indicator-cpufreq once it is installed, it should be located in control center - startup applications
highlight it and click edit.
add setsid to the beginning of the command box, click save log out and back in and you should be able to see the new icon by the volume area, hope this helps
PS... you can test this also in terminal, command in terminal> setsid indicator-cpufreq
if you use the command without setsid, the icon will appear in the panel..BUT..
when you close terminal so will the icon and program
if you use setsid indicator-cpufreq in terminal, icon will appear on panel and you can close terminal
Hello Tomlinux, belated thanks for your answer. I tried your solution, and it still doesn't seem to change the actual speed of the CPU. Back when it still worked, the indicator app also had a choice between several speeds, while now it has only "performance" and "powersave".
whatever the app indicator shows, it just gets its information from some underlying functionlaity.
fix that, and (maybe) the app indicator will have more options again.
beware, some of the articles might be extremely old.
i'm not sure why, but manually setting the cpu frequency seems to be a thing of the past.
i personally never worry about it.
maybe if you told us WHY you think you need that?
okok... not sure why it didn't work for you, did you see the icon in you panel ? i have been using it for some time now with my AMD A10 with 4 cores and i have 4 listings for power and 6 listings for speed settings. i used synaptic, not sure if there is another program listed in software manager
( whatever there calling it these days ), had MATE installed until a few hours ago and switched to mint 18 kde on the laptop. not sure i am liking kde
on it with no speed setting GUI program, fan is going fast and slow to much, more distro hopping.....
you're i5 has multiple speeds also...If your fan is that noisy perhaps it needs a cleaning ?
ondoho, i'm not sure why, but manually setting the cpu frequency seems to be a thing of the past.
i personally never worry about it.
maybe if you told us WHY you think you need that?
for me, i like to slow down the CPU speeds on low when my laptop is not plugged in and i am just reading on the web to save power before i have to plug it back in, or when on youtube i will bring it up a bit to like 2.00Ghz, thats why i use the program myself....cheers
for me, i like to slow down the CPU speeds on low when my laptop is not plugged in and i am just reading on the web to save power before i have to plug it back in, or when on youtube i will bring it up a bit to like 2.00Ghz, thats why i use the program myself.
of course, but the kernel is doing all that all by itself!
i recommend getting yourself a conky with detailed cpu readings, and you will see that the cpu is always at its lowest setting until demand rises.
Ubuntu disabled the intel_pstate driver in the original 3.13.x kernel series that Trusty used: https://bugs.launchpad.net/ubuntu/+s...x/+bug/1188647
So Trusty used the old ACPI cpufreq module. The OP is confused because the newer intel_pstate driver found in Ubuntu 16.04 only gives two options - powersave and performance. Whereas "powersave" essentially meant "locked to min frequency" with the old cpufreq module, Intel considers it something different in their pstate driver. They enable the CPU to ramp up under load so it can finish a task more quickly and get back to a deeper sleep state. The practical upshot of that is that it will maximize battery life, but it will probably ramp up the fan at the same time. This can be very annoying, and some folks would be willing to sacrifice some battery life for peace and quiet. Fortunately, it is possible to use the older methods: http://unix.stackexchange.com/questi...r-conservative
^ i read somewhere very recently that the new intel cpus actual handle frequency scaling internally, so even if you are able to set the governor, the cpu will still do its thing.
of course this might not affect the fan...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.