When a program prints text with background color and erases the rest of the line, all of the text (and other parts of the screen) get replaced by "garbage": 1px-wide vertical lines, colored blue-green-red. (See attached screenshot.) If I switch to a different terminal and go back, or move over the mouse pointer (from gpm), the text becomes normal. I thought this might be hardware-related, but it's probably not - since I can take a screenshot (from /dev/fb0), and still see the garbage there. This does not happen if I use the radeonfb driver. (But radeonfb has other problems, unfortunately.) Reproducible: Always Steps to Reproduce: 1. Start Linux with vesafb as the framebuffer driver. I used options "video=vesafb:ywrap,mtrr,1280x1024-24@60", but they don't seem to matter. 2. In text mode, clear screen, and run "echo -e \\e[41mXXXXXXXXX\\e[K\\e[0m". Actual Results: First "X" is visible, but the rest are replaced with garbage (as well as parts of the screen at the left and at the right of the line). Expected Results: A line of X's with the specified background color. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.usu.edu/mirrors/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.noved.org/" LANG="en_US.UTF-8" LINGUAS="en uk ru de es" PKGDIR="/stuff/pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d aalib acl acpi aim alsa apache2 arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts cdparanoia cdr crypt cups curl dga divx4linux dvd dvdr eds emboss encode esd ethereal fam fbcon flac flash foomaticdb gd gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 java javascript jikes jpeg jpeg2k junit kde kdeenablefinal ldap lesstif libg++ libwww live lm_sensors logitech-mouse mad mikmod mmx mozilla mp3 mpeg msn mysql ncurses nls nptl offensive ogg oggvorbis openexr opengl oscar pam pcre pdflib perl png povray python qt quicktime rdesktop readline real rtc ruby samba scanner sdl session sftplogging slang slp snmp spell sse ssl svg symlink tcltk tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid yahoo zeroconf zlib video_cards_radeon linguas_en linguas_uk linguas_ru linguas_de linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY I've had this problem for quite a while - since kernel 2.6.7, maybe earlier. My video card is ATI Radeon 7000.
Created attachment 68138 [details] Screenshot
Doesn't seem reproducible with plain old vesafb
Could you please try disabling fbsplash (splash_util -c off should be enough, you don't have to compile it out of the kernel) and checking whether the problem still occurs?
I tried... But without the fbsplash, everything is still the same.
Created attachment 68711 [details] Screenshot without fbsplash Here's a screenshot of the "make menuconfig" dialog, with fbsplash disabled.
Created attachment 68712 [details] Screenshot without fbsplash Here's a screenshot of "make menuconfig" dialog, with fbsplash disabled.
Created attachment 68713 [details] Screenshot without fbsplash Sorry... I keep posting the wrong screenshot. This is a "make menuconfig" dialog with fbsplash disabled. Still, same problems.
Apparently, the problem was that the depth was set to 24 bits, instead of 32. With 32, everything works fine. You might be able to reproduce my problems after running "fbset -depth 24". I don't know if this should be considered a bug - I'll leave it open, just in case.
Is it still a problem with the latest gentoo-sources?
Hm, seems fixed now.