From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhigang Gong" Subject: Re: One regression in UXA Date: Fri, 16 Dec 2011 16:11:15 +0800 Message-ID: <00b001ccbbca$494e2df0$dbea89d0$@linux.intel.com> References: <00a501ccbbc9$f6f87380$e4e95a80$@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1098940851==" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 77D3C9F070 for ; Fri, 16 Dec 2011 00:11:21 -0800 (PST) In-Reply-To: <00a501ccbbc9$f6f87380$e4e95a80$@linux.intel.com> Content-Language: zh-cn List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: 'Chris Wilson' Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This is a multipart message in MIME format. --===============1098940851== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B1_01CCBC0D.5772F490" Content-Language: zh-cn This is a multipart message in MIME format. ------=_NextPart_000_00B1_01CCBC0D.5772F490 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Forgot to mention that to access that link need to be in Intel intranet environment. From: intel-gfx-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org [mailto:intel-gfx-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org ] On Behalf Of Zhigang Gong Sent: Friday, December 16, 2011 4:09 PM To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] One regression in UXA Hi Chris, I tested a browser case with latest UXA code and experienced X crashed. I bisected it and found that it was introduced by commit 5d5b2b8ee203ae2274fc7d13ed38d2945facca9e. The back trace of the crash is as below: Backtrace: 0: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (xorg_backtrace+0x3b) [0x81b5fdb] 1: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (mieqEnqueue+0x15c) [0x8195a0c] 2: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x40782) [0x8088782] 3: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (xf86PostMotionEventM+0xf1) [0x80c5671] 4: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so (0xb7623000+0x2fdf) [0xb7625fdf] 5: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so (0xb7623000+0x4229) [0xb7627229] 6: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x67fcf) [0x80affcf] 7: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg (0x8048000+0x8e984) [0x80d6984] 8: (vdso) (__kernel_sigreturn+0x0) [0xb7fff400] 9: /home/gongzg/gfx-dev-test/build/lib/libdrm_intel.so.1 (drm_intel_gem_bo_map_gtt+0x83) [0xb7e9cee3] 10: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0xd6cb) [0xb7eae6cb] -- intel_uxa_pixmap_put_image 11: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0xf42c) [0xb7eb042c] -- intel_uxa_put_image 12: /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so (0xb7ea1000+0x37f8e) [0xb7ed8f8e] -- uxa_trapezoids It's a one line patch. And there is not too much thing to do with UXA code, I guess It may be a libdrm related problem. It's can be simply reproduced in my machine, Use Mozilla 3.6.10 to open the following URL: http://pnp.sh.intel.com/WRTBench/Workload_3.3_rev0.13/iterations_rev11_new.h tml It will iterate many pages and finally give a report. The crash may occur after a few seconds of running. Uncomment that one line patch can avoid this crash. ------=_NextPart_000_00B1_01CCBC0D.5772F490 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Forgot to mention that to access that link need = to be in Intel intranet environment.

 

From:= = intel-gfx-bounces+zhigang.gong=3Dlinux.intel.com@lists.freedesktop.org = [mailto:intel-gfx-bounces+zhigang.gong=3Dlinux.intel.com@lists.freedeskto= p.org] On Behalf Of Zhigang Gong
Sent: Friday, December = 16, 2011 4:09 PM
To: Chris Wilson
Cc: = intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] One = regression in UXA

 

Hi Chris,

 

I tested a browser case with latest UXA code and = experienced X crashed.

I bisected it and found that it was introduced by =

commit = 5d5b2b8ee203ae2274fc7d13ed38d2945facca9e.

 

The back trace of the crash is as = below:

 

Backtrace:

0: /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (xorg_backtrace+0x3b) [0x81b5fdb]

1: = /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (mieqEnqueue+0x15c) [0x8195a0c]

2: = /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (0x8048000+0x40782) [0x8088782]

3: = /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (xf86PostMotionEventM+0xf1) [0x80c5671]

4: = /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so = (0xb7623000+0x2fdf) [0xb7625fdf]

5: = /home/gongzg/gfx-dev-test/build/lib/xorg/modules/input/evdev_drv.so = (0xb7623000+0x4229) [0xb7627229]

6: = /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (0x8048000+0x67fcf) [0x80affcf]

7: = /home/gongzg/gfx-dev-test/src/xserver/hw/xfree86/Xorg = (0x8048000+0x8e984) [0x80d6984]

8: (vdso) (__kernel_sigreturn+0x0) = [0xb7fff400]

9: /home/gongzg/gfx-dev-test/build/lib/libdrm_intel.so.1 = (drm_intel_gem_bo_map_gtt+0x83) [0xb7e9cee3]

10: = /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so = (0xb7ea1000+0xd6cb) [0xb7eae6cb]   -- intel_uxa_pixmap_put_image

11: = /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so = (0xb7ea1000+0xf42c) [0xb7eb042c]   -- intel_uxa_put_image

12: = /home/gongzg/gfx-dev-test/build/lib/xorg/modules/drivers/intel_drv.so = (0xb7ea1000+0x37f8e) [0xb7ed8f8e]  -- uxa_trapezoids

 

 

It’s a one line patch. And = there is not too much thing to do with UXA code, I guess It may be a = libdrm related problem.

 

It’s can be simply reproduced in my machine, Use = Mozilla 3.6.10 to open the following URL:

http://pnp.sh.intel.com/WRTBench/Workload_3.3_rev0.13/ite= rations_rev11_new.html

 

It will iterate many pages and = finally give a report. The crash may occur after a few seconds of = running.

Uncomment that one line patch can avoid this crash. =

------=_NextPart_000_00B1_01CCBC0D.5772F490-- --===============1098940851== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1098940851==--