From owner-freebsd-stable@FreeBSD.ORG Mon May 3 02:52:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F8BB16A4CE for ; Mon, 3 May 2004 02:52:19 -0700 (PDT) Received: from www.cyclades.de (mail.linux-router.org [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B445043D2F for ; Mon, 3 May 2004 02:52:18 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from [192.168.10.145] (helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BKa7S-0005Mz-00 for ; Mon, 03 May 2004 11:52:14 +0200 Message-ID: <4096162B.90405@kernel32.de> Date: Mon, 03 May 2004 11:51:39 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: Subject: XFree86 eating too much memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 09:52:19 -0000 Hi All, my XFree86 is definitly using too much memory. This is a short grep of my XFree86 process: [mhettwer@acchilles] <~> $ top | grep XFree 210 mhettwer 2 0 154M 143M select 1:32 0.10% 0.10% XFree86 I'm using XFree86-4.3.0,1 from Ports with an i830M Graphic Chipset. As far as I understood, XFree maps the graphic memory too, 'cause my chipset is a shared memory card. However, when taking a look onto /var/log/XFree86.0.log and grepping for i830M it looks strange to me: (II) I810(0): Integrated Graphics Chipset: Intel(R) 830M (--) I810(0): Chipset: "i830" (--) I810(0): Linear framebuffer at 0x98000000 (--) I810(0): IO registers at addr 0x90100000 (==) I810(0): Write-combining range (0x90100000,0x80000) was already clear (II) I810(0): detected 8060 kB stolen memory. (II) I810(0): I830CheckAvailableMemory: 450560 kB available (II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM Well, he realized that there's 8MB of stolen Memory, still he tries to tell the BIOS that he wants 12MB ... why that ? To get to the point. Is there any way to tell XFree86 that he should use a maximum of 8MB for Graphic Memory ? I would be glad for any hints. best regards, Marian