{"id":47420,"date":"2024-10-24T15:39:09","date_gmt":"2024-10-24T15:39:09","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47420"},"modified":"2025-12-26T10:20:37","modified_gmt":"2025-12-26T10:20:37","slug":"gpu-fan-speed-coolercontrol","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/10\/gpu-fan-speed-coolercontrol\/","title":{"rendered":"Control GPU\/CPU Fan Speed with CoolerControl in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-47421\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows how to install and use CoolerControl to control your CPU or graphics card fan speed in Ubuntu desktop computer or laptop.<\/p>\n<p>I&#8217;ve written about how to <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2024\/08\/thinkpad-fan-speed-ubuntu-24-04\/\" target=\"_blank\" rel=\"noopener\">control fan speed for Thinkpad laptops<\/a>. But for those who are looking for how to do the job for NVIDIA\/AMD GPUs and other laptops, then try CoolerControl.<\/p>\n<p><a href=\"https:\/\/gitlab.com\/coolercontrol\/coolercontrol\" target=\"_blank\" rel=\"noopener\">CoolerControl<\/a> is a free open-source feature-rich cooling device control application written in Python programming language.<\/p>\n<p>It depends on <a href=\"https:\/\/www.kernel.org\/doc\/html\/latest\/hwmon\/\" target=\"_blank\" rel=\"noopener\">Hwmon kernel driver<\/a>s and <a href=\"https:\/\/github.com\/liquidctl\/liquidctl?tab=readme-ov-file#supported-devices\" target=\"_blank\" rel=\"noopener\">liquidctl<\/a> to access and control supported hardware, including Thinkpads, some ASUS and HP laptops, as well as most NVIDIA and AMD GPUs.<\/p>\n<div id=\"attachment_47422\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-47422\" class=\"size-large wp-image-47422\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-700x396.webp\" alt=\"\" width=\"610\" height=\"345\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-700x396.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-300x170.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-768x434.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-1536x868.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control-1320x746.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/cooler-control.webp 1854w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-47422\" class=\"wp-caption-text\">CoolerControl user interface<\/p><\/div>\n<p><!--more--><\/p>\n<p>With CoolerControl, you can monitor the temperatures of your CPU, GPU, hard disk, etc devices in graphs, and set fan to either fixed or dynamic speed.<\/p>\n<p>As the tool\u00a0depends on open-source drivers and contributors, not all hardware is guaranteed to be supported. It will detect supported devices and available capabilities automatically.<\/p>\n<p><b>NOTE: This tutorial is tested in my case in following machines and systems. It MAY or MAY NOT work in your case depends on your hardware.<\/b><\/p>\n<ul>\n<li>Thinkpad T480s with Ubuntu 24.04.<\/li>\n<li>ASUS K501L with Linux Mint 22, Ubuntu 25.10.<\/li>\n<li>Desktop PC (Intel i3-10100f + NVIDIA GT1030) with Ubuntu 24.10.<\/li>\n<\/ul>\n<h3>Step 1: Install lm-sensors<\/h3>\n<p>This step is optional but recommended for installing all available kernel modules.<\/p>\n<p>lm-sensors is a popular command line utility to detect and monitor hardware temperature, voltage, and fan speed. It&#8217;s available in all current Ubuntu and most other Linux system repositories.<\/p>\n<p>To install lm-sensors, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>sudo apt install lm-sensors<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-lmsensors.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45193\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-lmsensors-700x351.webp\" alt=\"\" width=\"610\" height=\"306\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-lmsensors-700x351.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-lmsensors-300x150.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-lmsensors.webp 738w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After installed the package, run command to detect your hardware:<\/p>\n<pre>sudo sensors-detect<\/pre>\n<p>In the terminal output, you need to answer some questions, though it&#8217;s OK to hit Enter for all to choose default. When done, you may run <code>sensors<\/code> command at anytime to check your hardware temperature and fan speed.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/sensors-detect.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47423\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/sensors-detect-700x370.webp\" alt=\"\" width=\"610\" height=\"322\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/sensors-detect-700x370.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/sensors-detect-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/sensors-detect.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Step 2: Install CoolerControl<\/h3>\n<p>The software provides an official apt repository that contains the <code>.deb<\/code> packages for Debian, Ubuntu, Linux Mint and their based system. So far, it supports Debian 12 Bookwarm, Debian 13 Trixie, Ubuntu 22.04, 24.04, and 25.04<\/p>\n<p><b>1.<\/b> First, open terminal (Ctrl+Alt+T) and run command to install the required packages: curl downloader and apt extension for https support:<\/p>\n<pre>sudo apt install curl apt-transport-https<\/pre>\n<p>Try running <code>sudo apt update<\/code> to refresh cache if the command above failed.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-deps.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47424\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-deps-700x315.webp\" alt=\"\" width=\"610\" height=\"275\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-deps-700x315.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-deps-300x135.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-deps.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>2.<\/b> Next, run command to download the official script, then run it via single command below:<\/p>\n<pre>curl -1sLf \\\r\n  'https:\/\/dl.cloudsmith.io\/public\/coolercontrol\/coolercontrol\/setup.deb.sh' \\\r\n  | sudo -E bash<\/pre>\n<p>This is a single command separated in 3 lines. And, the script will automatically check your system version, dependency libraries, and add the apt repository into your system.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47425\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol-768x589.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/setup-coolercontrol.webp 837w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>3.<\/b> Finally, refresh system package cache by running command:<\/p>\n<pre>sudo apt update<\/pre>\n<p>And, install the tool via command:<\/p>\n<pre>sudo apt install coolercontrol<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-cooler-control.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47426\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-cooler-control-700x510.webp\" alt=\"\" width=\"610\" height=\"444\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-cooler-control-700x510.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-cooler-control-300x219.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-cooler-control.webp 722w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>NOTE for Ubuntu 22.04: the &#8216;liquidctl&#8217; package in the 22.04 repository is outdated, which may cause some devices now show. You may upgrade the package by running the commands below one by one, though this is OPTIONAL.<\/b><\/p>\n<ul>\n<li>First, run command to stop the coolercontrol service:\n<pre>sudo systemctl stop coolercontrold.service<\/pre>\n<\/li>\n<li>Then upgrade the liquidctl package:\n<pre>sudo pip install liquidctl --upgrade<\/pre>\n<\/li>\n<li>Finally, start the daemon service:\n<pre>sudo systemctl start coolercontrold.service<\/pre>\n<\/li>\n<\/ul>\n<h3>Step 3: Launch CoolerControl and configure your Fan speed<\/h3>\n<p>After installed the tool, run the command below to check if the background service is running:<\/p>\n<pre>systemctl status coolercontrold.service<\/pre>\n<p>If not enabled, use <code>systemctl enable --now coolercontrold<\/code> to enable and start it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-status.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47427\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-status-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-status-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-status-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolercontrol-status.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Then, either search for and launch &#8220;CoolerControl&#8221; from start menu (or GNOME Overview), or visit <b>localhost:11987<\/b> in web browser to launch the graphical interface.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/launch-coolercontrol.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47428\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/launch-coolercontrol.webp\" alt=\"\" width=\"504\" height=\"276\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/launch-coolercontrol.webp 504w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/launch-coolercontrol-300x164.webp 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/a><\/p>\n<p>When the app opens, you can choose your devices in left side-bar, then see the real-time temperature, frequency, fan speed, etc information in both text and graph.<\/p>\n<p><b>NOTE: For computer with only dedicated NVIDIA GPU, you may need to install the proprietary driver via &#8220;Additional Drivers&#8221; utility, then restart computer.<\/b><\/p>\n<p>For <strong>fixed fan speed<\/strong>, just choose your fan device in left, then choose &#8220;Manual&#8221; mode in right and adjust the speed value in percentage and click Save.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50285\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-700x414.webp\" alt=\"\" width=\"610\" height=\"361\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-700x414.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-768x455.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-1536x909.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed-1320x781.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/fixed-speed.webp 1622w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you want to make your <strong>fan speed changes automatically<\/strong> according to CPU\/GPU temperature, then select &#8220;<strong>Automatic<\/strong>&#8221; mode in the screenshot page above, then choose a profile (e.g., &#8220;My Profile&#8221;).<\/p>\n<p>Then, navigate to that profile in left panel, choose a working mode (<strong>Graph<\/strong> for example), choose a device temperature to monitor. Finally drag moving the dots on graph to set your desired fan speeds according to the temperatures.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50287\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-700x414.webp\" alt=\"\" width=\"610\" height=\"361\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-700x414.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-768x455.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-1536x909.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile-1320x781.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/coolcontrol-profile.webp 1622w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>When done, click <b>Save<\/b> to apply changes and enjoy!<\/p>\n<h3>Uninstall CoolerControl<\/h3>\n<p>For any reason, you can easily remove the software by running the command below in terminal (Ctrl+Alt+T):<\/p>\n<pre>sudo apt remove --autoremove coolercontrold<\/pre>\n<p>To remove the apt repository, use the command to delete the source file:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/coolercontrol*.list<\/pre>\n<p>As well, delete the gpg key file added for that repository via command:<\/p>\n<pre>sudo rm \/usr\/share\/keyrings\/coolercontrol*.gpg<\/pre>\n<p>Finally, run <code>sudo apt update<\/code> command to refresh your system package cache.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install and use CoolerControl to control your CPU or graphics card fan speed in Ubuntu desktop computer or laptop. I&#8217;ve written about how to control fan speed for Thinkpad laptops. But for those who are looking for how to do the job for NVIDIA\/AMD GPUs and other laptops, then try [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":47421,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2200],"class_list":["post-47420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-fan-speed"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=47420"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/47421"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}