From owner-freebsd-x11@FreeBSD.ORG Sun Sep 4 17:47:24 2011 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 04BD81065670 for ; Sun, 4 Sep 2011 17:47:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9158F8FC0C for ; Sun, 4 Sep 2011 17:47:23 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p84HhXPF060044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Sep 2011 20:43:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p84HhXHL039444; Sun, 4 Sep 2011 20:43:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p84HhXZt039443; Sun, 4 Sep 2011 20:43:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 4 Sep 2011 20:43:33 +0300 From: Kostik Belousov To: Andrey Kosachenko Message-ID: <20110904174333.GL17489@deviant.kiev.zoral.com.ua> References: <20110823085937.GC17489@deviant.kiev.zoral.com.ua> <4E543828.2040703@gmail.com> <20110824081303.GG17489@deviant.kiev.zoral.com.ua> <4E61DF8F.1090206@gmail.com> <20110903082645.GR17489@deviant.kiev.zoral.com.ua> <20110903104701.GY17489@deviant.kiev.zoral.com.ua> <4E63983C.6000702@gmail.com> <20110904154615.GH17489@deviant.kiev.zoral.com.ua> <4E63B680.2060504@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ruhWjEe5ZgWJk8Ry" Content-Disposition: inline In-Reply-To: <4E63B680.2060504@gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean Cc: freebsd-x11@freebsd.org Subject: Re: xorg-dev + intel driver + KMS 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: Sun, 04 Sep 2011 17:47:24 -0000 --ruhWjEe5ZgWJk8Ry Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 04, 2011 at 08:33:52PM +0300, Andrey Kosachenko wrote: > On 04.09.2011 18:46, Kostik Belousov wrote: > >Show me the output of procstat -kk and ps axlww. >=20 > I believe you are interested in those listing in the context of the=20 > hanged Xorg, right?. If so, then I've to wait for the next issue=20 > occurrence and will provide outputs then. Right. >=20 > though (just in case) current listings are: > ps axlww: http://pastebin.com/eTccAM0q > procstat -kk: http://pastebin.com/TfEWLkfm >=20 > >>I've collected ktrdump output. It is quite large (~500k after > >>compression), so I'll send it to you off-list. > >There is no gpu hang, right ? >=20 > Well, honestly speaking I'm not sure how to detect "gpu hang" phenomena. > Wiki states the following: > -- > "In the case of GPU hang or error, the GPU dump is available at=20 > hw.dri.0.info.i915_error_state." > -- >=20 > so given that in my case it was: > -- > hw.dri.0.info.i915_error_state: no error state collected > -- > the implication is gpu didn't hang. Right. >=20 >=20 >=20 > Not sure whether it can be useful but still: when Xorg is operating=20 > normally there is a bunch of records like > -- > Sep 4 17:00:42 beastie kernel: [drm:KMS:pid1650:intel_crtc_cursor_set] > Sep 4 17:00:42 beastie kernel: [drm:KMS:pid1650:intel_crtc_cursor_set]= =20 > cursor off > Sep 4 17:00:42 beastie kernel: [drm:KMS:pid1650:intel_crtc_cursor_set] > Sep 4 17:01:02 beastie kernel: [drm:KMS:pid1650:intel_crtc_cursor_set] > Sep 4 17:01:02 beastie kernel: [drm:KMS:pid1650:intel_crtc_cursor_set]= =20 > cursor off > -- > which appear quite often (several records per minute). After Xorg stuck= =20 > I could not find any of them until the next boot. You have KMS debugging turned on. Set sysctl hw.dri.debug to 0. --ruhWjEe5ZgWJk8Ry Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5juMQACgkQC3+MBN1Mb4iadACgr5DzM6bX3jaiWKnEPVWGGMdS d5wAnAqzJSHfTHHzu3k1ofKaCtLxa8aq =I0zk -----END PGP SIGNATURE----- --ruhWjEe5ZgWJk8Ry--