Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=108582 for details including DRI/drm versions etc. Symptoms: when enabling DRI on i915GM FreeBSD 6.2-STABLE with Xorg 6.9.0, HW cursor appears as white square. DRI appears to initialise OK. If run glxgears, however, machine locks hard. As noted in PR it appears that the revisions made to RemoveOverlaps in xf86Bus.c for the 6.9.0 release cause this problem. The memory address ranges for the i915GM are changed on loading Xorg to values different to those detected on boot (and also in Windows). Reverting to the overlaps code in the previous version 1.3 of xf86Bus.c (leaving in any subsequent changes elsewhere) and recompiling Xorg-server port fixes the problem Diff used was: http://webcvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c?r1=1.3&r2=1.8 Report is posted here because it seems the code causing the issue on i915GM has survived into the Xorg 7.x Modular code, it's still in HEAD. Please could a knowledgeable person check?
Created attachment 8806 [details] Xorg.0.log with 6.9.0 port Xorg.0.log with 6.9.0 port, pci overlap oddly detected, %grep ALLOC Xorg.hwc.log (WW) ****INVALID MEM ALLOCATION**** b: 0xffe80000 e: 0xffefffff correcting (WW) ****INVALID MEM ALLOCATION**** b: 0xffe40000 e: 0xffe7ffff correcting
Created attachment 8807 [details] Xorg.0.log with patched xf86Bus.c with patched xf86Bus.c, note no ALLOC errors
Created attachment 8808 [details] xf86Bus.c as edited to revert to v1.3 RemoveOverlaps code
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
*** Bug 10176 has been marked as a duplicate of this bug. ***
RemoveOverlaps hasn't been a thing in a very long time.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.