From owner-freebsd-x11@FreeBSD.ORG Wed Mar 18 17:01:01 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 057CD1065674; Wed, 18 Mar 2009 17:01: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 C61508FC0C; Wed, 18 Mar 2009 17:01:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-19-214-182.bna.bellsouth.net [68.19.214.182]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2IGxc9l072762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Mar 2009 12:59:38 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Greg Rivers In-Reply-To: References: <1231599679.1837.13.camel@wombat.2hip.net> <1237318671.1728.7.camel@balrog.2hip.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-WD5PCp4IGYYvsDCzJ9r0" Organization: FreeBSD Date: Wed, 18 Mar 2009 12:00:43 -0500 Message-Id: <1237395643.1738.3.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC 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-stable Subject: Re: [HEADS UP] drm merged to -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: Wed, 18 Mar 2009 17:01:01 -0000 --=-WD5PCp4IGYYvsDCzJ9r0 Content-Type: multipart/mixed; boundary="=-11zqm2DltEAqTjQtloSC" --=-11zqm2DltEAqTjQtloSC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-03-17 at 18:24 -0500, Greg Rivers wrote: > On Tue, 17 Mar 2009, Robert Noland wrote: >=20 > > On Tue, 2009-03-17 at 12:20 -0500, Greg Rivers wrote: > >> On Sat, 10 Jan 2009, Robert Noland wrote: > >> > >>> I just merged drm (Direct Rendering) from HEAD. > >>> > >>> - Support for latest Intel chips > >>> - Support and fixes for many AMD/ATI chips r500 and below > >>> - Support AMD/ATI IGP based chips (rs690/rs485) > >>> - Lots of code cleanups > >>> - Lots of other fixes and changes since the existing drm > >>> is 2+ years old > >>> > >>> If you are experiencing a "garbled" screen with certain pci/pci-e bas= ed > >>> radeons, I have another patch in HEAD that isn't included yet. > >>> > >> > >> I have a workstation with a [Radeon X600 (PCIE)] card. The X display = has > >> been garbled since these DRM updates went in in January, and remains > >> garbled with 7.1-STABLE as of yesterday. As a work-around, I'm runnin= g > >> the up-to-date 7.1-STABLE system (both world and ports) with a > >> 7.1-RELEASE-p2 kernel. The display is fine with the old kernel and X > >> works great; I even see dramatically improved performance with the new > >> Xorg and EXA acceleration. Your work is much appreciated. > >> > >> But the garbled display with the recent DRM still plagues me. > >> > >> [snip] > > > > Could you try the attached patch. > > >=20 > Unfortunately, there is no noticeable difference with this patch. >=20 >=20 > > Also, I'm guessing that this is a PCI based card, right? Also, it isn'= t=20 > > an integrated model? > > >=20 > Yes, this is a PCIEx16 card in a HP Compaq dc7600 desktop PC, not a=20 > motherboard integrated adapter. >=20 > Thanks for your help. I'm willing to spend some time debugging this;=20 > please let me know if there's more information I can provide or other=20 > tests or patches I can try. Ok, try this patch... I asked the folks from AMD and they agree that this shouldn't be needed on an RV370, but we will give it a try... This is what fixed the garbled display on the IGP chips. robet. > --=20 > Greg Rivers --=20 Robert Noland FreeBSD --=-11zqm2DltEAqTjQtloSC Content-Disposition: attachment; filename="drm-rv370-test.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="drm-rv370-test.patch"; charset="us-ascii" SW5kZXg6IGRldi9kcm0vYXRpX3BjaWdhcnQuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGRldi9kcm0vYXRp X3BjaWdhcnQuYwkocmV2aXNpb24gMTg5OTMzKQ0KKysrIGRldi9kcm0vYXRpX3BjaWdhcnQuYwko d29ya2luZyBjb3B5KQ0KQEAgLTgzLDcgKzgzLDcgQEANCiAJfQ0KIA0KIAlmbGFncyA9IEJVU19E TUFfTk9XQUlUIHwgQlVTX0RNQV9aRVJPOw0KLQlpZiAoZ2FydF9pbmZvLT5nYXJ0X3JlZ19pZiA9 PSBEUk1fQVRJX0dBUlRfSUdQKQ0KKy8qCWlmIChnYXJ0X2luZm8tPmdhcnRfcmVnX2lmID09IERS TV9BVElfR0FSVF9JR1ApICovDQogCSAgICBmbGFncyB8PSBCVVNfRE1BX05PQ0FDSEU7DQogCQ0K IAlyZXQgPSBidXNfZG1hbWVtX2FsbG9jKGRtYWgtPnRhZywgJmRtYWgtPnZhZGRyLCBmbGFncywg JmRtYWgtPm1hcCk7DQo= --=-11zqm2DltEAqTjQtloSC-- --=-WD5PCp4IGYYvsDCzJ9r0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknBKLsACgkQM4TrQ4qfROP20QCeMLTYwkoPVYxJFwl5EEnQPPcv wUgAnA58ACGRgXr10mEpxDpe8tznSj+z =ASP1 -----END PGP SIGNATURE----- --=-WD5PCp4IGYYvsDCzJ9r0--