From owner-freebsd-x11@FreeBSD.ORG Thu Jan 29 17:38:24 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 A350710656C8 for ; Thu, 29 Jan 2009 17:38:24 +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 671488FC1D for ; Thu, 29 Jan 2009 17:38:24 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.22] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n0THbeJ0062836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Jan 2009 12:37:40 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Mark Knight In-Reply-To: References: <+$PUWxC8yOfJFwC1@lap.knigma.org> <1232939280.1973.7.camel@wombat.2hip.net> <1233002689.88679.24.camel@squirrel.corp.cox.com> <1233197046.1779.11.camel@wombat.2hip.net> <1233234690.1779.20.camel@wombat.2hip.net> <1233238588.1779.48.camel@wombat.2hip.net> <1532XLOh3bgJFwKw@lap.knigma.org> <1233244386.1766.1.camel@wombat.2hip.net> <1233245396.1766.13.camel@wombat.2hip.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-1YBJ18Lmiqu4PSE5GdoK" Organization: FreeBSD Date: Thu, 29 Jan 2009 12:38:16 -0500 Message-Id: <1233250696.1766.27.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7.4 breaks mga with G450 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: Thu, 29 Jan 2009 17:38:25 -0000 --=-1YBJ18Lmiqu4PSE5GdoK Content-Type: multipart/mixed; boundary="=-vbbkTG27rjmPpVYz2lNt" --=-vbbkTG27rjmPpVYz2lNt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-01-29 at 16:39 +0000, Mark Knight wrote: > In message <1233245396.1766.13.camel@wombat.2hip.net>, Robert Noland=20 > writes > >Ok, I'll try and have a look at the detection code... It's possible that > >this is somehow related to the switch to libpciaccess. >=20 > This patch fixes the problem for me in a horribly broken way: >=20 > >mkn@shrewd$ pwd > >/usr/ports/x11-drivers/xf86-video-mga/work/xf86-video-mga-1.9.100/src > >mkn@shrewd$ sudo diff -u mga_driver.c.orig mga_driver.c > >--- mga_driver.c.orig 2009-01-29 16:31:42.000000000 +0000 > >+++ mga_driver.c 2009-01-29 16:35:01.000000000 +0000 > >@@ -1473,8 +1473,7 @@ > > xf86ErrorF("\n"); > > } > > > >- pMga->is_Gx50 =3D ((pMga->Chipset =3D=3D PCI_CHIP_MGAG400) &&=20 > >(pMga->ChipRev >=3D 0x80)) > >- || (pMga->Chipset =3D=3D PCI_CHIP_MGAG550); > >+ pMga->is_Gx50 =3D 1; > > pMga->is_G200SE =3D (pMga->Chipset =3D=3D PCI_CHIP_MGAG200_SE_A_PCI= ) > > || (pMga->Chipset =3D=3D PCI_CHIP_MGAG200_SE_B_PCI); >=20 > So the cause is clear but finding the bug is way beyond me... Ok, get rid of that and try replacing the patch in devel/libpciaccess with this one. robert. > Cheers, --=-vbbkTG27rjmPpVYz2lNt-- --=-1YBJ18Lmiqu4PSE5GdoK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmB6YgACgkQM4TrQ4qfROPbqACdGSdUTlCCf8oLiM0f00q0Z7Kk BP0An26mhrRETlggYKRjOOCYmAGxR2wK =t1Lq -----END PGP SIGNATURE----- --=-1YBJ18Lmiqu4PSE5GdoK--