Monitor GPU Temperature in Xubuntu 14.04 with OpenSource Driver

gputemperaturexfcexfce-panelxubuntu

I had a severe problem with GPU temperature in 12.04 and even later, and even if that seems gone in 14.04, I want to keep an eye on my GPU.

Is there a program that would display that, in the xfce-panel or otherwise?


EDIT:

After installing lm-sensors and the Xfce panel Sensors Plugin, I can see some temperatures

enter image description here

but not the GPU. I use the Ubuntu radeon driver.

enter image description here

Also, I have installed psensor: but no GPU

enter image description here

Also, running sensors in Terminal that info is not available:

enter image description here

EDIT2:

At this Psensor page it reads:
When the OpenSource ATI driver is used, the monitoring information is available throw lm-sensors ….

I have installed lm-sensors and following this advice I ran sensors-detect and answered yes to all questions there. In Psensor window now there is a new entry, and it's for radeon, but it's always zero.

enter image description here

Editing the names so as to display the chip name, it looks like so:

enter image description here

sensors command gives the same info as above.

EDIT3

Also:

~$ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
[sudo] password for cip: 
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0

EDIT4:

~$ xrandr --setprovideroffloadsink 0x6c 0x44 X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  34 ()
  Value in failed request:  0x6c
  Serial number of failed request:  17
  Current serial number in output stream:  18

Best Answer

I use xfce4-sensors-plugin:

enter image description here

It needs lm-sensors installed and configured, and it is in the standard (universe) repository.

The ATI sensor (when used with the radeon open source driver) should be called something like radeon-pci-0100 --- Notice however that with recent kernels the card is kept off when not used, so the sensor is not read in that conditions --- see https://askubuntu.com/a/469439/16395

You can check if the sensors are working activating the offloading as explained in this post: http://xpressrazor.wordpress.com/2013/10/08/enable-and-use-open-source-radeon-drivers-in-a-muxless-hybrid-graphics-intelamd-setup/:

  1. List the graphic providers:

    xrandr --listproviders
    

    make a note of the id hexadecimal codes

  2. Activate them:

    xrandr --setprovideroffloadsink 0x53 0x79 
    

    (you have to substitute the codes of the Intel and ATI providers, in that order)

  3. Open a terminal window and run

    DRI_PRIME=1 glxgears -info 
    

Now using sensors in another window you should see the temperature reading of the radeon card going up.

Related Question