From owner-freebsd-x11@FreeBSD.ORG Wed Sep 2 14:24:20 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 E8C58106566B; Wed, 2 Sep 2009 14:24:20 +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 0314A8FC13; Wed, 2 Sep 2009 14:24:19 +0000 (UTC) Received: by ewy4 with SMTP id 4so856602ewy.36 for ; Wed, 02 Sep 2009 07:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=zu1mzaGMQmZ2oaefe9GYEiJ4QKhSPS4GeJabTGJ52qU=; b=YtQ17DE2E4zPWw261MIrS/79rIs8NdXsNdNiS0KxzPO00tDoSJl5cU89CRyU6aww1z X7o/gTmnvTa57PyDbjckPq37yauMdhJNv5z+07aJB7DC96ImeKwRpC2R6A97nu/gC0wb rx3GVmj5h/TugHL0VI7sm+TOsWc7rcZL8j1Sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=p8Mn5mT6q1rcytlh8/RT8YWCxDAJs9BCgZlG8ye+Mofn2DG+7GYMsBg7fDF5dTeSPn n9oar4mReHP0YE+RLfyiMPp91tHt38Ck4W/HY2+n4OpKS+o4ebMxSXy8Xe1cIqiOOjXh uUeEkiGqqZhqOvuHvhGyPNI2VvR25j+nkW/9c= MIME-Version: 1.0 Sender: r.c.ladan@gmail.com Received: by 10.216.37.212 with SMTP id y62mr201073wea.5.1251901458711; Wed, 02 Sep 2009 07:24:18 -0700 (PDT) In-Reply-To: <4A9E7B42.9070608@icyb.net.ua> References: <4A9D7560.7060902@freebsd.org> <1251840705.1689.4440.camel@balrog.2hip.net> <4A9E7B42.9070608@icyb.net.ua> Date: Wed, 2 Sep 2009 16:24:18 +0200 X-Google-Sender-Auth: 7285796ea18383ce Message-ID: From: Rene Ladan To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, 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: Wed, 02 Sep 2009 14:24:21 -0000 2009/9/2 Andriy Gapon : > 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. >>> >>> =A0From 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? =A0Could 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? =A0I 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. =A0This 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 VirtualBo= x. It > complains about something "no memory" too. > The system is amd64 with 4G of RAM with only a handful of processes start= ed. > Maybe we got some regression in memory area (e.g. pmap)? > FWIW, my main memory size is 2GB. I haven't tried vbox (yet). More information at ftp://rene-ladan.nl/pub/freebsd/dmesg-80b3.txt Ren=E9