From owner-freebsd-current@FreeBSD.ORG Wed Sep 2 14:03:51 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16743106566B; Wed, 2 Sep 2009 14:03:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC948FC0A; Wed, 2 Sep 2009 14:03:49 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA06503; Wed, 02 Sep 2009 17:03:47 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A9E7B42.9070608@icyb.net.ua> Date: Wed, 02 Sep 2009 17:03:46 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: Robert Noland References: <4A9D7560.7060902@freebsd.org> <1251840705.1689.4440.camel@balrog.2hip.net> In-Reply-To: <1251840705.1689.4440.camel@balrog.2hip.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: Rene Ladan , freebsd-current@FreeBSD.org, x11@FreeBSD.org Subject: Re: DRI initialiazation fails on 8.0-BETAx/M54 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 14:03:51 -0000 on 02/09/2009 00:31 Robert Noland said the following: > On Tue, 2009-09-01 at 21:26 +0200, Rene Ladan wrote: >> Hi, >> >> 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 >> up-to-date. >> >> 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. BTW, I have a different but potentially related problem - after running a head/current system for a while I am losing an ability to start VirtualBox. It complains about something "no memory" too. The system is amd64 with 4G of RAM with only a handful of processes started. Maybe we got some regression in memory area (e.g. pmap)? -- Andriy Gapon