i386/108582: White square cursor i915 DRI Xorg 6.9.0 AGP

Chris Billington billington.chris at gmail.com
Tue Jan 30 23:10:16 UTC 2007


>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 at 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: <Intel 82915GM (915GM GMCH) SVGA controller> 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: <Intel i915GM>: (child of agp_i810.c) on agp0

%dmesg | grep drm
drmsub0: <Intel i915GM>: (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:


More information about the freebsd-i386 mailing list