Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326165 - x11-drivers/xf86-video-intel-2.12.0: Random hard lockups
Summary: x11-drivers/xf86-video-intel-2.12.0: Random hard lockups
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 14:08 UTC by Tassilo Horn
Modified: 2010-09-21 22:21 UTC (History)
3 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 Tassilo Horn 2010-06-29 14:08:32 UTC
I get random hard lockups with the new intel driver version 2.12.0.  I already had them with 2.11.0.  The bug is tracked upstream at

  http://bugs.freedesktop.org/show_bug.cgi?id=27647

but is seems they think it is fixed (but where? git or 2.12.0?).

Bug 314935 is related, but there the reporter was using 2.11.0 and was still able to switch to a VT.  That's not the case here.  Even Magic SysRQ keys don't work anymore.  Sadly, that implies that I have no backtrace nor any suspicious logfile entries...

The lockup is totally random.  It happens about once a day.  With 2.11.0 it happened more often...

Reproducible: Sometimes




Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Jun 2010 17:55:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 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.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FSF-APPROVED @OSI-APPROVED ANTLR freedist TeX LGPL-2 BitstreamVera BZIP2 FLEX FDL-1.1 LPPL-1.3c OFL libstdc++ GPL-2-with-linking-exception fontconfig sun-j2sl-6 popt Info-ZIP MOTIF adobe-ps libgcc gcc-runtime-library-exception-3.1 gsm nosell FDL-1.3 w3m LPPL-1.3 GPL-1 ZSH FDL-1.2 CRACKLIB DB OpenSoftware PAM tcp_wrappers_license Subversion POSTGRESQL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse4.1 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe -msse4.1 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/ http://gentoo.tiscali.nl/ http://gentoo.wheel.sk/ http://gentoo.virginmedia.com/ http://mirror.mdfnet.se/mirror/gentoo http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ http://mirrors.ludost.net/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,lazy"
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="/var/lib/layman/emacs /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/kde /usr/local/overlays/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi akonadi alsa amd64 aspell avahi berkdb bluetooth branding bzip2 cairo caps cdr cleartype cli consolekit cracklib crypt cups curl cxx dbus device-mapper dhcpcd djvu dri dts dvd dvdr dvi emacs emboss encode exif ffmpeg firefox flac fontconfig fontforge fortran fuse gallium gdbm gif gmp gnutls gpg gpm gs gstreamer gtk hal iconv idn imagemagick inotify ioctl ipv6 jpeg kde kpathsea lame laptop lastfm lcms lzma mad mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntp ogg opengl openmp pam pango pcre pdf perl phonon png policykit postgres ppds pppd pulseaudio python qt3support qt4 raw readline reflection samba schroedinger sdl semantic-desktop session slp smp spl sqlite sse sse2 ssh ssl ssse3 startup-notification svg sysfs syslog t1lib taglib tcpd theora threads tiff truetype udev unicode upnp usb vorbis webkit wifi x264 xcb xcomposite xft xine xinerama xml xmp xorg xpm xrandr xv xvid zeroconf zlib zsh-completion" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-06-29 21:26:22 UTC
Which is your Xorg and kernel version? Are you using KMS?
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2010-06-29 21:41:05 UTC
Please try with one of the latest 2.6.35_rc kernels.

