From owner-freebsd-x11@FreeBSD.ORG Mon Dec 28 01:35:54 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 DF61B106566B; Mon, 28 Dec 2009 01:35:54 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 445678FC08; Mon, 28 Dec 2009 01:35:53 +0000 (UTC) Received: by fxm27 with SMTP id 27so9850198fxm.3 for ; Sun, 27 Dec 2009 17:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=c5ZYdmN2BEkZz33FTnexuAE0BGNK+6v8Jy0bBEUNRkE=; b=Kk3reP+FJWO0LixtU7AxH5skhwzFBWl0obD4BkCXYRB0eIZTvRcA4BXAHU0oU0cQys GWmWmnrYbkaoUoD64GjjziwIum8dngNB7tBMlmqGu1a3o3VxzrmGBzqxl9MPDJNgtaPa nqmF2RCecK6wwubwp598yxb0wU0r98T9OkkpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QP2xwv5cEbKI1Q/RmQB9vgydW/xd/K9lC9ZmJMrC19Bpg+QMcjUBJQZ0yF2fuMrzxo St02o0tVGCCxetpq1qM+jHXqNoNbEyOW3ZwLapIQtEKeYG8FaIsTGIueEnFDcDFEq1RO PSB1w5UGTpDSjVR6hvUURoY9tN/XUFs8JRdco= MIME-Version: 1.0 Received: by 10.239.189.12 with SMTP id r12mr848128hbh.94.1261964147185; Sun, 27 Dec 2009 17:35:47 -0800 (PST) In-Reply-To: References: <1261934521.2220.2834.camel@balrog.2hip.net> <1261942898.2220.2976.camel@balrog.2hip.net> Date: Sun, 27 Dec 2009 23:35:47 -0200 Message-ID: From: "Carlos A. M. dos Santos" To: Robert Noland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 01:35:55 -0000 I just noticed that the CONFIGURE_ARGS in x11/pixman should disable sse2 on AMD64, but this is not working: > #0 =A00x000000080107c255 in pixman_blt_sse2 (src_bits=3D0x81344f000, > dst_bits=3D0x804000000, src_stride=3D2400, > =A0 =A0dst_stride=3D4096, src_bpp=3D32, dst_bpp=3D32, src_x=3D576, src_y= =3D576, > dst_x=3D3, dst_y=3D3, width=3D10, height=3D9) > =A0 =A0at pixman-sse2.c:5330 I rebuilt and reinstalled the pixman with # cd /usr/ports/x11/pixman # make BATCH=3Dyes CONFIGURE_ARGS=3D'--disable-vmx --disable-arm-simd --disable-mmx --disable-sse2' FORCE_PKG_REGISTER=3Dyes install This did not solve the problem, just gave me a different kind of crash: (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, (=3D=3D) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 23:23:24 2009 (=3D=3D) 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=3D0x813751800, srcStride=3D2400, srcX=3D18432, dstLine=3D0x804003000, dstStride=3D4096, dstX=3D96, width=3D4= 0, height=3D10, alu=3D3, pm=3D4294967295, bpp=3D32, reverse=3D0, upsidedown=3D= 0) at fbblt.c:93 #2 0x0000000802cb4602 in fbCopyNtoN (pSrcDrawable=3D0x801ffad40, pDstDrawable=3D0x801f27d00, pGC=3D0x813443440, pbox=3D0x7fffffffe580, nbox=3D0, dx=3D573, dy=3D573, reverse=3D0, upsidedown=3D0, bitplane=3D0, closure=3D0x0) at fbcopy.c:77 #3 0x0000000802dcd89c in exaCopyNtoN (pSrcDrawable=3D0x801ffad40, pDstDrawable=3D0x801f27d00, pGC=3D0x813443440, pbox=3D0x7fffffffe580, nbox=3D1, dx=3D573, dy=3D573, reverse=3D0, upsidedown=3D0, bitplane=3D0, closure=3D0x0) at exa_accel.c:520 #4 0x0000000802cb53b5 in fbCopyRegion (pSrcDrawable=3D0x801ffad40, pDstDrawable=3D0x801f27d00, pGC=3D0x813443440, pDstRegion=3D0x7fffffffe580, dx=3D573, dy=3D573, copyProc=3D0x802dcd150 , bitPlane=3D0, closure=3D0x0) at fbcopy.c:396 #5 0x0000000802cb597d in fbDoCopy (pSrcDrawable=3D0x801ffad40, pDstDrawable=3D0x801f27d00, pGC=3D0x813443440, xIn=3D576, yIn=3D576, widthSrc=3D10, heightSrc=3D10, xOut=3D3, yOut=3D3, copyProc=3D0x802dcd150 , bitPlane=3D0, closure=3D0x0) at fbcopy.c:596 #6 0x0000000802dce230 in exaCopyArea (pSrcDrawable=3D0x801ffad40, pDstDrawable=3D0x801f27d00, pGC=3D0x813443440, srcx=3D576, srcy=3D576, width=3D10, height=3D10, dstx=3D0, dsty=3D0) at exa_accel.c:547 #7 0x00000000005a09b1 in damageCopyArea (pSrc=3D0x801ffad40, pDst=3D0x801f27d00, pGC=3D0x813443440, srcx=3D576, srcy=3D576, width=3D10, height=3D10, dstx=3D0, dsty=3D0) at damage.c:949 #8 0x000000000055f863 in doShmPutImage (dst=3D0x801f27d00, pGC=3D0x813443440, depth=3D24, format=3D1, w=3D600, h=3D600, sx=3D576, sy= =3D576, sw=3D10, sh=3D10, dx=3D0, dy=3D0, data=3D0x813600000 "") at shm.c:509 #9 0x0000000000561359 in ProcShmPutImage (client=3D0x801e1e680) at shm.c:8= 65 #10 0x00000000005624fc in ProcShmDispatch (client=3D0x801e1e680) at shm.c:1= 119 #11 0x0000000000448ef8 in Dispatch () at dispatch.c:437 #12 0x000000000042d13c in main (argc=3D1, argv=3D0x7fffffffe988, envp=3D0x7fffffffe998) at main.c:397