From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 3 21:19:31 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B94F16A41F for ; Tue, 3 Jan 2006 21:19:31 +0000 (GMT) (envelope-from uchman@home.se) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 135B143D70 for ; Tue, 3 Jan 2006 21:19:28 +0000 (GMT) (envelope-from uchman@home.se) Received: from uchman.pean.org (195.198.247.49) by pne-smtpout1-sn2.hy.skanova.net (7.2.069.1) id 43BA90DD0001A535 for freebsd-mobile@freebsd.org; Tue, 3 Jan 2006 22:19:28 +0100 Date: Tue, 3 Jan 2006 22:19:13 +0100 From: Peter =?ISO-8859-1?Q?Ankerst=E5l?= To: freebsd-mobile@freebsd.org Message-Id: <20060103221913.5ee6e36b.uchman@home.se> In-Reply-To: <200601031300.08319.jhb@freebsd.org> References: <20060101214301.319c7c9e.uchman@home.se> <200601031300.08319.jhb@freebsd.org> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Fujitsu P7010 drm problems. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 21:19:31 -0000 On Tue, 3 Jan 2006 13:00:07 -0500 John Baldwin wrote: > On Sunday 01 January 2006 03:43 pm, Peter Ankerst=E5l wrote: > > I want to enable direct renering on my Fujitsu Siemens P7010PM but when= I > > include the i915drm to the kernel I get the following messages at > > boot-time: > > > > drmsub0: port 0x2430-0x2437 mem > > 0xd8000000-0xdfffffff ,0xd0000000-0xd007ffff irq 11 at device 2.0 on pc= i0 > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initiali= ze > > AGP. device_attach: drmsub0 attach returned 12 > > drmsub1: mem > > 0xe0000000-0xe7ffffff,0xd0080000-0xd00ff fff at device 2.1 on pci0 > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initiali= ze > > AGP. device_attach: drmsub1 attach returned 12 > > > > Huh, really? THIS is the message I get when I don't have the i915drm in= the > > kernel: > > > > agp0: port 0x2430-0x2437= mem > > 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 > > detected 8060k stolen memory > > aperture size is 128M > > > > So, what I want to do is to "steal" more memory to enable drm and dri. > > What could be the problem? >=20 > This is fixed in HEAD. I think the quick hack that might work is to chan= ge=20 > the i915_drm.c file to attach to drmsub rather than pci in the=20 > DRIVER_MODULE() line. >=20 I fixed that one and now I get this in xorg.log: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed [drm] failed to load kernel module "i915" (II) I810(0): [drm] drmOpen failed (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI. --=20 MVH Peter Ankerst=E5l.