Bug 16780

Summary: [945GM] intermittent crashes
Product: Mesa Reporter: Ali <ali.slackware>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: medium CC: fatih, michael.fu, petr.vorel
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log
Xorg log
xorg conf

Description Ali 2008-07-19 05:05:11 UTC
I'm using slackware 12.1, for some reason X server crashes, not very often, actually this happened to me 7 times, i'm not able to detect what is causing the crash since the crash happens some times even when i'm opining only Xfce without any program running. after the crash i can't restart my X server anymore, in the Xorg log file i saw this:

Ring at virtual 0xa787d000 head 0xcaac tail 0xca90 count 32761
	0000ca2c: 02000000
	0000ca30: 54f00006
	0000ca34: 03cc2000
	0000ca38: 0014002c
	0000ca3c: 00180030
	0000ca40: 01000000
	0000ca44: 00000000
	0000ca48: 00000010
	0000ca4c: 02000000
	0000ca50: 54f00006
	0000ca54: 03cc2000
	0000ca58: 00140030
	0000ca5c: 00180034
	0000ca60: 01000000
	0000ca64: 00000000
	0000ca68: 00000010
	0000ca6c: 02000000
	0000ca70: 54f00006
	0000ca74: 03cc2000
	0000ca78: 00140034
	0000ca7c: 00180038
	0000ca80: 01000000
	0000ca84: 00000000
	0000ca88: 00000010
	0000ca8c: 02000000
	0000ca90: 00000000
	0000ca94: 00000000
	0000ca98: 00000000
	0000ca9c: 00000000
	0000caa0: 00000000
	0000caa4: 00000000
	0000caa8: 00000000
	0000caac: 00000000
Ring end
space: 20 wanted 32
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8e86000 at 0xb7a8c000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup



Any way the Xorg.log is attached

Please let me now if you want more informations.
Comment 1 Julien Cristau 2008-07-19 07:12:49 UTC
On Sat, Jul 19, 2008 at 05:05:13 -0700, bugzilla-daemon@freedesktop.org wrote:

