ATI Radeon X600: no DRI upon X restart :-(
cpghost
cpghost at cordula.ws
Sat Jun 27 22:15:01 UTC 2009
On Sun, Feb 22, 2009 at 08:00:03AM +0200, Vladimir Kushnir wrote:
> Hi,
> Here's a problem. I start X from console via startx. For a long while DRI
> gets initialized only if X is started practically immediately after boot
> and only for the first time. Otherwise (if X is closed, then restarted,
> or something has been done prior to startx) I get :
>
> (EE) RADEON(0): [pci] Out of memory (-12)
> (EE) RADEON(0): [pci] PCI failed to initialize. Disabling the DRI.
Same problem here (misc/132403), with a Radeon HD 3200 and RadeonHD
driver:
X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-STABLE amd64
Current Operating System: FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jun 25 22:47:05 CEST 2009 root at phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 11 May 2009 08:48:10PM
[...]
(--) PCI:*(0 at 1:5:0) ATI Technologies Inc Radeon HD 3200 Graphics rev 0, Mem @ 0xf0000000/134217728, 0xfe9f0000/65536, 0xfe800000/1048576, I/O @ 0x0000d000/256, BIOS @ 0x????????/65536
[...]
(II) LoadModule: "radeonhd"
(II) Loading /usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
(II) Module radeonhd: vendor="AMD GPG"
compiled for 1.6.1, module version = 1.2.5
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
[...]
(II) RADEONHD: version 1.2.5, built from dist of git branch master, commit cb54f48b
[...]
(**) RADEONHD(0): Option "AccelMethod" "EXA"
(**) RADEONHD(0): Option "DRI" "True"
(**) RADEONHD(0): Selected EXA 2D acceleration.
(II) RADEONHD(0): Unknown card detected: 0x9610:0x1462:0x7501.
If - and only if - your card does not work or does not work optimally
please contact radeonhd at opensuse.org to help rectify this.
Use the subject: 0x9610:0x1462:0x7501: <name of board>
and *please* describe the problems you are seeing
in your message.
(--) RADEONHD(0): Detected an RS780 on an unidentified card
(II) RADEONHD(0): Mapped IO @ 0xfe9f0000 to 0x8006b4000 (size 0x00010000)
(II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
(II) RADEONHD(0): ATOM BIOS Rom:
SubsystemVendorID: 0x1002 SubsystemID: 0x1002
IOBaseAddress: 0xd000
Filename: MS7501_H_5.b
BIOS Bootup Message:
B27721 RS780 DDR2 200e/500m
(II) RADEONHD(0): Analog TV Default Mode: 1
(II) RADEONHD(0): Found default TV Mode NTSC
(--) RADEONHD(0): VideoRAM: 131072 kByte
(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000
[...]
(II) RADEONHD(0): Found libdri 5.4.0.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
(II) RADEONHD(0): Found libdrm 1.3.0.
(II) RADEONHD(0): Found radeon drm 1.29.0.
[...]
(II) Loading /usr/local/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 2.4.0
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD(0): FB: Allocated Offscreen Buffer at offset 0x00508000 (size = 0x00CCD000)
(II) RADEONHD(0): FB: Allocated DRI Back Buffer at offset 0x011D5000 (size = 0x00500000)
(II) RADEONHD(0): FB: Allocated DRI Depth Buffer at offset 0x016D5000 (size = 0x00500000)
(II) RADEONHD(0): FB: Allocated GART table at offset 0x07FF0000 (size = 0x00010000, end of FB)
(II) RADEONHD(0): FB: Allocated DRI Textures at offset 0x01BD5000 (size = 0x06400000)
(II) RADEONHD(0): Using 16 MB GART aperture
(II) RADEONHD(0): Using 2 MB for the ring buffer
(II) RADEONHD(0): Using 2 MB for vertex/indirect buffers
(II) RADEONHD(0): Using 12 MB for GART textures
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[3] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) RADEONHD(0): Mapped IO @ 0xfe9f0000 to 0x8006b4000 (size 0x00010000)
(II) RADEONHD(0): Mapped FB @ 0xf0000000 to 0x802a00000 (size 0x08000000)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) RADEONHD(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEONHD(0): [drm] framebuffer handle = 0xf0000000
(II) RADEONHD(0): [drm] added 1 reserved context for kernel
(II) RADEONHD(0): X context handle = 0x1
(II) RADEONHD(0): [drm] installed DRM signal handler
(EE) RADEONHD(0): [pci] Out of memory (-12)
(EE) RADEONHD(0): [pci] PCI failed to initialize. Disabling the DRI.
(II) RADEONHD(0): [drm] removed 1 reserved context for kernel
(II) RADEONHD(0): [drm] unmapping 8192 bytes of SAREA 0xffffff80007cd000 at 0x8006c4000
(II) RADEONHD(0): [drm] Closed DRM master.
[...]
> This is amd64-CURRENT,
> uname -a:
> FreeBSD kushnir1.kiev.ua 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Feb 4
> 08:15:51 EET 2009 root at kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR
> amd64
>
> NForce4 based MB (s939) Asus A8N SLI, Athlon 3000+, 512 MB RAM, Radeon
> X600 PCIE.
amd64/RELENG_7 as of Thu Jun 25. Getting this on the console the first
time I'm starting X:
drm0: <ATI Radeon HD 3200 Graphics> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.29.0 20080528
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RS780 Microcode
info: [drm] Resetting GPU
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
info: [drm] Resetting GPU
Starting X again the 2nd time works fine, but DRI is then disabled.
Those are the loaded kernel modules:
% kldstat
Id Refs Address Size Name
1 11 0xffffffff80100000 be3270 kernel
2 1 0xffffffff80e22000 1b57 atapicam.ko
3 1 0xffffffff80e24000 131b6 snd_hda.ko
4 1 0xffffffff80e38000 2e530 sound.ko
5 1 0xffffffff80e67000 5a7cd radeon.ko
6 1 0xffffffff80ec2000 115c4 drm.ko
> Any suggestions?
No idea. Perhaps asking radeonhd's or drm maintainer directly
to have a look?
Did you find a work around besides rebooting?
> TIA,
> Vladimir
Thanks,
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list