From owner-freebsd-x11@FreeBSD.ORG Mon Mar 16 17:33:40 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 8A65B106564A; Mon, 16 Mar 2009 17:33:40 +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 5CE228FC0C; Mon, 16 Mar 2009 17:33:40 +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 n2GHWHbZ055133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Mar 2009 13:32:18 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Kostik Belousov In-Reply-To: <20090316094312.GI41617@deviant.kiev.zoral.com.ua> References: <1237142952.1774.22.camel@balrog.2hip.net> <20090315213323.GH41617@deviant.kiev.zoral.com.ua> <1237174073.18826.9.camel@balrog.2hip.net> <20090316094312.GI41617@deviant.kiev.zoral.com.ua> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-VGZMNQ2jjSsQeSieJ+1l" Organization: FreeBSD Date: Mon, 16 Mar 2009 12:33:26 -0500 Message-Id: <1237224806.1865.72.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.2 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: Radeon r6/7xx support 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: Mon, 16 Mar 2009 17:33:41 -0000 --=-VGZMNQ2jjSsQeSieJ+1l Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-03-16 at 11:43 +0200, Kostik Belousov wrote: > On Sun, Mar 15, 2009 at 10:27:53PM -0500, Robert Noland wrote: > > On Sun, 2009-03-15 at 23:33 +0200, Kostik Belousov wrote: > > > On Sun, Mar 15, 2009 at 01:49:12PM -0500, Robert Noland wrote: > > > > I went ahead and merged the Radeon R6/7xx code to -STABLE a while a= go. > > > >=20 > > > > The current xorg drivers will not enable it by default on R600+ chi= ps. > > > > You will need to be using xf86-video-ati-6.12.0, > > > > xf86-video-radeonhd-devel or possibly even better git master of eit= her. > > > >=20 > > > > You will need to add the following to the Device section of your > > > > xorg.conf to enable it. If you are experiencing issues, commenting > > > > these two options out, will prevent Xorg from auto-loading the kern= el > > > > module. > > > >=20 > > > > Options "DRI" > > > > Options "AccelMethod" "EXA" > > >=20 > > > With this code and ati 6.12.0, I get the awful performance. > > > Kernel says > > > drm0: on vgapci0 > > > vgapci0: Reserved 0x10000 bytes for rid 0x18 type 3 at 0xd0020000 > > > vgapci0: child drm0 requested pci_enable_busmaster > > > info: [drm] Initialized radeon 1.29.0 20080528 > > > vgapci0: Reserved 0x10000000 bytes for rid 0x10 type 3 at 0xc0000000 > > > info: [drm] Setting GART location based on new memory map > > > error: [drm:pid1494:r600_do_init_cp] *ERROR* Need gart offset from us= erspace > >=20 > > Your card was agp right? > No, this is PCIe card. It is reported correctly as Radeon HD 2600 XT. > Motherboard chipset is Intel P43, if this makes any useful information. Ok, let me look over the code again and figure out how we get into this state. I may need more details, let me figure out what I need. robert. > >=20 > > What happens if you force pci mode? > >=20 > > Options "BusType" "PCI" > >=20 > > robert. > >=20 > > > Then, the Xorg.0.log > > > ... > > > (II) RADEON(0): [drm] register handle =3D 0xd0020000 > > > (II) RADEON(0): [dri] Visual configs initialized > > > (II) RADEON(0): RADEONRestoreMemMapRegisters() : > > > (II) RADEON(0): MC_FB_LOCATION : 0x00df00c0 0x00df00c0 > > > (II) RADEON(0): MC_AGP_LOCATION : 0x003f0000 > > > (=3D=3D) RADEON(0): Backing store disabled > > > (II) RADEON(0): [DRI] installation complete > > > (II) RADEON(0): [drm] removed 1 reserved context for kernel > > > (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc731d000 at 0x2= 86fd000 > > > (II) RADEON(0): [drm] Closed DRM master. > > > (WW) RADEON(0): Direct rendering disabled > > > (EE) RADEON(0): Acceleration initialization failed > > > ... > > --=20 > > Robert Noland > > FreeBSD >=20 >=20 --=20 Robert Noland FreeBSD --=-VGZMNQ2jjSsQeSieJ+1l 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) iEYEABECAAYFAkm+jWYACgkQM4TrQ4qfROPELgCfSlwbwrZRPNs3TBQ79+9IZiyr hpsAnjBaG8ssNywlHxWvkw/F7J37TSuO =fXvJ -----END PGP SIGNATURE----- --=-VGZMNQ2jjSsQeSieJ+1l--