Thanks
Comment 3 Tassilo Horn 2010-06-30 16:19:47 UTC
(In reply to comment #1)
> Which is your Xorg and kernel version? Are you using KMS?

x11-base/xorg-server-1.8.1.902 and sys-kernel/gentoo-sources-2.6.34-r1.
Comment 4 Tassilo Horn 2010-06-30 16:21:26 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Which is your Xorg and kernel version? Are you using KMS?
> 
> x11-base/xorg-server-1.8.1.902 and sys-kernel/gentoo-sources-2.6.34-r1.

Ups, sorry. I didn't see the other question.  Yes, I am using KMS.
Comment 5 Tassilo Horn 2010-06-30 16:22:58 UTC
(In reply to comment #2)
> Please try with one of the latest 2.6.35_rc kernels.

Ok, I'll try sys-kernel/git-sources-2.6.35_rc3-r3 with x11-drivers/xf86-video-intel-2.12.0.
Comment 6 Tassilo Horn 2010-07-01 17:34:58 UTC
(In reply to comment #5)
> (In reply to comment #2)
> > Please try with one of the latest 2.6.35_rc kernels.
> 
> Ok, I'll try sys-kernel/git-sources-2.6.35_rc3-r3 with
> x11-drivers/xf86-video-intel-2.12.0.

With this 2.6.35_rc kernel, I didn't get a hard lockup till now.  So it looks good.  But then, I guess the intel driver should have a dependency on the new kernel.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2010-07-01 18:14:18 UTC
Reopening
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2010-07-01 18:16:21 UTC
Unfortunately, we can't specify deps on kernels because we have no way of enforcing which kernel the user will actually launch (in grub or elsewhere).

The only thing we can do is keep this in the back of our minds and advise users when things break.

Thanks
Comment 9 Tassilo Horn 2010-07-05 06:55:38 UTC
I'm really sorry, but I have to reopen this one. :-(

Using a 2.6.35_rc kernel (currently git-sources-2.6.35_rc3-r8), I do not have really random lock-ups which I had with 2.6.34.  With 2.6.34, I often went to a meeting and when I came back an hour ago, the system was locked up while showing the KDE ASCII art aquarium screensaver.

With a 2.6.35_rc kernel, till now, such a lock-up while normal work or idling didn't happen anymore.  Unfortunately, I get a hard luck-up when changing resolutions or configuring an external monitor using KDE's System Settings or xrandr.  These lock-ups happened in 3 out of 4 tries to configuring the outputs.

So for now, I switched back to x11-drivers/xf86-video-intel-2.10.0-r1.
Comment 10 Robin Bankhead 2010-07-07 12:46:14 UTC
Same issues here - will try downgrading to xf86-video-intel-2.10.0-r1 to see if that helps.

Hardware: Samsung NC10
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Comment 11 Craig Andrews gentoo-dev 2010-07-30 19:44:25 UTC
I am seeing these hard lockups on my system with 2.11 and 2.12. I'm currently running 2.6.34-gentoo-r1, and I am using KMS.

I can trigger the problem very reliably by playing a video (this is my XBMC media server). Within ~3 minutes of the start of the video, the system locks up. I've had the computer running for days, perfectly stable, as long as I don't play a video (I can browse the XBMC menus, compile things, etc).

When the lockup occurs, the keyboard is completely unresponsive (not even the caps lock light will toggle), and network access is lost (I cannot connect using SSH, and my active SSH session is unresponsive, eventually timing out). It appears kernel and userspace lockup, but I don't know how to tell for sure.
Comment 12 Craig Andrews gentoo-dev 2010-07-30 19:47:59 UTC
Oops, forgot to include my hardware card info...

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)

This is on an x86-64 (Core 2 Quad) desktop
Comment 13 Tassilo Horn 2010-08-02 07:05:20 UTC
The problem has become even more serious.  After updating to xorg-server-1.8.99.905 (~amd64), I gave x11-drivers/xf86-video-intel-2.12.0 another try.  When trying to configure my 2 outputs using KDE's system settings, I got another hard lockup.

I'm using sys-kernel/git-sources-2.6.35_rc6-r6 with KMS, but it's the same with gentoo-sources-2.6.34*.

Unfortunately, with xorg-server-1.8.99.905, the stable x11-drivers/xf86-video-intel-2.10.0-r1 which is the last version not locking up doesn't compile anymore.  So that last resort is gone, unless you don't downgrade and mask the new xorg-server.

make[3]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0/src'
  CC     i810_accel.lo
  CC     i810_cursor.lo
  CC     i810_dga.lo
i810_dga.c: In function ‘I810DGAInit’:
i810_dga.c:87: warning: ‘Xrealloc’ is deprecated (declared at /usr/include/xorg/os.h:229)
i810_dga.c:90: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
  CC     i810_driver.lo
  CC     i810_io.lo
  CC     i810_memory.lo
In file included from i810_driver.c:73:
i830.h:81: error: redefinition of ‘struct list’
i830.h:86: error: conflicting types for ‘list_init’
/usr/include/xorg/list.h:35: note: previous definition of ‘list_init’ was here
i830.h:92: error: conflicting types for ‘__list_add’
/usr/include/xorg/list.h:41: note: previous definition of ‘__list_add’ was here
i830.h:103: error: conflicting types for ‘list_add’
/usr/include/xorg/list.h:52: note: previous definition of ‘list_add’ was here
i830.h:109: error: conflicting types for ‘__list_del’
/usr/include/xorg/list.h:58: note: previous definition of ‘__list_del’ was here
i830.h:116: error: conflicting types for ‘list_del’
/usr/include/xorg/list.h:65: note: previous definition of ‘list_del’ was here
i830.h:123: error: conflicting types for ‘list_is_empty’
/usr/include/xorg/list.h:72: note: previous definition of ‘list_is_empty’ was here
i810_driver.c: In function ‘I810FreeRec’:
i810_driver.c:367: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
  CC     i810_video.lo
i810_driver.c: In function ‘I810PreInit’:
i810_driver.c:621: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
i810_driver.c: In function ‘I810ScreenInit’:
i810_driver.c:1917: warning: ‘Xcalloc’ is deprecated (declared at /usr/include/xorg/os.h:225)
i810_driver.c: In function ‘I810CloseScreen’:
i810_driver.c:2329: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_driver.c:2335: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_driver.c:2356: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
make[3]: *** [i810_driver.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i810_video.c: In function ‘I810InitVideo’:
i810_video.c:177: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
i810_video.c:192: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c: In function ‘I810SetupImageVideo’:
i810_video.c:386: warning: ‘Xcalloc’ is deprecated (declared at /usr/include/xorg/os.h:225)
i810_video.c: In function ‘I810AllocateSurface’:
i810_video.c:1228: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
i810_video.c:1232: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
i810_video.c:1233: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c:1237: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
i810_video.c:1238: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c:1239: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c: In function ‘I810FreeSurface’:
i810_video.c:1289: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c:1290: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c:1291: warning: ‘Xfree’ is deprecated (declared at /usr/include/xorg/os.h:234)
i810_video.c: In function ‘I810InitOffscreenImages’:
i810_video.c:1404: warning: ‘Xalloc’ is deprecated (declared at /usr/include/xorg/os.h:221)
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.10.0-r1 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 4246:  Called xorg-2_src_compile
 *   environment, line 5170:  Called base_src_compile
 *   environment, line  688:  Called base_src_make
 *   environment, line  726:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-intel-2.10.0-r1',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-intel-2.10.0-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0'

Currently, I'm using x11-drivers/xf86-video-intel-9999.  Here I got a crash when trying to configure my monitors with KDE's system settings, but at least the system stayed responsive.  When using xrandr for that job on the command line, it worked.

Hardware info from lspci:

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 22:20:19 UTC
The 8xx situation in X-land has been hectic lately but is improving. For now, I'm not sure what to tell you except to try the latest ebuilds we supply and file bugs upstream [1] if something breaks.

That's about as much as I can tell you.

If you do file bugs upstream, please add "remi@gentoo.org" as a CC on the upstream bug so I can track the issue.

Thanks
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 22:21:05 UTC
[1] http://intellinuxgraphics.org/how_to_report_bug.html