LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I find the GPU temperature of an Intel card using command-line?
#5
Quote:product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
Upon some reading, it seems that on machines with no dedicated GPU but integrated ones only, both cpu and gpu temps are the same. However, you could try finding temps on "/sys/class/"  from a terminal do
Code:
ls /sys/class/
you'll see something similar to this:
Code:
$ ls /sys/class/
ata_device  devcoredump     gpio         kfd            net           pwm           scsi_host    vtconsole
ata_link    devfreq         graphics     leds           nvme          rapidio_port  sound        watchdog
ata_port    dma             hidraw       mdio_bus       pci_bus       regulator     spi_master   wmi
backlight   dmi             hwmon        mem            phy           rfkill        thermal
bdi         drm             i2c-adapter  memstick_host  powercap      rtc           tpm
block       drm_dp_aux_dev  ieee80211    misc           power_supply  scsi_device   tty
bluetooth   extcon          input        mmc_host       pps           scsi_disk     vc
bsg         firmware        iommu        nd             ptp           scsi_generic  video4linux
CPU temps are usually read from /hwmon/hwmon0/temp1_input, so if I run here
Code:
cat /sys/class/hwmon/hwmon0/temp1_input
I get this
Code:
67000
which is the temperature for the cpu, as for the gpu temps they can be read from /graphics/fb0/device/hwmon/hwmon2/temp1_input so running
Code:
cat /sys/class/graphics/fb0/device/hwmon/hwmon2/temp1_input
shows
Code:
66000
which is about the same than the cpu reports. So you could try something like this
Code:
watch -c cat /sys/class/graphics/fb0/device/hwmon/hwmon2/temp1_input
which will monitor the gpu temps every 2 secs.

Hope this helps! Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
Re: How do I find the GPU temperature of an Intel card using command-line? - by Moltke - 09-15-2019, 02:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)