From owner-freebsd-x11@FreeBSD.ORG Mon Mar 16 19:49:57 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 00CFE1065718; Mon, 16 Mar 2009 19:49:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 903728FC1A; Mon, 16 Mar 2009 19:49:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LjIot-000Kch-C4; Mon, 16 Mar 2009 21:49:55 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n2GJnnrF019552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Mar 2009 21:49:49 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n2GJnniP082281; Mon, 16 Mar 2009 21:49:49 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n2GJnn7u082280; Mon, 16 Mar 2009 21:49:49 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 16 Mar 2009 21:49:49 +0200 From: Kostik Belousov To: Robert Noland Message-ID: <20090316194949.GP41617@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> <1237224806.1865.72.camel@balrog.2hip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/3M4yvOp2yGuEOBn" Content-Disposition: inline In-Reply-To: <1237224806.1865.72.camel@balrog.2hip.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LjIot-000Kch-C4 1baf84e2a31f4ecd5508961067eb2d0e X-Terabit: YES 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 19:49:58 -0000 --/3M4yvOp2yGuEOBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 16, 2009 at 12:33:26PM -0500, Robert Noland wrote: > 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= ago. > > > > >=20 > > > > > The current xorg drivers will not enable it by default on R600+ c= hips. > > > > > You will need to be using xf86-video-ati-6.12.0, > > > > > xf86-video-radeonhd-devel or possibly even better git master of e= ither. > > > > >=20 > > > > > You will need to add the following to the Device section of your > > > > > xorg.conf to enable it. If you are experiencing issues, commenti= ng > > > > > these two options out, will prevent Xorg from auto-loading the ke= rnel > > > > > 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 = userspace > > >=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. >=20 > 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. >=20 > robert. >=20 > > >=20 > > > What happens if you force pci mode? > > >=20 > > > Options "BusType" "PCI" For the record. It appeared that I already had this option in the xorg.conf, and it was the cause of the problem. DRI works after removing this line. > > >=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 0= x286fd000 > > > > (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 --/3M4yvOp2yGuEOBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkm+rVwACgkQC3+MBN1Mb4jAywCeKAB3oQYeernoqYZarSClMWDo VBMAoNSvDJjbJe7rW44I+3vYhSl9Xwtt =hl0N -----END PGP SIGNATURE----- --/3M4yvOp2yGuEOBn--