How to Check GPU Temperature in Ubuntu (Linux 2022)

If you are an avid gamer, you may be wondering how to check the temperature of your graphics card in Ubuntu. There are several ways you can do this. Some of them include thermald, lm-sensors, and Glances.

Using lm-sensors

You can install lm-sensors on your computer to check CPU and GPU temperatures. The first step is to install the program and configure it for your system. You will be asked to enter several options.

lm sensors

The default answers are generally the best bet. Once complete, you can use the sensors command in the terminal. After running the command, you should see a graph of your selected temperature.

The lm-sensors package comes with recent versions of Ubuntu. Once installed, you can run the command lm-sensors to check the temperature of your system. This program uses javascript as its code language. After you run it, you will need to answer a few questions in the terminal.

CPUs and GPUs generate heat as they are used to process data. This heat can damage the CPU and motherboard components. The good news is that modern PCs come with sound insulation to help regulate the temperature.

However, some older systems do not come with a sound insulation system. In such a case, high temperatures could be caused by blocked ventilation holes or a heavy load of applications consuming high power.

The lm-sensors command can be used to monitor the temperatures of all components of your computer. The sensors command will refresh every two seconds and show you the temperature of each component. The sensors command requires the lm-sensors package and can be installed in any Ubuntu-based distro.

Psensor is another tool that can be used to monitor GPU and CPU temperatures. It works by collecting information from several sensors, such as hddtemp and lmsensor. It also allows you to configure sensor preferences. The Psensor program can be installed and run using the terminal, which will display your system’s temperature.

Installing Lm_Sensors on Linux

Despite its usefulness, the Lm_Sensors application isn’t installed by default on Linux. So, before we can use it to detect GPU temperatures, we need to show how to install it.

Press Ctrl + Alt + T or Ctrl + Shift + T on your keyboard to open a terminal window. Then, follow the command-line instructions outlined below that match your Linux operating system.

Ubuntu

Using the Apt command, you can install Lm_Sensors on Ubuntu Linux.

sudo apt install lm_sensors

Debian

Using the Apt-get command below, users can install the Lm_Sensor application on Debian.

sudo apt-get install lm_sensors

Arch Linux

By entering the following Pacman command, you can set up Lm_Sensors on Arch Linux.

sudo pacman -S lm_sensors

Fedora

Enter the following DNF command to load Lm_Sensors on Fedora.

sudo dnf install lm_sensors

OpenSUSE

It is not possible to install the Lm_Sensors application in OpenSUSE Linux’s software repository. Instead, try installing the Fedora RPM package, or, install a different Linux distribution if you need this application.

Configure Lm_Sensors

To begin the configuration process, run the sensors-detect command from the Lm_Sensors application once it has been installed on your Linux PC.

sudo sensors-detect

Once the sensors-detect command is run, you’ll see a message saying “Some south bridges, CPUs, or memory controllers contain embedded sensors. Select yes to scan for them.

Lm_Sensors will be detected by answering a series of questions. Write yes for all yes answers and no for all no answers.

You might also like:- How to check GPU Temperature in Windows 10/11

Using thermald

If you want to know the temperature of your GPU, you can use a terminal command. The thermald command will show you the current temperature, but you will not be able to track the temperature over time.

thermald

This can be frustrating if you are playing a game or fine-tuning an overclock. Thankfully, there are third-party tools that offer more detailed information.

Another tool you can use is cpufreq. It will tell you if your laptop is overheating or not, and it will also tell you how hot it is. Thermald is another useful tool for Intel CPUs. It will help you reduce the chance of overheating by using different cooling methods.

A Linux distribution such as Ubuntu also has an extension called a psensor that will show you the temperature of your GPU. This command will display the temperatures of your hardware and also allow you to adjust them to suit your needs. Alternatively, you can use a control called sensors to monitor the temperature of your CPU. This command will also show the temperature of your hard drive.

The sensors command will show the current temperatures of the CPU and other sensors on your system. It will display each core’s maximum and minimum temperature thresholds.

This command is also helpful for monitoring fan speed and temperature. If you’re running a Windows computer, you can also use Psensor to check the temperature of your GPU. It uses the psutil library to retrieve the information.

After installing the HardInfo application, you can run the Psensor command to view your system’s temperatures. You can configure Psensor by using the Unity Dashboard. Then, run the Psensor command from the command line.

After that, you can view the temperature of your system and set up sensor preferences. Hardinfo is another useful tool for monitoring hardware. It displays the information in a GUI.

Using TLP

Using TLP to check GPU temperatures in Ubuntu is a useful way to keep track of your GPU’s temperature and determine how hot it is. This tool is designed for beginners and has a small footprint. It also works with other major Linux distributions. You can increase the CPU’s frequency to lower the temperatures, but this may result in overheating.

tlp

The TLP utility displays device information, including temperature and fan speed. Using this tool will help you reduce overheating and maximize battery life. The program requires root permissions to run. To use it, go to /etc/default/tlp. Then, select the Power Saver mode from the dropdown menu.

