[Intel-gfx] 4500MHD driver crash

Thomas Fjellstrom tfjellstrom at shaw.ca
Fri Jul 16 23:02:14 CEST 2010


On July 16, 2010, Thomas Fjellstrom wrote:
> On July 16, 2010, Paul Menzel wrote:
> > Am Freitag, den 16.07.2010, 01:50 -0600 schrieb Thomas Fjellstrom:
> > > I've been having this little problem with the intel-gfx driver for a
> > > couple months at least. Basically the xorg intel driver crashes with
> > > these errors:
> > > 
> > > (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot
> > > allocate memory (WW) intel(0): i830_uxa_prepare_access: gtt bo map
> > > failed: Cannot allocate memory (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot
> > > allocate memory (WW) intel(0): i830_uxa_prepare_access: gtt bo map
> > > failed: Cannot allocate memory (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > (WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot
> > > allocate memory (WW) intel(0): i830_uxa_prepare_access: gtt bo map
> > > failed: Cannot allocate memory (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > (WW) intel(0):
> > > i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
> > > 
> > > Backtrace:
> > > 0: /usr/bin/X (xorg_backtrace+0x28) [0x466808]
> > > 1: /usr/bin/X (0x400000+0x67c79) [0x467c79]
> > > 2: /lib/libpthread.so.0 (0x7ff19b297000+0xef60) [0x7ff19b2a5f60]
> > > 3: /usr/lib/xorg/modules/drivers/intel_drv.so
> > > (0x7ff197986000+0x34684) [0x7ff1979ba684] 4:
> > > /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x3524a)
> > > [0x7ff1979bb24a] 5:
> > > /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x3547a)
> > > [0x7ff1979bb47a] 6: /usr/lib/xorg/modules/drivers/intel_drv.so
> > > (0x7ff197986000+0x36a1b) [0x7ff1979bca1b] 7: /usr/bin/X
> > > (0x400000+0xd4750) [0x4d4750]
> > > 8: /usr/lib/xorg/modules/drivers/intel_drv.so
> > > (0x7ff197986000+0x319a2) [0x7ff1979b79a2] 9: /usr/bin/X
> > > (0x400000+0xd4a7e) [0x4d4a7e] 10: /usr/bin/X (0x400000+0xca92e)
> > > [0x4ca92e]
> > > 11: /usr/bin/X (0x400000+0x4c7a4) [0x44c7a4]
> > > 12: /usr/bin/X (0x400000+0x25b4a) [0x425b4a]
> > > 13: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7ff199d9bc4d]
> > > 14: /usr/bin/X (0x400000+0x256f9) [0x4256f9]
> > > Segmentation fault at address 0x29
> > > 
> > > Fatal server error:
> > > Caught signal 11 (Segmentation fault). Server aborting
> > > 
> > > 
> > > After a little google, I've found the following, seemingly similar
> > > issues:
> > > 
> > > http://www.pubbs.net/201001/mandriva/43247-cooker-x-crashing.html
> > > http://lists.opensuse.org/opensuse-bugs/2010-04/msg01805.html
> > > 
> > > This crash happens every few days, most of the time when I'm not even
> > > using the laptop, and the lid is closed, but today it happened while
> > > I was working. Was somewhat interesting to see things just
> > > disappear.
> > > 
> > > I've been trying to track this issue down for a while, someone said
> > > it might be an app leaking pixmaps, but I haven't seen xrestop show
> > > more than 80MB of pixmaps for quite a while. Also, it usually occurs
> > > some time after graphics start getting really slow (though this last
> > > time I didn't really notice things getting slow). Talking a second
> > > or two for window or desktop switching. At no time was there any
> > > errors or warnings in dmesg related to this, nor was I running out
> > > of memory according to "free" or the plasma system load viewer
> > > applet. Usually I had 1-2GB of ram available (not including cache).
> > 
> > At least information about the versions of the X stack you are using
> > are missing.
> 
> Doh. Yeah, I must be tired.
> 
> xserver-xorg/sid uptodate 1:7.5+6
> xserver-xorg-core/sid uptodate 2:1.7.7-2
> xserver-xorg-video-intel/experimental uptodate 2:2.12.0-1
> libgl1-mesa-dri/experimental uptodate 7.8.2-1
> libdrm-intel1/experimental uptodate 2.4.21-1
> linux-kernel 2.6.34
> 
> Using debian sid+experimental to get recent intel drivers.
> 
> > If you do not get any answer from the developers, I recommend to
> > proceed as documented in [1].
> > 
> > 
> > Thanks,
> > 
> > Paul
> > 
> > 
> > [1] http://intellinuxgraphics.org/how_to_report_bug.html
> 
> Will do.

A nice fellow on the irc channel suggested I keep an eye on the gem_objects 
file. It seems that when the computer is left alone, especially with the lid 
closed, the number of objects increases a bit:

20212 objects
325713920 object bytes
6 pinned
8445952 pin bytes
137027584 gtt bytes
234881024 gtt total

Just last night, probably about 14 hours ago, X crashed (which is what 
prompted the first mail), and was started back up again. The number of 
objects then was around 19056.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca



More information about the Intel-gfx mailing list