Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu info not showing #55

Open
backpropper opened this issue Jun 9, 2020 · 3 comments
Open

gpu info not showing #55

backpropper opened this issue Jun 9, 2020 · 3 comments

Comments

@backpropper
Copy link

The status bar shows No GPU even though the GPU can be accessed by nvidia-smi which is available at /usr/bin included in $PATH.
Screen Shot

I am using tmux v2.6

@backpropper
Copy link
Author

backpropper commented Jun 9, 2020

I login to this compute node via a login node. The tmux session was opened on the login node but I guess it is supposed to update after the update-interval and get info from the compute node. Also, there are no changes even if I refresh the status bar manually.

Basically the issue it seems is that the login node is not able to receive information from the compute node about the updates in PATH and GPU.

@casperdcl
Copy link
Collaborator

casperdcl commented Jul 25, 2020

odd.

you could add PATH="/usr/bin:$PATH" to the top of $HOME/.tmux/plugins/tmux-cpu/scripts/helpers.sh

@bruce-willis
Copy link

Hey @casperdcl! I am wondering if this plugin can show info only from local machine (where tmux is installed and launched) or it could also work with remote machine.
i.e. I am running tmux on a machine without GPU, but after connecting to a machine with GPU the panel is not updating and still showing info from the local machine:
image
Reloading the status bar does not solve this issue.
I've also tried to add PATH="/usr/bin:$PATH" (from your previous comment, btw shouldn't it be like EXPORT PATH=...?), but in this case, the actual values are not shown in the panel at all:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants