Bug 19162

Summary: [GM965] System stalls in bzflag game
Product: Mesa Reporter: zOOm_ER <zOOmER.gm>
Component: Drivers/DRI/i965Assignee: haihao <haihao.xiang>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: medium CC: eich, kent.liu, libv, ling.yue, mat, quanxian.wang, sndirsch
Version: 7.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: xorg.conf
xorg.conf with default: EXA, Composite
X log. with EXA, Composite

Description zOOm_ER 2008-12-18 09:18:04 UTC
Created attachment 21277 [details]
xorg.conf

Hi. i have i965(GMA X3100) built-in videocard on laptop(Toshiba satellite L300-110)

When i run bzflag game (v 2.0.12), after about a ten seconds screen stalls.
Mouse pointer still can be moved, and shown correctly, but other screen image is frozen. Sometimes mouse pointer can left it's trace on the screen.
From that point i can't return back to X or console(until reboot), and only way to communicate with system is ssh. 

From ssh i discovered, that just after the screen freeze in /var/log/messages such lines appeared:
---------
Dec 12 21:52:50 z-laptop kernel: [drm:i915_getparam] *ERROR* Unknown parameter
5
Dec 12 21:53:16 z-laptop kernel: [drm:i915_wait_irq] *ERROR* EBUSY -- rec:
5824764 emitted: 5824767
Dec 12 21:53:19 z-laptop kernel: [drm:i915_wait_irq] *ERROR* EBUSY -- rec:
5824764 emitted: 5824767
Dec 12 21:53:22 z-laptop kernel: [drm:i915_wait_irq] *ERROR* EBUSY -- rec:
5824764 emitted: 5824767
Dec 12 21:53:25 z-laptop kernel: [drm:i915_wait_irq] *ERROR* EBUSY -- rec:
5824764 emitted: 5824767
Dec 12 21:53:28 z-laptop kernel: [drm:i915_wait_irq] *ERROR* EBUSY -- rec:
5824764 emitted: 5824767
---------

P.S.: please say, what else info i need to provide?
Comment 1 Gordon Jin 2008-12-18 17:46:33 UTC
Please tell which driver and kernel version you are using, or the ones shipped in the latest SuSE 11.1?

Could you try the latest upstream kernel (2.6.28)?

You could refer to http://intellinuxgraphics.org/how_to_report_bug.html for future bug reports. Thanks.
Comment 2 zOOm_ER 2008-12-25 14:47:52 UTC
tried on 2.6.27 and 2.6.28 kernels. the same result.
 also i discovered, that mentioned log message 
(kernel: [drm:i915_getparam]*ERROR* Unknown parameter 5) appeared also when i tried few openGL screensavers, which does not work(monitor just fade slightly, and freezes. though such screensavers normally return my display back to me, unlike bzflag).
Comment 3 qwang13 2008-12-31 00:56:32 UTC
I can reproduce it in SLE11-RC1 with Intel Q3 release. 

If you change the press something in game, that is fine. However if you stop there without any repsonse for about 20 seconds. It will appear the problem as descripbed by reporter.
Comment 4 lisa 2009-01-04 00:18:19 UTC
I reproduced it on my T61 with SLED11 RC1(x86_64)(kernel 2.6.27) too. it uese "EXA", EXA extensions: Solid, Copy and Composite, Vblank is desabled by a .drirc file. 
After a few seconds in bzflag, X is non-responsible (can't do VT switch) and i saw the similar error info in /var/log/message: "[drm:i915_wait_irq] *ERROR* EBUSY -- rec: 1719623 emitted: 1719626".
Mouse pointer still can move, but when you clicked the left button, it indicates error:
"[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping."

(Another thing FYI: I also found twice that after bzflag i do ctrl-alt-F1 to text then back to X ctrl-alt-F7 and X stalls)

After reboot, if I modified xorg.conf with "ExaNoComposite On" and restart X plus bzflag, i won't see the system stall.  
I will attach the related logs.
Comment 5 lisa 2009-01-04 00:22:42 UTC
Created attachment 21649 [details]
xorg.conf with default: EXA, Composite
Comment 6 lisa 2009-01-04 00:23:31 UTC
Created attachment 21650 [details]
X log. with EXA, Composite
Comment 7 Gordon Jin 2009-01-04 01:28:38 UTC
also assign to haihao, since this seems similar to 18690 and 19242.
Comment 8 qwang13 2009-01-13 20:38:44 UTC
See the comments#48 of 19242. Try it.
Comment 9 Stefan Dirsch 2009-01-16 04:08:39 UTC
Can't reproduce this issue one any longer after applying the patch from Bug #19242. EXANoComposite *not* set. Closing as duplicate.

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

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.