> Any way the Xorg.log is attached
> 
where?
Comment 2 Ali 2008-07-19 15:20:56 UTC
Created attachment 17766 [details]
Xorg log
Comment 3 Jesse Barnes 2008-07-22 18:25:17 UTC
Hm, there are a few of these intermittent crasher bugs open... Can you try to reproduce with the ExaNoComposite option set to true?
Comment 4 Jesse Barnes 2008-07-22 18:25:56 UTC
Oh and please try with DRI disabled as well, this could be the 3D driver misprogramming the chip, causing the 2D driver to hang.
Comment 5 Ali 2008-07-23 03:37:43 UTC
(In reply to comment #4)
> Oh and please try with DRI disabled as well, this could be the 3D driver
> misprogramming the chip, causing the 2D driver to hang.
> 

i've added Option          "ExaNoComposite" "true"

for some reason i'm not able to disable dri
//
(II) "dri" will be loaded by default.
//

Also i don't know when the problem will be reproduced, since it's very rare.
Anyway i'll post if i have any news.

Many thanks.
Comment 6 Fatih Aşıcı 2008-07-23 15:42:27 UTC
(In reply to comment #5)
> for some reason i'm not able to disable dri

You can disable it adding the following option:

Option "DRI" "false"
Comment 7 Michael Fu 2008-07-29 18:37:14 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Oh and please try with DRI disabled as well, this could be the 3D driver
> > misprogramming the chip, causing the 2D driver to hang.
> > 
> 
> i've added Option          "ExaNoComposite" "true"
> 
> for some reason i'm not able to disable dri
> //
> (II) "dri" will be loaded by default.
> //
> 
> Also i don't know when the problem will be reproduced, since it's very rare.
> Anyway i'll post if i have any news.
> 
> Many thanks.
> 

Ali, did you run into this issue again after turning EXANoComposite on?
Comment 8 Ali 2008-07-30 01:08:14 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Oh and please try with DRI disabled as well, this could be the 3D driver
> > > misprogramming the chip, causing the 2D driver to hang.
> > > 
> > 
> > i've added Option          "ExaNoComposite" "true"
> > 
> > for some reason i'm not able to disable dri
> > //
> > (II) "dri" will be loaded by default.
> > //
> > 
> > Also i don't know when the problem will be reproduced, since it's very rare.
> > Anyway i'll post if i have any news.
> > 
> > Many thanks.
> > 
> 
> Ali, did you run into this issue again after turning EXANoComposite on?
> 

I feel like the Xserver is not crashing anymore, it used to happen once in a week but know i didn't notice any crash. do you think the "ExaNoComposite" "true" makes the difference! 

Comment 9 Ali 2008-08-02 11:10:17 UTC
Created attachment 18083 [details]
Xorg log
Comment 10 Ali 2008-08-02 11:11:02 UTC
Created attachment 18084 [details]
xorg conf
Comment 11 Ali 2008-08-04 07:28:56 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > Oh and please try with DRI disabled as well, this could be the 3D driver
> > > > misprogramming the chip, causing the 2D driver to hang.
> > > > 
> > > 
> > > i've added Option          "ExaNoComposite" "true"
> > > 
> > > for some reason i'm not able to disable dri
> > > //
> > > (II) "dri" will be loaded by default.
> > > //
> > > 
> > > Also i don't know when the problem will be reproduced, since it's very rare.
> > > Anyway i'll post if i have any news.
> > > 
> > > Many thanks.
> > > 
> > 
> > Ali, did you run into this issue again after turning EXANoComposite on?
> > 
> 
> I feel like the Xserver is not crashing anymore, it used to happen once in a
> week but know i didn't notice any crash. do you think the "ExaNoComposite"
> "true" makes the difference! 
> 

Hi again, seems when i post the Xorg.conf and the Xorg.0.log the message for some reason didn't get posted, anyway here's my results.

i turned on EXANoComposite on, dri enabled, and i figured out that i can reproduce the problem using any 3d game, i've attached the Xorg.0.log.

if i disable dri is very hard to me to reproduce the problem since i can't run any 3d game.

Also please note that i've tried the above procedure using xf86-video-intel-2.3.2 and 2.3.1, and seems there is difference between the old and the new one, with the new one the X server tries to start 3 times and gives me the error that the server has crashed 3 times and i go the to tty, but with the old one i got only black screen and i can't use the keyboard.
Comment 12 Jesse Barnes 2008-08-20 13:58:14 UTC
Reassigning to the dri driver guys, can you provide specific steps for reproducing this?
Comment 13 Ali 2008-08-20 15:12:27 UTC
(In reply to comment #12)
> Reassigning to the dri driver guys, can you provide specific steps for
> reproducing this?
> 

Yes, actually recently i discovered that the server crashes with GIMP, scaling or rotating a layer on an image for example, or the image itself. 

A game called sauerbraten, crashes the server, with some heavy maps in the game.

Please if you can provide me how can i start the X server without having to reboot the machine, when the server crashes i can't start it again, if i try to do it tries to load but it doesn't.


Comment 14 Gordon Jin 2008-09-12 00:59:48 UTC
reassigning this 3d bug to Haihao.
Comment 15 Ali 2008-09-18 01:50:24 UTC
(In reply to comment #14)
> reassigning this 3d bug to Haihao.
> 

Hopefully that i can get a solution for this annoying problem.
Comment 16 haihao 2008-09-18 02:26:39 UTC
Could you try mesa_7_0_branch ?
Comment 17 Ali 2008-09-18 02:29:02 UTC
(In reply to comment #16)
> Could you try mesa_7_0_branch ?
> 

I have mesa 7.0.3, is this good enough !
Comment 18 Michael Fu 2008-09-23 22:38:26 UTC
*** Bug 16613 has been marked as a duplicate of this bug. ***
Comment 19 Ali 2008-09-24 02:51:56 UTC
(In reply to comment #18)
> *** Bug 16613 has been marked as a duplicate of this bug. ***
> 

I'm very happy to see other people having the same problem, i believe also there is a lot, but they didn't report here.

Anyway as the number of affected persons increases the chance of getting a solution increases also, so i hope to get a patch or something before the end life of my laptop.
Comment 20 Gordon Jin 2009-01-18 02:26:28 UTC

*** This bug has been marked as a duplicate of bug 17638 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.