On Tue, 2009-09-01 at 21:26 +0200, Rene Ladan wrote:
> it looks like DRI initalization sometimes fails on my 8.0-BETA3/amd64
> (official freebsd-update) laptop which has a ATI M54 card (radeonhd
> driver), reverting to software rendering for everything. The ports are
> From Xorg.0.log:
> (EE) RADEONHD(0): rhdAtomGetDDCIndex: GPIO_DDC Index 6 exceeds maximum 5
> (EE) RADEONHD(0): [pci] Out of memory (-12)
> (EE) RADEONHD(0): [pci] PCI failed to initialize. Disabling the DRI.
> (II) RADEONHD(0): Using MMIO Command Submission for aceleration.
> Full xorg.conf and Xorg.0.log(.old) are at ftp://rene-ladan/pub/freebsd/
> Any clues? Could it be related to hald giving timeouts on acd0 after which
> I just kill that hald subprocess and starting X after that?
Is this happening when you start X after the system has been up for a
bit? I suspect that what is happening is that memory has become
fragmented and since bus_dma tries to allocate large chunks of
contiguous memory for drm, it has a tendency to fail after the system
has been running for a bit. This ultimately needs to be fixed in
bus_dma, but that hasn't happened yet.
Robert Noland <rnoland@FreeBSD.org>