Syllo / nvtop

GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
Other
7.79k stars 287 forks source link

Garbled characters when using nvtop #198

Closed yosider closed 1 year ago

yosider commented 1 year ago

When using nvtop on my Ubuntu server, some characters are garbled. Specifically, the frame lines are displayed with characters such as "l", "q", and "x", and "°C" is replaced with "fC" like this:

image

When I previously upgraded the OS on this machine from Ubuntu 20.04 to 22.04, I accidentally interrupted the upgrade in the middle of the process, so some packages and settings may be missing.

If you have any idea of the cause, I would appreciate it if you could let me know.

yosider commented 1 year ago

After one night, I don't know why, but it was fixed!

danmincu commented 1 year ago

I have the same issue on an Ubuntu 22.04 minimal server installation ? any idea how to fix it?

image

danmincu commented 1 year ago

Answering my own question: the problem was isolated to Putty were despite having correctly set the translation in UTF-8 I had to modify the 'Connection > Data > 'Terminal-type string' to 'putty' instead of 'xterm' - because Putty ignores the character sequence to switch to drawing-mode image

Syllo commented 1 year ago

Sorry for the delay. @yosider it may have been a ncurses/ncursesw issue that got resolved after other software installs. @danmincu, yes putty has its own section in the README for this case :wink: .

csaroff commented 7 months ago

Yeah. Strangely it runs fine inside of tmux for me, but outside it looks garbled.