From owner-freebsd-x11@FreeBSD.ORG Mon Aug 25 14:26:01 2008 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 2B4C1106567E for ; Mon, 25 Aug 2008 14:26:01 +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 DCA1F8FC13 for ; Mon, 25 Aug 2008 14:26:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id m7PEPv6D045405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Aug 2008 10:25:57 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: jimmiejaz@gmail.com In-Reply-To: <48B1A590.2040701@gmail.com> References: <48B1A590.2040701@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-S/oKxb9nogxWU1LiFW48" Organization: FreeBSD Date: Mon, 25 Aug 2008 10:25:45 -0400 Message-Id: <1219674352.53929.2.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL autolearn=no version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: [CFT] drm updates 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, 25 Aug 2008 14:26:01 -0000 --=-S/oKxb9nogxWU1LiFW48 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2008-08-24 at 14:16 -0400, Jimmie James wrote: > Is this the type of lockup you're seeing? >=20 >=20 > Error in I830WaitLpRing(), timeout for 2 seconds > pgetbl_ctl: 0x3ffc0001getbl_err: 0x0 > ipeir: 0 iphdr: 7d000006 > LP ring tail: 1afa0 head: 1ad64 len: 1f001 start 0 > eir: 0 esr: 0 emr: ffff > instdone: fa41 instpm: 0 > memmode: 108 instps: 800f00c4 > hwstam: fffe ier: 2 imr: 8 iir: 80 > Ring at virtual 0x2884d000 head 0x1ad64 tail 0x1afa0 count 143 >=20 >=20 >=20 > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled > (WW) intel(0): PRB0_HEAD (0x13e1ad64) and PRB0_TAIL (0x0001afa8)=20 > indicate ring buffer not flushed > (WW) intel(0): Existing errors found in hardware state. Possibly, I haven't gotten this output though. Can you describe how you reached this state? robert. >=20 > vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x25821043 chip=3D0x25828= 086=20 > rev=3D0x04 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82915G/GV/GL, 82910GL Integrated Graphics Device' > class =3D display > subclass =3D VGA > vgapci1@pci0:0:2:1: class=3D0x038000 card=3D0x25821043 chip=3D0x27828= 086=20 > rev=3D0x04 hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D '82915G Graphics device: 82915G/GV/910GL Express=20 > Chipset Family' > class =3D display >=20 > >On Sun, 2008-08-24 at 12:29 +0200, Paul B. Mahol wrote: > > On 8/24/08, Robert Noland wrote: > > > I've uploaded a final patch set to: > > > > > > http://people.freebsd.org/~rnoland > > > > > > I have committed this version to -CURRENT, but patches are available = fo=3D > r > > > RELENG_7 as well. > > > > > > This version mostly just fixes a long standing memory leak. > > > > > > All of the reports for radeon have been good. I'm still seeing a few > > > odd things with Intel though. The most severe issue is on my 965gm. > > > After restarting X, it will hang in a way that I have never seen > > > before... The small amount of evidence that I have been able to coll= ec=3D > t > > > suggests that this may be due to mesa trashing the hardware. I've sp= en=3D > t > > > a couple of days trying to figure out exactly what could be wrong. T= hi=3D > s > > > morning I rebuilt my kernel with a stock drm from src and I got exact= ly > > > the same hang. Since this update does help lots of people and doesn'= t > > > seem to make things worse than they were to begin with, I went ahead = an=3D > d > > > committed it. > > > > > > I was incorrect about the patch to libdrm... It isn't needed in 2.3.1 > > > and it is already committed upstream. I'll commit that update to por= ts > > > soon also. It, along with a recent xf86-video-* are needed to enable > > > the new vblank behavior, which will disable vblank interrupts if ther= e > > > are no active consumers. > > > > > > robert. > > > > >=3D20 > > Do I need to update some ports? because with kernel from HEAD I have > > encountered problems when drm is loaded (agp + drm + i915) > > astro/stellarium caused deadlock, only mouse pointer could move, if I d= id=3D > not > > started it, system will panic anyway after some time. I did not yet tes= te=3D > d > > vty switching,.... >=20 --=-S/oKxb9nogxWU1LiFW48 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkiywOkACgkQM4TrQ4qfRONNnQCeNjvCatLwvkzWazfQ6dzbGwX1 FDUAn0qP4aadz0xJaWOcFRS5rlg07KzR =MItX -----END PGP SIGNATURE----- --=-S/oKxb9nogxWU1LiFW48--