Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

No graphs displayed #43

Open
NeuroWinter opened this issue Jul 23, 2018 · 11 comments
Open

No graphs displayed #43

NeuroWinter opened this issue Jul 23, 2018 · 11 comments
Labels
bug Something isn't working

Comments

@NeuroWinter
Copy link

Make sure gotop is updated and the issue still persists before creating an issue.
Check current version with gotop -v and check the latest version from the releases tab on GitHub.
$./gotop -v
1.4.1
Please give the following info when creating an issue:

  • The output of uname -a
    Linux neuro 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Terminal shell (like zsh or bash)
    zsh
  • Terminal emulator (like iTerm or gnome terminal)
    Xterm
  • Using tmux?
    Nope

I installed gotop as stated in the README.md file, however after running it I do not see the cpu/men usage or network graph.

screenshot_2018-07-24_09-11-11

@cjbassi cjbassi added the bug Something isn't working label Jul 30, 2018
@cjbassi
Copy link
Owner

cjbassi commented Jul 30, 2018

Hmm, it seems like there might be an issue rendering the braille characters for the graphs. Could you try a different terminal emulator and see if the problem still occurs?

@TheSandman86
Copy link

I have the same issue when using xterm, but no problem when using sakura term. Is there any way to make it work with xterm?

@cjbassi
Copy link
Owner

cjbassi commented Sep 23, 2018

Not that I know of. It works for me on xterm although the braille characters for the graphs don't look right. There might be an issue with font patching so you could try playing around with adding font packages and seeing if that changes anything.

@cmatsuoka
Copy link

Network graph won't work on the Linux console as well (which is an unfortunate thing to happen in a system without a graphic terminal). CPU and memory graphs are discernible (in a lower resolution), but network looks really funny. I didn't find any console font with the required braille characters -- perhaps it's time to make our own font?

@Yash-Garg
Copy link

Yash-Garg commented Feb 3, 2019

Works here on xterm. Probably a font issue 🤔

@cmatsuoka
Copy link

Certainly a font issue. I'll see how to add the appropriate characters to the console font.

image

@cmatsuoka
Copy link

cmatsuoka commented Feb 4, 2019

Fixed by creating an appropriate Linux console font with the required Unicode code points (braille and block characters). @cjbassi, I can contribute the psf font to the project to allow console users to see the graphs correctly if you think it could be useful.

image

@cjbassi
Copy link
Owner

cjbassi commented Feb 6, 2019

@cmatsuoka That would be great if you could contribute the font! I run into the same issue in the Linux console so I'm glad you got that working. Would this also fix issues for terminal emulators?

@cjbassi
Copy link
Owner

cjbassi commented Feb 6, 2019

So I also found https://github.com/wiktor-b/leggie, which might work too. I'll have to figure out how to get it to work on Arch Linux, but if anyone wants to give it a try, let me know if it works for them.

edit: Couldn't seem to get that one to work for me.

@cmatsuoka
Copy link

cmatsuoka commented Feb 6, 2019

I'll refine the font file and issue a pull request. The font is a 512-glyph 16x8 fixed size psf for console, and I'm not sure if you can use it on graphic terminal emulators (but I can verify that).

@cmatsuoka
Copy link

The PSF font is in PR #135. (I apologize for taking so long to send such a simple PR, but things were a bit busy here in the last few weeks.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants