Bug 16572

Summary: [GM965] xserver crash with pyamanith
Product: Mesa Reporter: Giorgos Giagas <giorgosg>
Component: Drivers/DRI/i965Assignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: haihao.xiang
Version: 7.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 16467    
Attachments: backtrace from tha crash
Xorg.0.log
the python program that causes the crash

Description Giorgos Giagas 2008-06-30 09:46:08 UTC
The xserver crashes with a simple python program using pyamanith.

Hardware: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller

Software:
gentoo amd64
The problem has persited through some softaware upgrades but now I have:
  Kernel: 2.6.25
  Xserver: 1.4.2
  Intel Driver: git master branch
  mesa: mesa_7_0_branch
  libdrm: git master branch
Comment 1 Giorgos Giagas 2008-06-30 09:47:00 UTC
Created attachment 17464 [details]
backtrace from tha crash
Comment 2 Giorgos Giagas 2008-06-30 09:49:08 UTC
Created attachment 17465 [details]
Xorg.0.log

it contains the message:
Error in I830WaitLpRing(), timeout for 2 seconds
Comment 3 Giorgos Giagas 2008-06-30 09:52:01 UTC
Created attachment 17466 [details]
the python program that causes the crash

I tested it with amanith-0.3 and PyAmanith-0.3.34
Comment 4 Giorgos Giagas 2008-06-30 09:54:08 UTC
in the python program, if I remove the strokegradient or make the path sorter it doesn't crash.
Comment 5 Wang Zhenyu 2008-06-30 22:01:44 UTC
Could you try with "export LIBGL_ALWAYS_INDIRECT=1"? Seems like a dri GL driver bug.
Comment 6 Giorgos Giagas 2008-07-01 01:13:40 UTC
With LIBGL_ALWAYS_INDIRECT=1 it doesn't crash.
A wine app that was crashing also works with it.
On closing the wine app though I encountered a different crash. Should I investigate this also?
Comment 7 Wang Zhenyu 2008-07-01 01:25:30 UTC
Not here please, they may trigger different problems, feel free to open new bug.

reassign to haihao as this is a dri driver issue.
Comment 8 Wang Zhenyu 2008-07-01 01:26:37 UTC
Not here please, they may trigger different problems, feel free to open new bug.

reassign to haihao as this is a dri driver issue.
Comment 9 Giorgos Giagas 2008-07-01 04:03:57 UTC
I don't want to make this report about any of these other problems but with LIBGL_ALWAYS_INDIRECT=1 the rendering is different than what it should be. Also if I enable compositing in metacity it crashes even with it (Propably also a different crash)
Comment 10 haihao 2008-07-17 23:49:53 UTC
fixed in mesa_7_0_branch. (5ce5cc93d51bc784a54aa4f51298715fa2c8d5aa)

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.