From owner-freebsd-x11@FreeBSD.ORG Tue Sep 1 21:31:54 2009 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56B22106566C for ; Tue, 1 Sep 2009 21:31:54 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 193AF8FC08 for ; Tue, 1 Sep 2009 21:31:53 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-1-132.bna.bellsouth.net [70.156.1.132]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n81LVps1089472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Sep 2009 17:31:52 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Rene Ladan In-Reply-To: <4A9D7560.7060902@freebsd.org> References: <4A9D7560.7060902@freebsd.org> Content-Type: text/plain Organization: FreeBSD Date: Tue, 01 Sep 2009 16:31:45 -0500 Message-Id: <1251840705.1689.4440.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: x11@freebsd.org Subject: Re: DRI initialiazation fails on 8.0-BETAx/M54 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 21:31:54 -0000 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. robert. > Regards, > Rene -- Robert Noland FreeBSD