Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436734 - >=x11-drivers/xf86-video-intel-2.20.9 (using SNA) causes missing lower-right pixel in unfocused xterm cursor and flickering in chromium tabs
Summary: >=x11-drivers/xf86-video-intel-2.20.9 (using SNA) causes missing lower-right ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 00:28 UTC by Joe Peterson (RETIRED)
Modified: 2015-02-23 01:07 UTC (History)
4 users (show)

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


Attachments
Xorg.0.log from 2.20.9 (Xorg.0.log,41.54 KB, text/plain)
2012-10-01 01:41 UTC, Joe Peterson (RETIRED)
Details
Screen shot showing missing pixel at lower right of xterm cursor (xterm_cursor.png,10.03 KB, image/png)
2012-10-01 01:43 UTC, Joe Peterson (RETIRED)
Details
Video screen capture showing the chromium tab flicker (sna_chromium_flicker.mkv,354.51 KB, video/x-matroska)
2012-10-01 14:50 UTC, Joe Peterson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2012-10-01 00:28:26 UTC
Both 2.20.7 and 2.20.8 of x11-drivers/xf86-video-intel exhibit strange behavior that did not exist in 2.20.6 and earlier.

1) In an unfocused xterm window, where the block cursor is an empty rectangle, the lower right pixel is missing.

2) In Chromium, moving the mouse in a tab causes strange, blocky flickering of parts of the text in that tab.

Note that #1 also is mentioned in the following Arch Linux bug: https://bugs.archlinux.org/task/30983

From lspci: VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


Portage 2.1.11.23 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.5.3 x86_64)
=================================================================
System uname: Linux-3.5.3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9600_@_2.53GHz-with-gentoo-2.2
Timestamp of tree: Sat, 29 Sep 2012 20:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.4.7, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo cvs joes
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/joe/gentoo/cvs/gentoo-x86 /home/joe/gentoo/joes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-01 00:38:46 UTC
And is there also display corruption in 2.20.9? For both sna and uxa?

If the problem is still present in 2.20.9 with sna, then it would be good if you report this upstream at https://bugs.freedesktop.org/ with screenshots and, if possible, bisected.
Comment 2 Reinis Danne 2012-10-01 00:48:35 UTC
Please provide your Xorg.0.log. Does it happens with SNA or UXA? Please test both (X log tells which is in use, UXA by default if both are built).

Try testing 2.20.9 (or 9999 for x11 overlay), it should be bumped shortly, but it is also trivial to bump it locally (renaming ebuild should suffice).

Additional info might be useful:
$ emerge --info mesa xorg-server xf86-video-intel
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 01:41:35 UTC
Created attachment 325426 [details]
Xorg.0.log from 2.20.9

Note that SNA is used here for version 2.20.9 (see previous comment asking about this).  In 2.20.6, which does not show the bug, UXA was used, according to the log.
Comment 4 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 01:43:10 UTC
Created attachment 325428 [details]
Screen shot showing missing pixel at lower right of xterm cursor
Comment 5 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 01:47:56 UTC
(In reply to comment #1)
> And is there also display corruption in 2.20.9? For both sna and uxa?
> 
> If the problem is still present in 2.20.9 with sna, then it would be good if
> you report this upstream at https://bugs.freedesktop.org/ with screenshots
> and, if possible, bisected.

It appears that the trouble may be caused by a switch from UXA (appears to be default with 2.20.6) to SNA (default with later versions, including 2.20.9?).

I tried 2.20.9 - same issue.  I've attached a screen shot of the xterm symptom.  Is UXA going away?  Does it make sense that default switched to SNA lately?
Comment 6 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 02:04:36 UTC
I see that the use of UXA has been removed by default by the addition of the "uxa" USE flags in versions after 2.20.6.  Adding uxa back when installing 2.20.9 fixes the issue, so it must be purely an SNA issue.
Comment 7 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 02:38:50 UTC
I have submitted upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=55484
Comment 8 Reinis Danne 2012-10-01 10:41:25 UTC
UXA is not going away immediately, but SNA is so much faster tough newer and thus less tested. SNA use was set to default to give it extra exposure and testing, its bugs are fixed quickly if upstream is informed about them.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-01 11:10:37 UTC
Upstream asked for a second separate bug report for the chromium issue. Using the xf86-video-intel-9999.ebuild from the X11 overlay and
# EGIT_COMMIT="..." emerge xf86-video-intel
you can do a manual bisect.

Can you capture the chromium corruption in a screenshot or with ffmpeg -f x11grab?
Comment 10 Joe Peterson (RETIRED) gentoo-dev 2012-10-01 14:50:36 UTC
Created attachment 325478 [details]
Video screen capture showing the chromium tab flicker

Here's a video capture of the chromium flicker issue (symptom #2 above).  I opened a new bug upstream for this (as requested by upstream): https://bugs.freedesktop.org/show_bug.cgi?id=55500

Not sure bisecting is useful at this time, since I do not know when the problem began (or if it has always exisited).  I had assumed both problem started in 2.20.7 because that's when SNA started being used (and I only realized this after bug discussion).
Comment 11 Joe Kappus 2013-09-25 17:25:04 UTC
Ancient history.  Upstream bug fixed, close this as RESOLVED FIXED.
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-09-25 17:32:44 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=55500 is not fixed
Comment 13 Matt Turner gentoo-dev 2015-02-23 01:07:52 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #12)
> https://bugs.freedesktop.org/show_bug.cgi?id=55500 is not fixed

I don't think there's value in having this bug open in our bugzilla. Only upstream is going to fix bugs like this.