From owner-freebsd-i386@FreeBSD.ORG Tue Jan 30 23:10:16 2007 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CFCA16A417 for ; Tue, 30 Jan 2007 23:10:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 18D3313C478 for ; Tue, 30 Jan 2007 23:10:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0UNAFmD014519 for ; Tue, 30 Jan 2007 23:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0UNAFSO014518; Tue, 30 Jan 2007 23:10:15 GMT (envelope-from gnats) Resent-Date: Tue, 30 Jan 2007 23:10:15 GMT Resent-Message-Id: <200701302310.l0UNAFSO014518@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Billington Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86D6216A402 for ; Tue, 30 Jan 2007 23:04:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 603D313C442 for ; Tue, 30 Jan 2007 23:04:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0UN4KcF051552 for ; Tue, 30 Jan 2007 23:04:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l0UN4KlX051541; Tue, 30 Jan 2007 23:04:20 GMT (envelope-from nobody) Message-Id: <200701302304.l0UN4KlX051541@www.freebsd.org> Date: Tue, 30 Jan 2007 23:04:20 GMT From: Chris Billington To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/108582: White square cursor i915 DRI Xorg 6.9.0 AGP X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 23:10:16 -0000 >Number: 108582 >Category: i386 >Synopsis: White square cursor i915 DRI Xorg 6.9.0 AGP >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 23:10:15 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Chris Billington >Release: 6.2-STABLE >Organization: >Environment: FreeBSD presto.emulti.net 6.2-STABLE FreeBSD 6.2-STABLE #5: Sun Jan 28 15:12:32 CET 2007 cbillington@presto.emulti.net:/usr/obj/usr/src/sys/PRESTO i386 >Description: When DRI loaded on 6-Stable, with i915GM chipset hardware cursor displays as white square %dmesg|grep agp agp0: port 0xec00-0xec07 mem 0xffe80000-0xffefffff,0xd0000000-0xdfffffff,0xffe40000-0xffe7ffff irq 16 at device 2.0 on pci0 agp0: detected 16124k stolen memory agp0: aperture size is 256M drmsub0: : (child of agp_i810.c) on agp0 %dmesg | grep drm drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xffe80000 0MB info: [drm] Initialized i915 1.4.0 20060119 %grep ALLOC /var/log/Xorg.0.log (WW) ****INVALID MEM ALLOCATION**** b: 0xffe80000 e: 0xffefffff correcting (WW) ****INVALID MEM ALLOCATION**** b: 0xffe40000 e: 0xffe7ffff correcting %grep 0:2 /var/log/Xorg.0.log (--) PCI:*(0:2:0) Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3, Mem @ 0xffe80000/19, 0xd0000000/28, 0xffe40000/18, I/O @ 0xec00/3 (--) PCI: (0:2:1) Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3 (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found Kernel compiled with device agp # support several AGP chipsets device drm # drm compiled in device i915drm # for i915 chipset xorg.conf: Driver "i810" VendorName "Intel Corporation" BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller" # BusID "PCI:0:2:0" VideoRam 65536 Screen 0 Option "SWcursor" Option "DRI" Option "NoDDC" When SWCursor is not enabled, mouse cursor shows as white square. Direct rendering shows as enabled and accelerated video appears to work. Note memory addresses detected during AGP attach are 'corrected' by xorg 6.9.0 - don't know how to control this behaviour for testing (also tried xorg-snapshot Jan 2007) - Note AGP at 0xffe80000 0MB not 256 or other size - In Windows, AGP aperture is detected as 192MB not 256MB. Tried different values of VideoRAM, same result. Tried enabling busid, same result. >How-To-Repeat: Configure dri/drm as instructed on dri.freedesktop.org This could be an error in Xorg 6.9.0 but I suspect agp memory range and attach in Freebsd i810_agp.c is the causal factor. AGP aperture of 192MB (Windows) unusual Please help! All logs available if needed. >Fix: Enabling SWcursor corrects white square cursor but no accelerated video: xv and OpenGL etc video does not work (blue screen for xv, OpenGL hangs. Tested with vlc, Mplayer, Xine. >Release-Note: >Audit-Trail: >Unformatted: