Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341997 - x11-drivers/xf86-video-intel: Xorg display scrambled after resume from suspend to ram
Summary: x11-drivers/xf86-video-intel: Xorg display scrambled after resume from suspen...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 10:28 UTC by Leon
Modified: 2012-11-28 20:53 UTC (History)
0 users

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


Attachments
Xorg log after the problem occurred. (Xorg.0.log.old,25.85 KB, text/plain)
2010-10-21 10:29 UTC, Leon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon 2010-10-21 10:28:20 UTC
On my Lenovo Thinkpad X61s, the Xorg display is often completely scrambled after resuming from suspend to ram, featuring a great impression of red/purple stripes all over the place, flickering beautifully. The mouse pointer is movable but represented by an approximately 2*2cm square of light dots, overlayed over the previously described pattern.

I should note that I've been experiencing this problem for a long time, perhaps one or a half year, using many different xorg-server and driver versions. It feels like the problem has increased since the upgrade to xorg-server-1.9 and xorg-driver-1.9, as it happens almost every time I resume.

leon@hactar ~ % lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

The xorg-server version I am running is 1.9.0.901 together with xorg-drivers 1.9, but as I mentioned, this happened with previous versions as well (IIRC even 1.6).

$ uname -a
Linux hactar 2.6.35-gentoo-r10 #1 SMP PREEMPT Wed Oct 13 10:31:58 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz GenuineIntel GNU/Linux

Just as with the xorg-server, I experienced this with much older kernels as well.

When this happens, I'm left with the option of killing xorg by using ctrl+shift+backspace, which works and restarts the server. I'll attach the complete Xorg.0.log.old file that I'm left with afterwards, but here's an excerpt of the parts that I think are relevant:

[ 79784.158] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.

Waiting longer before killing the server will result in multiplication of those lines.





Reproducible: Sometimes

Steps to Reproduce:
1. Suspend to RAM.
2. Resume.
Actual Results:  
Display scrambled and unusable.

Expected Results:  
Display usable ;)

leon@hactar ~ % emerge --info
Portage 2.2_rc90 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r10-fnord x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r10-fnord-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 21 Oct 2010 09:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.3-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm bluetooth bzip2 cairo cdparanoia color-console consolekit contrast cracklib crypt cups curl cxx dbus dcop device-mapper dia directfb djvu dri dts dvb dvd dvdread eap-sim ebook encode esd exif extras faac fax fbcon fbdev ffmpeg firefox flac fortran ftp fuse garmin gcj gdbm gif gimp git glitz gnutls gphoto2 gps gpsd gsm gtk hal hbci hdaps hddtemp hvm ibmacpi iconv id3 id3tag idle imagemagick imap iostats ipod iproute2 ipv6 ipw3945 ipw4965 jabber jpeg kqemu kvm ladspa lame latex ldap libcaca libnotify libv4l2 live lua lyrics lzma mad maildir matroska mdnsresponder-compat mikmod mixer mmx mmxext modules mp2 mp3 mp4 mudflap multilib musicbrainz nat ncurses nfs nls nptl nptlonly nsplugin ntp ogg openexr opengl openmp openssl otr pam pdf perl png pnm postscript ppds pppd pulseaudio python qt qt3support qt4 quicktime rar raw readline replytolist rtc rtsp ruby sasl scanner sdl sensord smapi smime smp smtp snmp sound soundtouch sqlite srv sse sse2 ssl ssse3 stream subversion svg sysfs taglib tcpd theora thinkpad threads tiff transparency trayicon truetype tv unicode usb v4l v4l2 vim-syntax visualization vorbis wifi wps x264 xanim xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="canon 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leon 2010-10-21 10:29:11 UTC
Created attachment 251431 [details]
Xorg log after the problem occurred.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2012-11-28 20:53:14 UTC
Sorry for the *very* long delay... Are you still having troubles with the latest ~arch ebuild (2.20.14 as of today). If so, please let us know and open a bug report upstream [1].

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html