From owner-freebsd-questions@FreeBSD.ORG Sun Feb 3 18:14:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11FC216A4E2 for ; Sun, 3 Feb 2008 18:14:43 +0000 (UTC) (envelope-from p9_gkvye@yahoo.com) Received: from n7.bullet.re3.yahoo.com (n7.bullet.re3.yahoo.com [68.142.237.92]) by mx1.freebsd.org (Postfix) with SMTP id 327F413C447 for ; Sun, 3 Feb 2008 18:14:42 +0000 (UTC) (envelope-from p9_gkvye@yahoo.com) Received: from [68.142.230.28] by n7.bullet.re3.yahoo.com with NNFMP; 03 Feb 2008 18:02:04 -0000 Received: from [216.252.122.219] by t1.bullet.re2.yahoo.com with NNFMP; 03 Feb 2008 18:02:04 -0000 Received: from [69.147.65.163] by t4.bullet.sp1.yahoo.com with NNFMP; 03 Feb 2008 18:02:03 -0000 Received: from [127.0.0.1] by omp408.mail.sp1.yahoo.com with NNFMP; 03 Feb 2008 18:02:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 957694.87734.bm@omp408.mail.sp1.yahoo.com Received: (qmail 22597 invoked by uid 60001); 3 Feb 2008 18:02:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=XVTNzsd06QYV/dvwXg/OhR3Ncla5ZohJQWdcNmzTZ2gxlhJnu7cS0Ha4/0AKAlJzx9Vv7KAPbmOktk6xSvik3aTlzdWGZCTqfrRQ4j0nBOHCwopbA7iYgU0VDLb5I+TAWdzohuu3Nd8bWJUWW6ce21EX6b8kHBJ5p/vhvHvxZgE=; X-YMail-OSG: ie6p_EAVM1lq7poKpU6RN1n5S1n6jO3zfZNSPRaxOwi.Do6zwoLyzRY3.MHttbZqrouqFuJObI7u5hvKOe0jI6r3Csoo6C6xuxO4sKy_8p9leNFwohk- Received: from [70.145.2.230] by web45105.mail.sp1.yahoo.com via HTTP; Sun, 03 Feb 2008 10:02:03 PST Date: Sun, 3 Feb 2008 10:02:03 -0800 (PST) From: p9_gkvye To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <753543.16180.qm@web45105.mail.sp1.yahoo.com> Subject: 6.3-RELEASE, i915G, drm, dri X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 18:14:44 -0000 I have an Intel i915G onboard graphics device that uses 8MB of shared memory. After installing 6.3-RELEASE I compiled a kernel with the drm and i915drm devices enabled (and leaving the agp device enabled). On boot, agp0 detects 8MB of memory for the i915G, and /dev/agpgart is created. But drm0 reports 0MB. Consequently (?), the kernel reports 0 memory available to the i810 driver in xorg, and dri is disabled. (The new "intel" display driver is worse -- xorg won't even run, complaining of insufficient memory.) When I was using 6.0 or 6.1 on this same hardware back in 2006, I implemented Eric Anholt's May, 2006, source modifications in /usr/src/sys/dev/drm. Then, with the drm and i915drm devices in the kernel, drm0 reported 8MB of memory, and dri in xorg worked after persuading the BIOS that there were 12MB. I'm therefore inclined to deem the present condition a regression. The 2006 drm patches won't compile in 6.3, apparently owing to subsequent changes in the code for the agp or pci devices. The 6.3 version of drm_agpsupport.c treats 6.3 the way Mr. Anholt's 2006 version treated 7.x, skipping some detection routines. Has anyone tried 7.0-RC1 with an i915? I suspect that it's the same as 6.3 in this regard. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs