From owner-freebsd-x11@FreeBSD.ORG Sun Sep 28 00:59:05 2008 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4C781065688 for ; Sun, 28 Sep 2008 00:59:05 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 44FD58FC0A for ; Sun, 28 Sep 2008 00:59:04 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from laptop.xor.net (c122-106-7-184.rivrw1.nsw.optusnet.com.au [122.106.7.184]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8S0x1ZI025494; Sun, 28 Sep 2008 10:59:02 +1000 Message-ID: <48DED6DA.1020702@ahhyes.net> Date: Sun, 28 Sep 2008 10:59:06 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: rnoland@FreeBSD.org, freebsd-x11@FreeBSD.org References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> In-Reply-To: <1222524191.1662.3.camel@wombat.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: DRI not working 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: Sun, 28 Sep 2008 00:59:05 -0000 > > drm shouldn't be attaching to the second head. The 852/5 chips have the > same pci id on both heads, which none of the other chips do. Please try > the attached patch to sys/dev/drm/i915_drv.c and see if that improves > things. > > robert. > Hi Robert, Same deal I'm afraid. I'll try and provide as much information about the hardware as I can (info taken after i915_drv.c was modified) From dmesg: ----------------- [alex@laptop /usr/home/alex]$ dmesg |grep agp agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M [alex@laptop /usr/home/alex]$ dmesg |grep drm drm0: on vgapci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm1: on vgapci1 from pciconf -lv: ----------------------- vgapci0@pci0:0:2:0: class=0x030000 card=0x01641028 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x01641028 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display From Xorg log: --------------------- (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xfaf80000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed (Cannot allocate memory) (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed (Cannot allocate memory) (WW) intel(0): Disabling HW cursor because the cursor memory allocation failed. (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. =========================== Could the problem be the agpgart?