Created attachment 527672 [details] Screenshot of nmon showing rendering problems Since some system updates I see strange rendering problems in nmon. Doesn't matter which version. See screenshot attached. Happens in KDE console, lxterminal. Classic x11-terms/xterm and linux text console seem not to be affected.
In Fedora they were applying this patch to fix some "rendering issues with ncurses apps" with konsole-17.12* https://src.fedoraproject.org/rpms/konsole5/raw/43cde26ed8a4e3162ed87fa0d3b48b1eb70a5220/f/konsole_REP.patch Maybe you could give it a try
I have the same issue but with xfce4-terminal; all other ncurses-based apps work (alpine, htop..) except nmon, and the problem is definitely the recent ncurses update to 6.1. Everything was fine with 6.0. Since 6.0 is now gone I was forced to update as well and started investigating. What I found was that while xfce4-terminal sets TERM to "xterm" by default, setting TERM to something else in the shell ("konsole" or "xterm-color" worked for me) seems to fix the problem and nmon immediately renders properly again. I have no idea whether this is a problem with the terminal emulator, ncurses or the application itself. So tl;dr: try to set TERM=xterm-color in your profile.
I haven't been able to replicate the issue with other VTE-based terminal emulators. Did somebody try if the patch works and if it breaks other stuff?
tazinblack, please attach the emerge info and the build log, as well as the DE/WM you're using. I can't reproduce the issue with Konsole in i3 on X.
emerge --info Portage 2.3.24 (python 3.4.8-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo x86_64) ================================================================= System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Core-TM-_i7-4500U_CPU_@_1.80GHz-with-gentoo-2.4.1 KiB Mem: 7933208 total, 75288 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Sun, 10 Jun 2018 06:30:01 +0000 Head commit of repository gentoo: f5264c7158be1f58cf3c283110055553b331ec5a sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r11::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core-avx2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities aes alsa amd64 apache2 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli client-libs consolekit crypt cryptsetup cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fma3 fortran gdbm gif glamor gpm gtk iconv ipod ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp opus pam pango pcre pdf phonon php plasma png policykit popcnt ppds pulseaudio qml qt3support qt5 readline savedconfig sdl seccomp semantic-desktop spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vhosts vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_4 python3_5 python2_7" RUBY_TARGETS="ruby23" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nvidia modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to Nelo-T. Wallus (ntnn) from comment #4) > tazinblack, please attach the emerge info and the build log, as well as the > DE/WM you're using. > I can't reproduce the issue with Konsole in i3 on X. I use standard KDE plasma
Are you using 6.1-r2 ncurses and is nmon built against it? If not please rebuild and test again.
(In reply to Nelo-T. Wallus (ntnn) from comment #7) > Are you using 6.1-r2 ncurses and is nmon built against it? If not please > rebuild and test again. Yes I use that version and to make sure nmon is build against it I just rebuilt it. But that does not change the behavior. A functional workaround is to change $TERM from xterm-256color to xterm-color before starting nmon with 'export TERM="xterm-color"'
Created attachment 537266 [details] build log of nmon
if you give me detailed instructions how to apply the patch mentioned above I'm going to give it a try
Is this still an issue...?