Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 21:49:49 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Robert Noland <rnoland@freebsd.org>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Radeon r6/7xx support merged to -STABLE
Message-ID:  <20090316194949.GP41617@deviant.kiev.zoral.com.ua>
In-Reply-To: <1237224806.1865.72.camel@balrog.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--/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: <ATI Radeon HD 2600 XT> 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 <rnoland@FreeBSD.org>
> > > FreeBSD
> >=20
> >=20
> --=20
> Robert Noland <rnoland@FreeBSD.org>
> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316194949.GP41617>