mountassir / gmonitor Goto Github PK
View Code? Open in Web Editor NEWgmonitor is a GPU monitor (Nvidia only at the moment)
License: GNU General Public License v3.0
gmonitor is a GPU monitor (Nvidia only at the moment)
License: GNU General Public License v3.0
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
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"?
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
The source is missing a makefile. Mind adding one?
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.
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.
However, this works when I run on the same system locally. Is there a way to patch it to work also via SSH?
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 |
+-----------------------------------------------------------------------------+
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.
'''
(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
I closed it on arch linux using ctrl-c.
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 |
+-----------------------------------------------------------------------------+
Noticed this error after the last commit adding optirun support. I did quick check and I think _optirun flag is always true.
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:
Thank you very much for your help!
Your friend,
~melt
getpimp.org | miner.farm
$ gmonitor -d 1 -g 02
zsh: permission denied: gmonitor
how can i fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.