tmux-cpu icon indicating copy to clipboard operation
tmux-cpu copied to clipboard

gpu info not showing

Open backpropper opened this issue 4 years ago • 3 comments

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 avatar Jun 09 '20 18:06 backpropper

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.

backpropper avatar Jun 09 '20 18:06 backpropper

odd.

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

casperdcl avatar Jul 25 '20 10:07 casperdcl

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

bruce-willis avatar Nov 19 '21 14:11 bruce-willis