Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2009 11:41:50 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: what driver, etc for ATI Radeon HD 3200
Message-ID:  <1251564110.91838.46.camel@balrog.2hip.net>
In-Reply-To: <4A96AFC4.9050701@icyb.net.ua>
References:  <4A96AFC4.9050701@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2009-08-27 at 19:09 +0300, Andriy Gapon wrote:
> Robert, guys,
> 
> what driver/software is the best for ATI Radeon HD 3200?
> I've a motherboard with AMD 780G northbridge that has integrated Radeon HD 3200.

I pretty much use xf86-video-ati for everything, unless I need to get
the hdmi audio working.  In that case I use radeonhd with the Audio
option.

> This is how recent head kernel sees it:
> vgapci0: <VGA-compatible display> port 0xee00-0xeeff mem
> 0xd0000000-0xdfffffff,0xfdfe0000-0xfdfeffff,0xfde00000-0xfdefffff irq 18 at device
> 5.0 on pci1
> drm0: <ATI Radeon HD 3200 Graphics> on vgapci0
> vgapci0: attempting to allocate 1 MSI vectors (1 supported)
> vgapci0: using IRQ 256 for MSI
> info: [drm] MSI enabled 1 message(s)
> vgapci0: Reserved 0x10000 bytes for rid 0x18 type 3 at 0xfdfe0000
> vgapci0: child drm0 requested pci_enable_busmaster
> info: [drm] Initialized radeon 1.31.0 20080613
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> vgapci0: Reserved 0x10000000 bytes for rid 0x10 type 3 at 0xd0000000
> info: [drm] Setting GART location based on new memory map
> info: [drm] Loading RS780/RS880 Microcode
> info: [drm] Resetting GPU
> info: [drm] writeback test succeeded in 1 usecs
> drm0: [MPSAFE]
> drm0: [ITHREAD]
> 
> I currently use radeon driver from xf86-video-ati-6.12.2_1.
> Log file is here:
> http://people.freebsd.org/~avg/ga-ma780g-ud3h/Xorg.0.log
> 
> Tings work mostly well, but there are some problems.
> 1. X corrupts screen on exit (VT works perfectly)
> 
> 2. I've got one random X crash, looks video driver related.
> (II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.
> 
> Fatal server error:
> Caught signal 11.  Server aborting
> 
> Backtrace:
> #11 <signal handler called>
> #12 0x00000008017d7adc in ioctl () from /lib/libc.so.7
> #13 0x00000008020961e5 in drmDMA () from /usr/local/lib/libdrm.so.2
> #14 0x00000008022bb90d in RADEONCPGetBuffer () from
> /usr/local/lib/xorg/modules/drivers//radeon_drv.so
> #15 0x000000080231aacb in R600CopyToVRAM () from
> /usr/local/lib/xorg/modules/drivers//radeon_drv.so
> #16 0x000000080231ae76 in R600UploadToScreen () from
> /usr/local/lib/xorg/modules/drivers//radeon_drv.so
> #17 0x0000000802b28e01 in exaCopyDirty () from /usr/local/lib/xorg/modules//libexa.so
> #18 0x0000000802b293d7 in exaDoMoveInPixmap () from
> /usr/local/lib/xorg/modules//libexa.so
> #19 0x0000000802b29aba in exaDoMigration () from
> /usr/local/lib/xorg/modules//libexa.so
> #20 0x0000000802b2c2dd in exaCompositeRects () from
> /usr/local/lib/xorg/modules//libexa.so
> #21 0x0000000802b2813e in exaGlyphsToMask () from
> /usr/local/lib/xorg/modules//libexa.so
> #22 0x0000000802b2866e in exaGlyphs () from /usr/local/lib/xorg/modules//libexa.so
> #23 0x0000000000520895 in DamageRegionAppend ()
> #24 0x0000000000517815 in PanoramiXRenderReset ()
> #25 0x000000000044542e in Dispatch ()
> #26 0x000000000042c725 in main ()
> 
> 
> 3. I see this in the log:
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 9, (OK)
> drmOpenByBusid: Searching for BusID pci:0000:01:05.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 9, (OK)
> drmOpenByBusid: drmOpenMinor returns 9
> drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
> (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to
> software rendering
> (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
> (II) GLX: Initialized DRISWRAST GL provider for screen 0

It looks like the driver is asking to load r600_dri.so which isn't
released yet, so it is reverting to software, which is the correct
behavior.  3d support is coming along nicely though, so if you want to
play with mesa from git it should mostly work.

robert.

-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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