Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362019 - x11-drivers/xf86-video-intel-2.14.0: Glyph corruption
Summary: x11-drivers/xf86-video-intel-2.14.0: Glyph corruption
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 07:04 UTC by Jeremy Murphy
Modified: 2011-04-25 23:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Murphy 2011-04-05 07:04:40 UTC
After deciding to test out 2.6.38, I shortly noticed that occasionally the tab bar of chromium gets horizontal banding of the corrupt graphics variety.


# lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)


# glxinfo |grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM  
OpenGL version string: 1.4 Mesa 7.10.1


Reproducible: Sometimes

Steps to Reproduce:
1. Boot 2.6.38
2. Use chromium
3. Do stuff that affects the tab bar: open new, close, move around, navigate back and forth, etc.

Actual Results:  
Graphical corruption in tab bar.

Expected Results:  
No graphical corruption.

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_U7600_@_1.20GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 04 Apr 2011 22:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1 dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo "
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amd64codecs avahi bash-completion berkdb blas bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups curl cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode exif expat fam ffmpeg fftw flac fontconfig fortran gcj gd gdbm gdu geoip gif gmp gnutls gphoto2 gpm graphviz gsl gtk iconv icu ieee1394 imagemagick imlib ipod ipv6 java java6 javascript jpeg kde kqemu lame lapack latex lcms ldap libsamplerate lzo mad matroska mikmod mmap mmx mng modules mp3 mp4 mpeg mtp mudflap multilib musepack mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp pam pango pch pcre pdf perl php png policykit ppds pppd python qt3support qt4 readline recode samba sdl session sharedmem sndfile sockets spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog sysvipc szip taglib tcpd theora threads tiff timidity truetype udev unicode usb vnc vorbis wavpack wifi wmf x264 xcb xcomposite xml xorg xpm xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-07 16:05:30 UTC
This isn't very obviously a kernel problem, but maybe similar problems are known there or a userland solution is already known. CC-ing x11@ since it might as well be a media-libs/mesa issue.
Comment 2 Jeremy Murphy 2011-04-08 01:31:45 UTC
Yeah, agreed.  I also just noticed some similar corruption in the Eclipse status bar, which is probably but not certainly related.

Also, the best way to reproduce the tab bar corruption is when typing into the address bar: Chromium's attempts to guess and auto-complete are what cause the corruption.
Comment 3 Stratos Psomadakis (RETIRED) gentoo-dev 2011-04-19 08:34:34 UTC
I had the same issue when booting 2.6.38 kernel on my laptop(it also affects x86, and not only amd64), with the i915 driver...Random screen corruption everywhere(from the chrome tabs, to the fluxbox statusbar)...

Unfortunately, my laptop is a bit old(it runs debian and it can barely run chrome or firefox without running out of memory :P), thus I can't do that much debugging(or compile new kernels to test)...

However, this issue seems to be reported by others too(for Debian and Ubuntu too), and seems to be fixed[1] in 2.6.39-rc1[2]...Can you try the latest 2.6.39-rc and see if it fixes your problem?...
And a note from the commit:
"[Note for 2.6.38-stable, we need to reintroduce the interruptible passing]"
Thus it seems that applying only that patch  to 2.6.38 won't work...
It's not yet included in the latest -stable(2.6.38) upstream release either...
I'll try compiling and testing 2.6.39-rc later...

[1] https://bugs.freedesktop.org/show_bug.cgi?id=34584
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=29c5a587284195278e233eec5c2234c24fb2c204
Comment 4 Jeremy Murphy 2011-04-19 08:53:42 UTC
Thanks for following up on this bug.  I'll probably wait until .39 is released before testing it, cheers.
Comment 5 Stratos Psomadakis (RETIRED) gentoo-dev 2011-04-19 12:05:14 UTC
Unfortunately, after a couple of hours that took me to compile the kernel, 2.6.39-rc4 doesn't seem to fix the corruption issue. :/
If anyone else tests it, let me know.
Comment 6 Stratos Psomadakis (RETIRED) gentoo-dev 2011-04-19 14:06:46 UTC
(In reply to comment #5)
> Unfortunately, after a couple of hours that took me to compile the kernel,
> 2.6.39-rc4 doesn't seem to fix the corruption issue. :/
> If anyone else tests it, let me know.
After searching a bit, I found that there was another 'corruption' bug[1] with the xf86-video-intel driver this time. xf86-video-intel-2.15 includes a patch[2] that fixes that second bug, and worked for me, with a 2.6.38 kernel.

You can test unmasking the 2.15 intel driver, to see if it works.

(mabye this isn't exactly a kernel bug after all, thus I remove the [2.6.38 regression] from the whiteboard, 2.6.39 doesn't seem to fix the problem anyway)

[1] https://bugs.freedesktop.org/show_bug.cgi?id=34980
[2] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=d21d781466785c317131a8a57606925867265dc8
Comment 7 Jeremy Murphy 2011-04-23 01:11:57 UTC
Yeah, upgrading to 2.15.0 has either entirely or almost entirely fixed the bug, so I'm changing the bug from kernel to xf86-video-intel driver.  (I also realized that I don't see the bug at all on my other computer that has 2.6.38 but a radeon GPU.)  Maintainers/wranglers, you may want to reassign.

Unless you think there are any outstanding issues, I'll close this bug soon.
Comment 8 Mike Pagano gentoo-dev 2011-04-25 17:01:14 UTC
I think this is one for you folks. reassigning.
Comment 9 Jeremy Murphy 2011-04-25 23:40:19 UTC
And closing, as promised.