GithubHelp home page GithubHelp logo

mountassir / gmonitor Goto Github PK

View Code? Open in Web Editor NEW
207.0 11.0 28.0 348 KB

gmonitor is a GPU monitor (Nvidia only at the moment)

License: GNU General Public License v3.0

C++ 90.40% Makefile 1.25% C 7.64% CMake 0.70%
gpu monitor nvidia cuda cuda-programs gpu-state gpu-monitoring

gmonitor's People

Contributors

jbtristant avatar mountassir avatar nyue avatar patrickelectric avatar therealbstern avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmonitor's Issues

gmonitor: command not found

스크린샷, 2019-05-22 13-18-10

As can be seen in upon figure, I can not run gmonitor ; gmonitor : command not found
I can run gpu monitoring tools such as nvidia-smi, glance or gpustat.
However, I can not run your program.. I really want to use it. Please help me.

ERROR: Error querying enabled displays on GPU 0 (Missing Extension).

I compiled and run gmonitor, I get

ERROR: Error querying enabled displays on GPU 0 (Missing Extension).


ERROR: Error querying connected displays on GPU 0 (Missing Extension).

No gpus to monitor, terminating.

whenever I run this, even with sudo.
Edit: I have a GTX 1060 on a Laptop

Error "Failed to connect to Mir" on first run

This is what I got after running the gmonitor the first time:

gmonitor -s
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

No gpus to monitor, terminating.

Any idea why this can be happening?
What is "Mir"?

How to install or compile this code.

Hi,

I have downloaded the code, but unable to install on my ubuntu machine. Please give the instruction to install this program and use it.
Best

Makefile?

The source is missing a makefile. Mind adding one?

Unable to init server:

after I installed gmonitor, I can't run it as below error, but nvidia-smi run correctly
what am I missing?

Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run nvidia-settings --help for usage information.

No gpus to monitor, terminating.

works locally, but not over ssh

Hello.

Great utility. I'd like to hvae the ability to use this over SSH, but it returns the following error:


ERROR: The control display is undefined; please run nvidia-settings --help for usage information.

No gpus to monitor, terminating.

However, this works when I run on the same system locally. Is there a way to patch it to work also via SSH?

problems launching the task

this is what i get after driver update

$ gmonitor

ERROR: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol:
       FT_Get_Var_Blend_Coordinates
       libnvidia-gtk3.so: cannot open shared object file: No such file or directory
       /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol:
       FT_Get_Var_Blend_Coordinates
       libnvidia-gtk2.so: cannot open shared object file: No such file or directory


ERROR: A problem occured when loading the GUI library. Please check your installation
       and library path. You may need to specify this library when calling
       nvidia-settings. Please run `nvidia-settings --help` for usage information.

No gpus to monitor, terminating.

my current driver is:

$ nvidia-smi
Tue Aug 11 12:14:50 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.36.06    Driver Version: 450.36.06    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 107...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   84C    P2    73W /  N/A |   4140MiB /  8119MiB |     98%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1598      G   /usr/lib/xorg/Xorg                 45MiB |
|    0   N/A  N/A      2343      G   /usr/bin/gnome-shell               48MiB |
|    0   N/A  N/A      3335      G   /usr/lib/xorg/Xorg                511MiB |
|    0   N/A  N/A      3662      G   budgie-wm                         109MiB |
|    0   N/A  N/A      4230      G   ...AAAAAAAAA= --shared-files      215MiB |
|    0   N/A  N/A     26905      G   .../.steam/ubuntu12_32/steam       20MiB |
|    0   N/A  N/A     26921      G   ./steamwebhelper                    1MiB |
|    0   N/A  N/A     26937      G   ...token=5182952199529577477       90MiB |
|    0   N/A  N/A     27120    C+G   ...ps/common/Blender/blender     3088MiB |
+-----------------------------------------------------------------------------+

Cannot use through ssh

No problem when launched on local terminal, but if I'm using my machine through ssh I get this error:

'''
Failed to connect to Mir: Failed to connect to se
rver socket: No such file or directory
Unable to init server: Could not connect: Connect
ion refused

ERROR: The control display is undefined; please
run nvidia-settings --help for usage
information.

No gpus to monitor, terminating.
'''

Gtk-WARNING

(nvidia-settings:12540): Gtk-WARNING **: 11:42:51.869: Theme parsing error: gtk.css:6777:29: Missing opening bracket in color definition

(nvidia-settings:12540): Gtk-WARNING **: 11:42:51.869: Theme parsing error: gtk.css:6779:34: Missing opening bracket in color definition

(nvidia-settings:12540): Gtk-WARNING **: 11:42:51.869: Theme parsing error: gtk.css:6785:28: Missing opening bracket in color definition

ERROR: Unable to load info from any available system

I'm getting this error when trying to run "gmonitor -s" over ssh.

gmonitor -s

ERROR: Unable to load info from any available system

ERROR: Unable to load info from any available system

No gpus to monitor, terminating.

But, there are GPUs:

nvidia-smi
Mon Jan 13 09:16:09 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 415.25 Driver Version: 415.25 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 208... Off | 00000000:21:00.0 Off | N/A |
| 38% 65C P0 79W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce RTX 208... Off | 00000000:31:00.0 Off | N/A |
| 11% 61C P0 1W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+

Feature Request: Allow me to just print the data (non-interactive mode) so that I can use it in other programs.

My name is melt7777 and I work with the PiMP OS Dev Team. We have filed this issue based on our testing and/or reports from our customers. Thank you very much for your work toward our mutual goal of making easy and effective tools for miners. We are bringing this issue to light because it will improve our products and our ability to make reports, diagnostics, and help with troubleshooting GPU rigs.

Would you add a command line option to run non-interactively, as in, called from a script or application, provide the data, and then exit cleanly? Such as: gmonitor --non-interactive or gmonitor --report Would output the ID, Name, GPU, VRAM, MBUS, PBUS, TEMP values without the graphics.

If you have other information you could add to the report that you gained during the datagather, this would be awesome extra info in the report.

(If you want to really go for it, something like gmonitor --json to provide json output to be used with an api would be pretty sweet!!)

We reproduced this issue on PiMP v2.9.2-beta, which is currently based on Ubuntu 18.04 with CUDA 10 and nVidia 410.93 drivers. The OS packages have been fully updated to today’s date, and we have followed the instructions on your git. It works well to report output, but is confusing on rigs with more than two GPUs. Here is an example on a rig with 4x ASUS DUAL GTX 1070s:

image

Thank you very much for your help!

Your friend,

~melt
getpimp.org | miner.farm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.