From owner-freebsd-stable@FreeBSD.ORG Wed Mar 18 23:18:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BA1C1065675 for ; Wed, 18 Mar 2009 23:18:45 +0000 (UTC) (envelope-from gcr+freebsd-stable@tharned.org) Received: from QMTA12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id DD22F8FC15 for ; Wed, 18 Mar 2009 23:18:44 +0000 (UTC) (envelope-from gcr+freebsd-stable@tharned.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA12.emeryville.ca.mail.comcast.net with comcast id Ulf81b0031HpZEsACnJl6B; Wed, 18 Mar 2009 23:18:45 +0000 Received: from roadkill.tharned.org ([75.145.12.185]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id UnJj1b00d3zZBGT8anJk4P; Wed, 18 Mar 2009 23:18:45 +0000 Received: from roadkill.tharned.org (11008@localhost [127.0.0.1]) by roadkill.tharned.org (8.14.3/8.14.3) with ESMTP id n2INIgU5047687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Mar 2009 18:18:42 -0500 (CDT) (envelope-from gcr+freebsd-stable@tharned.org) Received: from localhost (gcr@localhost) by roadkill.tharned.org (8.14.3/8.14.3/Submit) with ESMTP id n2INIfVP047684; Wed, 18 Mar 2009 18:18:42 -0500 (CDT) (envelope-from gcr+freebsd-stable@tharned.org) Date: Wed, 18 Mar 2009 18:18:41 -0500 (CDT) From: Greg Rivers To: Robert Noland In-Reply-To: <1237395643.1738.3.camel@balrog.2hip.net> Message-ID: References: <1231599679.1837.13.camel@wombat.2hip.net> <1237318671.1728.7.camel@balrog.2hip.net> <1237395643.1738.3.camel@balrog.2hip.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY="=-11zqm2DltEAqTjQtloSC" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (roadkill.tharned.org [127.0.0.1]); Wed, 18 Mar 2009 18:18:42 -0500 (CDT) Cc: freebsd-x11 , freebsd-stable Subject: Re: [HEADS UP] drm merged to -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 23:18:45 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --=-11zqm2DltEAqTjQtloSC Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: On Wed, 18 Mar 2009, Robert Noland wrote: > On Tue, 2009-03-17 at 18:24 -0500, Greg Rivers wrote: >> On Tue, 17 Mar 2009, Robert Noland wrote: >> >>> 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 based >>>>> 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 running >>>> 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. >>> >> >> Unfortunately, there is no noticeable difference with this patch. >> >> >>> Also, I'm guessing that this is a PCI based card, right? Also, it isn't >>> an integrated model? >>> >> >> Yes, this is a PCIEx16 card in a HP Compaq dc7600 desktop PC, not a >> motherboard integrated adapter. >> >> Thanks for your help. I'm willing to spend some time debugging this; >> please let me know if there's more information I can provide or other >> 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. > The display is still garbled with this patch too. I'm curious about why the drm driver calls this card a RV370, while pciconf and the X server call it a RV380: pciconf: "RV380 RADEON X600 Series 265MB" X server: "ATI Technologies Inc RV380 [Radeon X600 (PCIE)]" drm driver: "ATI Radeon RV370 X600 Pro" Could it be that the drm driver has the wrong chip set or configuration for this PCI ID? -- Greg Rivers --=-11zqm2DltEAqTjQtloSC Content-Type: TEXT/X-PATCH; NAME=drm-rv370-test.patch; CHARSET=us-ascii Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=drm-rv370-test.patch SW5kZXg6IGRldi9kcm0vYXRpX3BjaWdhcnQuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGRldi9kcm0vYXRp X3BjaWdhcnQuYwkocmV2aXNpb24gMTg5OTMzKQ0KKysrIGRldi9kcm0vYXRpX3BjaWdhcnQuYwko d29ya2luZyBjb3B5KQ0KQEAgLTgzLDcgKzgzLDcgQEANCiAJfQ0KIA0KIAlmbGFncyA9IEJVU19E TUFfTk9XQUlUIHwgQlVTX0RNQV9aRVJPOw0KLQlpZiAoZ2FydF9pbmZvLT5nYXJ0X3JlZ19pZiA9 PSBEUk1fQVRJX0dBUlRfSUdQKQ0KKy8qCWlmIChnYXJ0X2luZm8tPmdhcnRfcmVnX2lmID09IERS TV9BVElfR0FSVF9JR1ApICovDQogCSAgICBmbGFncyB8PSBCVVNfRE1BX05PQ0FDSEU7DQogCQ0K IAlyZXQgPSBidXNfZG1hbWVtX2FsbG9jKGRtYWgtPnRhZywgJmRtYWgtPnZhZGRyLCBmbGFncywg JmRtYWgtPm1hcCk7DQo= --=-11zqm2DltEAqTjQtloSC--