From owner-freebsd-stable@FreeBSD.ORG Tue Jan 2 03:04:18 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D00316A40F for ; Tue, 2 Jan 2007 03:04:18 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6306A13C44B for ; Tue, 2 Jan 2007 03:04:18 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id C8BC75A074; Mon, 1 Jan 2007 22:02:10 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Mon, 01 Jan 2007 22:02:10 -0500 X-Sasl-enc: JYZeAMqJQIHRy2JCHcJJ7ctxPVJlJVKzyH8trtnRq0vU 1167706930 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 2A2E83403; Mon, 1 Jan 2007 22:02:08 -0500 (EST) Message-ID: <4599CBAE.4000300@FreeBSD.org> Date: Tue, 02 Jan 2007 03:04:14 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.5 (X11/20060825) MIME-Version: 1.0 To: Luigi Rizzo References: <20070101145309.A35044@xorpc.icir.org> In-Reply-To: <20070101145309.A35044@xorpc.icir.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: drm and i915 issue on Dell Latitude X1 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 03:04:18 -0000 JFYI Luigi Rizzo wrote: > a curious thing... on my Dell Latitude X1 (scanpci -v output > at the end) the drm module did not recognise the video card > until i added this patch: > This is odd. I have the same vendor/device IDs on the ThinkPad T43 and yet X.org's DRM loads fine here without this patch: pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2592 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x2792 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller With the following difference: CardVendor 0x1014 card 0x0582 (IBM, Card unknown) FreeBSD empiric.lon.incunabulum.net 6.2-RC1 FreeBSD 6.2-RC1 #2: Sun Dec 24 11:20:48 GMT 2006 bms@empiric.lon.incunabulum.net:/usr/src/sys/i386/compile/EMPIRIC i386 empiric:/var/log % dmesg | grep drm drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0x90080000 0MB info: [drm] Initialized i915 1.4.0 20060119 DRM, GLX modules show up in xdpyinfo. By the way, there doesn't appear to be an 'ident' field for drm_pciids.h in the binaries, though I'm on 1.2.2.3. glxgears runs as expected (~260fps in default scale at 1024x768x32bpp). I tested with an application by running games/gltron, which claims 25-40fps in 512x384 full-screen. It still seemed jerky. [Except after an ACPI suspend/resume via zzz, in which case, it cains the CPU on resume and only achieves 60fps-150fps, and acpi_video cannot attach, and gltron is jerky/doesn't work properly.] Regards, BMS