Another useful tool for Linux users is thermald, which displays CPU and GPU temperatures. These programs are great for controlling CPU temperatures and reducing laptop power usage. If you have a thin laptop, thermald will help you save battery life by reducing the CPU’s power draw. A lightweight utility called Conky is also useful if you’re using a desktop computer. It will tell you about your system’s CPU, memory, storage space, and temperature.

HardInfo is another useful tool for monitoring your system’s temperatures. It is not included in all official software repositories, but can be downloaded from the universe repository in Ubuntu. Once installed, you’ll be able to see your GPU’s temperature and fan speed. The software uses lm-sensors to display the current temperatures of your GPU.

Using Glances

If you have Ubuntu on your computer, you can monitor your system’s temperature by using the tool Glances. It is free to use and can be started by running the command glances. This tool displays information about your system’s sensors, including the temperature of your GPU.

glances

In Glances, you can see CPU, memory, and swap space usage as well as load statistics. You can see the combined statistics of all CPUs in your system or just one. It also displays the CPU usage of each CPU, as well as a percentage of total CPU usage.

Glances is a cross-platform monitoring tool that uses the psutil library to show you sensor information. Its user interface is designed to display the most relevant information in the least amount of space. It also has a client/server mode that lets you view information from another computer. It also has an API that allows you to export stats to a file for easy viewing.

Using Glances to check GPU temperature in Ubuntu is not difficult at all. Its user interface is designed to be compact and intuitive. It allows you to easily see important information, such as CPU and GPU temperatures while minimizing the space used for displaying it. It also allows you to monitor CPU usage and Docker usage.

Installation of Glances can be done in several ways, but the preferred method is to use an auto-install script, which installs the latest production-ready version.

Installing Glances on Linux

To install Glances on your system, use the curl or wget command as shown.

# curl -L https://bit.ly/glances | /bin/bash

OR

# wget -O- https://bit.ly/glances | /bin/bash

Once you have installed it, start Glances and press f key to view sensor information.

# glances

Using Hardinfo

HardInfo is a utility in Ubuntu that displays information about your computer hardware and operating system. Its goal is to provide detailed information about your computer and help you diagnose problems. Its GUI is easy to navigate and can display information on your GPU and CPU.

hardinfo

It can also perform system benchmarks and save results. This data can be used to compare your computer’s performance with other systems, as well as diagnose malfunctions.

HardInfo can be run with a command line or a GUI application. It can also be run from the system menu. Once it is installed, you can view all the sensors of your system. If you use a graphics card, you should be able to view the temperature, voltage, and speed data.

Many users of laptops complain that their laptops are too hot. This is especially true for thin laptops, as they have less space for air to circulate. Overheating can cause damage to both the body of your laptop and the hardware inside. This is why it is important to monitor hardware temperature.

For AMD and NVIDIA GPUs, you can install a tool called a psensor to monitor temperatures. This tool is a command-line application that displays data about hardware sensors. It can also monitor fan speeds and voltages. In addition to these tools, you can run a sensor-detect command on your computer to determine the temperature of all the hardware components.

Installing Hardinfo on Ubuntu Linux

To install the hardinfo package on your Ubuntu Linux system, run the following command.

$ sudo apt install hardinfo

After the installation is complete, you can launch hardinfo to view devices’ information by running the following command.

$ hardinfo -rma devices.so

To launch the GUI app, simply run the following command or search for ‘System Profiler and Benchmark’ in the system menu or Dash and open it.

$ hardinfo

Then click on sensors to view sensors information as shown in the following screenshot.

i7z

i7z is a tiny command-line utility that reports Intel Core i7, i5, i3 CPU information including temperatures.

i7z

Installing i7z on Ubuntu Linux

You can install it on your Ubuntu system by running the following command.

$ sudo apt install i7z

Once installed, run i7z with root privileges as shown.

$ sudo i7z

Nvidia X Server Settings

The Nvidia X Server Settings app shows a real-time temperature readout for those with an Nvidia graphics card and proprietary Linux driver.

nvidia x server settings

You do not need to go over how to install the Nvidia X Server Settings application since all Linux distributions offer up the Nvidia proprietary driver. You can find instructions on how to get it working on your Linux OS on pkgs.org if your Linux OS doesn’t have it installed.

By pressing Alt + F2 on your keyboard, you will be able to open the quick launcher, where you can type in Nvidia settings and press Enter to launch the app.

You’ll find a real-time temperature readout in the “Thermal settings” section of the Nvidia X Server Settings app.

Conclusion

To keep a hot component like a processor cool, keep your laptop fan clean and dust-free. In some cases, you may have to replace a heat sink. In the same vein, use the thermal paste to fill in the gaps and ensure heat is transferred between the heat spreader and the heatsink more efficiently. If you find out the CPU temperature in Ubuntu Linux, I hope you’ll be able to keep your laptop healthy and use it for a longer period.

lisa shroff
About Lisa Shroff

I am a Tech Enthusiast who is Obsessed with Graphics Cards or GPU. I have been building Gaming PC since last 6 years and got super experience in this field.

Leave a Comment