From owner-freebsd-x11@FreeBSD.ORG Sat Sep 27 13:32:51 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 6ED681065698 for ; Sat, 27 Sep 2008 13:32:51 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 0C3668FC0A for ; Sat, 27 Sep 2008 13:32:50 +0000 (UTC) (envelope-from mailinglist@ahhyes.net) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8R2lddS010173 for ; Sat, 27 Sep 2008 12:47:39 +1000 Received: from laptop.xor.net (c122-106-20-140.rivrw1.nsw.optusnet.com.au [122.106.20.140]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m8R2laoP018799 for ; Sat, 27 Sep 2008 12:47:37 +1000 Message-ID: <48DD9ECD.40309@ahhyes.net> Date: Sat, 27 Sep 2008 12:47:41 +1000 From: Alex User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Sat, 27 Sep 2008 13:32:51 -0000 Hi Guys, I seem to be having issues getting DRI to work on my Laptop (Dell Inspiron 510M, the unit is quite dated now so, hardware support should be quite good, but it isn't. Firstly, some information about my system: [root@laptop /usr/home/alex]# uname -a FreeBSD laptop.xor.net 7.1-BETA FreeBSD 7.1-BETA #0: Fri Sep 26 23:44:00 EST 2008 alex@laptop.xor.net:/usr/obj/usr/src/sys/custom i386 [root@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 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.5.0 20060119 In my xorg logs, I see the following information: (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. Now, if I add an extra line in my xorg.conf: Option "Tiling" "False" The memory allocation succeeds and DRI is working, but with a performance hit?!? DRI should work out of the box right? I tried updating the video driver to xf86-video-intel-2.4.2 (was 2.4.0), this made no difference. Is this an xorg related issue with freebsd or a problem with the agpgart driver? I recall having this issue with 7.0-RELEASE on this machine too some time ago.. I gave up previously because of the lack of help/interest from the community with the issue. Any help/suggestions would be appreciated. Thanks! Alex.