From owner-freebsd-x11@FreeBSD.ORG Fri Oct 3 03:09:56 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 705161065693 for ; Fri, 3 Oct 2008 03:09:56 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCBF8FC1A for ; Fri, 3 Oct 2008 03:09:55 +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 mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9339qC4010551 for ; Fri, 3 Oct 2008 13:09:53 +1000 Message-ID: <48E58D05.7010003@ahhyes.net> Date: Fri, 03 Oct 2008 13:09:57 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080916) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <48E4CC06.1070802@ahhyes.net> <1222960850.12046.6.camel@squirrel.corp.cox.com> <48E4E95B.3020708@ahhyes.net> <1222965932.12046.14.camel@squirrel.corp.cox.com> In-Reply-To: <1222965932.12046.14.camel@squirrel.corp.cox.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 03 Oct 2008 03:09:56 -0000 Robert Noland wrote: > Ok, I found a RELENG_7 test box. It does apply and build cleanly. > > robert. > > Hi Robert, Thank you for the patch. The patch applied cleanly and I was able to rebuild cleanly as well. Unfortunately I am seeing the same symptoms as Szilveszter. DRM is no longer attaching to both heads, which is good. So perhaps the remainder of the issue is with the intel driver? From dmesg: ========== vgapci0: port 0xc000-0xc007 mem 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M drm0: on vgapci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 vgapci1: mem 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 pci0: at device 29.0 (no driver attached) From Xorg logs: ============ (II) intel(0): I830CheckAvailableMemory: 964608 kB available drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: drmOpenMinor returns 8 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (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. Let us know if you discover anything else. I really appreciate your time spent on this. Thanks again! Alex