Radeon r6/7xx support merged to -STABLE

Robert Noland rnoland at FreeBSD.org
Mon Mar 16 10:33:41 PDT 2009


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.
> > > > 
> > > > The current xorg drivers will not enable it by default on R600+ chips.
> > > > You will need to be using xf86-video-ati-6.12.0,
> > > > xf86-video-radeonhd-devel or possibly even better git master of either.
> > > > 
> > > > 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 kernel
> > > > module.
> > > > 
> > > > Options "DRI"
> > > > Options "AccelMethod" "EXA"
> > > 
> > > 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
> > 
> > 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.

> > 
> > What happens if you force pci mode?
> > 
> > Options "BusType" "PCI"
> > 
> > robert.
> > 
> > > Then, the Xorg.0.log
> > > ...
> > > (II) RADEON(0): [drm] register handle = 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
> > > (==) 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 0x286fd000
> > > (II) RADEON(0): [drm] Closed DRM master.
> > > (WW) RADEON(0): Direct rendering disabled
> > > (EE) RADEON(0): Acceleration initialization failed
> > > ...
> > -- 
> > Robert Noland <rnoland at FreeBSD.org>
> > FreeBSD
> 
> 
-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090316/2b6afe06/attachment.pgp


More information about the freebsd-stable mailing list