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

Not getting graphs #22

Closed
modem7 opened this issue Nov 22, 2018 · 4 comments
Closed

Not getting graphs #22

modem7 opened this issue Nov 22, 2018 · 4 comments

Comments

@modem7
Copy link

modem7 commented Nov 22, 2018

Hey,

I'm running Fedora 25, followed the instructions, but getting the following. Unsure where I've gone wrong?

capture

Thanks!

@Syllo
Copy link
Owner

Syllo commented Nov 22, 2018

It looks like the NCurses library has problems to use the wide characters, it falls back to ascii ACS characters.

Which terminal emulator are you using?
Is your locale (command) using UTF-8?

Could you also please paste the return of the command ldd /path/to/nvtop, or verify that it contains at least "libncursesw.so".

@modem7
Copy link
Author

modem7 commented Nov 22, 2018

Currently using putty (0.70)

Output of locale:

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Output of ldd

    ldd /usr/local/bin/nvtop
    linux-vdso.so.1 (0x00007ffc4c7f3000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f72b3493000)
    libnvidia-ml.so.1 => /lib64/libnvidia-ml.so.1 (0x00007f72b2ebc000)
    libncursesw.so.6 => /lib64/libncursesw.so.6 (0x00007f72b2c83000)
    libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f72b2a57000)
    libform.so.6 => /lib64/libform.so.6 (0x00007f72b2847000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f72b2481000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f72b379c000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f72b2263000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f72b205f000)
    libncurses.so.6 => /lib64/libncurses.so.6 (0x00007f72b1e36000)

@Syllo
Copy link
Owner

Syllo commented Nov 22, 2018

It seems to be a problem with putty and ncurses.
Adding export NCURSES_NO_UTF8_ACS=1 to your bashrc or NCURSES_NO_UTF8_ACS=1 nvtop should hopefully fix it.

If that works I'll add an additional note in the readme.

@modem7
Copy link
Author

modem7 commented Nov 22, 2018

Perfect!

export NCURSES_NO_UTF8_ACS=1 worked wonders!

Thank you!

@modem7 modem7 closed this as completed Nov 22, 2018
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

2 participants