From owner-freebsd-x11@FreeBSD.ORG Mon Dec 28 03:50:14 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B57106566B for ; Mon, 28 Dec 2009 03:50:13 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id A63C08FC1E for ; Mon, 28 Dec 2009 03:50:13 +0000 (UTC) Received: from [192.168.1.4] (adsl-1-207-120.bna.bellsouth.net [65.1.207.120]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBS3oAtA056855 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 27 Dec 2009 22:50:11 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Carlos A. M. dos Santos" In-Reply-To: References: <1261934521.2220.2834.camel@balrog.2hip.net> <1261942898.2220.2976.camel@balrog.2hip.net> Content-Type: multipart/mixed; boundary="=-Q1jKLGbRez3pCNXYrZoJ" Organization: FreeBSD Date: Sun, 27 Dec 2009 21:50:05 -0600 Message-Id: <1261972205.2220.3468.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: x11perf -all leads to Xorg crash on 8-STABLE X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 03:50:14 -0000 --=-Q1jKLGbRez3pCNXYrZoJ Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2009-12-27 at 23:35 -0200, Carlos A. M. dos Santos wrote: > I just noticed that the CONFIGURE_ARGS in x11/pixman should disable > sse2 on AMD64, but this is not working: > > > #0 0x000000080107c255 in pixman_blt_sse2 (src_bits=0x81344f000, > > dst_bits=0x804000000, src_stride=2400, > > dst_stride=4096, src_bpp=32, dst_bpp=32, src_x=576, src_y=576, > > dst_x=3, dst_y=3, width=10, height=9) > > at pixman-sse2.c:5330 > > I rebuilt and reinstalled the pixman with > > # cd /usr/ports/x11/pixman > # make BATCH=yes CONFIGURE_ARGS='--disable-vmx --disable-arm-simd > --disable-mmx --disable-sse2' FORCE_PKG_REGISTER=yes install > > This did not solve the problem, just gave me a different kind of crash: How about updating pixman? Patch attached. It may not be an issue in pixman, though. I can't tell exactly what is invalid from the trace. If you run it with drm debugging enabled, does drm return an error that is triggering the server to abort? What GPU is this on? robert. > (gdb) run > Starting program: /usr/local/bin/Xorg > [New LWP 100108] > [New Thread 801e041c0 (LWP 100108)] > > X.Org X Server 1.6.1 > Release Date: 2009-4-14 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 8.0-STABLE amd64 > Current Operating System: FreeBSD avatar 8.0-STABLE FreeBSD 8.0-STABLE > #3: Wed Dec 23 14:39:00 BRST 2009 > root@avatar:/usr/obj/usr/src/sys/Compaq_nx6320 amd64 > Build Date: 27 December 2009 10:05:04PM > > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 23:23:24 2009 > (==) Using config file: "/etc/X11/xorg.conf" > Setting master > The XKEYBOARD keymap compiler (xkbcomp) reports: > > Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols > > Ignoring extra symbols > Errors from xkbcomp are not fatal to the X server > (EE) config/hal: couldn't initialise context: (null) ((null)) > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 801e041c0 (LWP 100108)] > 0x0000000801af22d6 in memcpy () from /lib/libc.so.7 > (gdb) where > #0 0x0000000801af22d6 in memcpy () from /lib/libc.so.7 > #1 0x0000000802cb0897 in fbBlt (srcLine=0x813751800, srcStride=2400, > srcX=18432, dstLine=0x804003000, dstStride=4096, dstX=96, width=40, > height=10, alu=3, pm=4294967295, bpp=32, reverse=0, upsidedown=0) > at fbblt.c:93 > #2 0x0000000802cb4602 in fbCopyNtoN (pSrcDrawable=0x801ffad40, > pDstDrawable=0x801f27d00, pGC=0x813443440, pbox=0x7fffffffe580, > nbox=0, dx=573, dy=573, reverse=0, upsidedown=0, bitplane=0, > closure=0x0) > at fbcopy.c:77 > #3 0x0000000802dcd89c in exaCopyNtoN (pSrcDrawable=0x801ffad40, > pDstDrawable=0x801f27d00, pGC=0x813443440, pbox=0x7fffffffe580, > nbox=1, dx=573, dy=573, reverse=0, upsidedown=0, bitplane=0, > closure=0x0) > at exa_accel.c:520 > #4 0x0000000802cb53b5 in fbCopyRegion (pSrcDrawable=0x801ffad40, > pDstDrawable=0x801f27d00, pGC=0x813443440, pDstRegion=0x7fffffffe580, > dx=573, dy=573, copyProc=0x802dcd150 , bitPlane=0, > closure=0x0) at fbcopy.c:396 > #5 0x0000000802cb597d in fbDoCopy (pSrcDrawable=0x801ffad40, > pDstDrawable=0x801f27d00, pGC=0x813443440, xIn=576, yIn=576, > widthSrc=10, heightSrc=10, xOut=3, yOut=3, copyProc=0x802dcd150 > , > bitPlane=0, closure=0x0) at fbcopy.c:596 > #6 0x0000000802dce230 in exaCopyArea (pSrcDrawable=0x801ffad40, > pDstDrawable=0x801f27d00, pGC=0x813443440, srcx=576, srcy=576, > width=10, height=10, dstx=0, dsty=0) at exa_accel.c:547 > #7 0x00000000005a09b1 in damageCopyArea (pSrc=0x801ffad40, > pDst=0x801f27d00, pGC=0x813443440, srcx=576, srcy=576, width=10, > height=10, dstx=0, dsty=0) at damage.c:949 > #8 0x000000000055f863 in doShmPutImage (dst=0x801f27d00, > pGC=0x813443440, depth=24, format=1, w=600, h=600, sx=576, sy=576, > sw=10, sh=10, dx=0, dy=0, data=0x813600000 "") at shm.c:509 > #9 0x0000000000561359 in ProcShmPutImage (client=0x801e1e680) at shm.c:865 > #10 0x00000000005624fc in ProcShmDispatch (client=0x801e1e680) at shm.c:1119 > #11 0x0000000000448ef8 in Dispatch () at dispatch.c:437 > #12 0x000000000042d13c in main (argc=1, argv=0x7fffffffe988, > envp=0x7fffffffe998) at main.c:397 -- Robert Noland FreeBSD --=-Q1jKLGbRez3pCNXYrZoJ Content-Disposition: attachment; filename="pixman-17.2.patch" Content-Type: text/x-patch; name="pixman-17.2.patch"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: x11/pixman/Makefile =================================================================== RCS file: /home/ncvs/ports/x11/pixman/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- x11/pixman/Makefile 19 Sep 2009 20:25:01 -0000 1.13 +++ x11/pixman/Makefile 28 Dec 2009 03:44:52 -0000 @@ -6,7 +6,7 @@ # PORTNAME= pixman -PORTVERSION= 0.16.0 +PORTVERSION= 0.17.2 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org Index: x11/pixman/distinfo =================================================================== RCS file: /home/ncvs/ports/x11/pixman/distinfo,v retrieving revision 1.9 diff -u -r1.9 distinfo --- x11/pixman/distinfo 19 Sep 2009 20:25:01 -0000 1.9 +++ x11/pixman/distinfo 28 Dec 2009 03:44:52 -0000 @@ -1,3 +1,3 @@ -MD5 (xorg/lib/pixman-0.16.0.tar.bz2) = 183dea8a100c1d9732cdb2146ec90f68 -SHA256 (xorg/lib/pixman-0.16.0.tar.bz2) = d1808fda5f4b3feb867cfb5a1a3311a713d21ce866eb38e9096841f7e241551d -SIZE (xorg/lib/pixman-0.16.0.tar.bz2) = 402602 +MD5 (xorg/lib/pixman-0.17.2.tar.bz2) = 64070b49e136f66640adf0f21c0b5fc8 +SHA256 (xorg/lib/pixman-0.17.2.tar.bz2) = 4adcf2f85de51ca02610c12d8ae335b4913f3c7962238713f0c9491e2830a998 +SIZE (xorg/lib/pixman-0.17.2.tar.bz2) = 399934 --=-Q1jKLGbRez3pCNXYrZoJ--