cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ttelford
Journeyman III

ADL and GPU instrumentation

Temperatures, Fan Speeds in Linux

I'm working on a instrumentation project for GPU's - to monitor things like GPU temperatures, fan speeds, 

In looking at the ADL, I've found a few things that look interesting/useful.  (For that matter, running 'aticonfig --od-getclocks --od-gettemperature' is useful).

 

I'm currently looking for the following:

  • Temperatures
  • Fan Speeds
  • Clock speeds
  • GPU Load
  • Memory Statistics
The command line gets quite a bit of those, and reading the ADL documentation, there seems to be the ability to get all of these.
However, the problem is that both aticonfig and the demo apps for ADL need to be executed from a running X11 environment - if they aren't, the program(s) throw errors.
It's not possible to use aticonfig from a remote shell (ie. ssh/rsh/telnet), to get this information, nor is it possible to get the information from a pure text console.
Seeing similar behavior in the ADL demo apps makes me apprehensive of writing something to get the information I need, as I _cannot_ use an X11 session to run the program that's using ADL.
If I'm going to be writing a daemon that monitors the GPU temps and fan speeds (along with the GPU load and memory info), I need to be able to get the information without having to log in to an X session.
So - does any program that uses the ADL require the program to be launched from an active X11 session?


0 Likes
4 Replies
nou
Exemplar

you can try export DISPLAY=:0 to get access to GPU. and X11 session is necesery as ADL use fglrx driver which is loaded from X.

0 Likes

X11 only (for the foreseeable future too)

0 Likes

it haver very bright future because it have most wanted tools.

0 Likes

Originally posted by: optiplex it haver very bright future because it have most wanted tools.

 

 

i agree with you

0 Likes