From owner-freebsd-x11@FreeBSD.ORG Tue Sep 1 21:38:57 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 18D021065672 for ; Tue, 1 Sep 2009 21:38:57 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 996B58FC16 for ; Tue, 1 Sep 2009 21:38:56 +0000 (UTC) Received: by ewy4 with SMTP id 4so267410ewy.36 for ; Tue, 01 Sep 2009 14:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=CfknrX8CAC5LXkv5z+6t/uYpO5VDtv8OhuCCZVSsHdk=; b=CIhIp/1wkTNcBlokU6G03QrCDzzL+UaRQBY44rOZkqf2jEcVlYfK4hO8pCLMJ7TEiX U5aVpVN0flJk6315szjJ09xqXx8XgkE5L1DT9QWddds+dQPp8R2gVFDcIXKl6Q2X76Ps JFmPMT+G6l6ukc7OvrSFGf+6KqIBKTjOUwlqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=BS9m8k8RwnrEBivGBOA0mz63CoAARQiPHAh/y27A8YCxESK2BwhOCZIMB+5R7J8EE9 JTMmT5wSreIFORSbTq2synSZen6oxCYnaRQlvjs4cl5KYCxYD7Xc4XKMn1IZI4kv174m eWNiSycaFa0j5akWzTkQ69nT1IkiumjhdBFWw= Received: by 10.210.43.17 with SMTP id q17mr6878884ebq.0.1251841135275; Tue, 01 Sep 2009 14:38:55 -0700 (PDT) Received: from self.rene-ladan.nl (ip4da3ae31.direct-adsl.nl [77.163.174.49]) by mx.google.com with ESMTPS id 10sm87572eyz.6.2009.09.01.14.38.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Sep 2009 14:38:54 -0700 (PDT) Sender: Rene Ladan Message-ID: <4A9D946B.6050406@freebsd.org> Date: Tue, 01 Sep 2009 23:38:51 +0200 From: Rene Ladan Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (X11/20090826) 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.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:38:57 -0000 Robert Noland schreef: > 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. > Yes, the laptop was up for ~24 hours before I first started X. Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net)