2007/10/15, Michel Dänzer [EMAIL PROTECTED]:
On Sat, 2007-10-13 at 19:44 +0200, Vincent Vanackere wrote:
I built everything from git after your changes, and I now have a crash
in the xserver when launching compiz.
Configuration :
- Intel G33 chipset using the driver from git
(e04333a6352040bc883655d606923c912d005981)
- git mesa f9c6dfc4d12451c21f39f38b048758cbee5723cf + patch from
http://bugs.freedesktop.org/show_bug.cgi?id=9264 (to run compiz)
- xserver : 927757e1028f45f7fd94b9a2ab35567e0f34b2a8
Backtrace of the crash when launching compiz :
[...]
#0 glxFillAlphaChannel (pixmap=value optimized out,
x=value optimized out, y=0, width=value optimized out,
height=value optimized out) at ../../../GL/glx/glxdri.c:318
p = (CARD32 *) 0x0
I suppose you're using EXA? My recent EXA changes broke the
__glXDRIbindTexImage fallback code, it should be fixed to use proper X
functions to manipulate the pixmap data instead of touching it directly.
Yes, using EXA...
#1 0x2b46438c153c in __glXDRIbindTexImage (
baseContext=value optimized out, buffer=value optimized out,
glxPixmap=0x13b5120) at ../../../GL/glx/glxdri.c:435
numRects = value optimized out
p = value optimized out
pRegion = (RegionPtr) 0x0
pixmap = (PixmapPtr) 0x19a1ae0
bpp = 4
override = 0
The question is why it doesn't use zero-copy texture-from-pixmap in the
first place though.
I can provide more information if necessary,
As always, the X log file might be useful.
I'm attaching the log from the latest xserver/mesa (from git, still
crashing with the same backtrace when I launch compiz).
Best regards,
Vincent
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.4.0.1
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu
Current Operating System: Linux marvin 2.6.23-r4 #1 SMP PREEMPT Sat Oct 13 14:22:02 CEST 2007 x86_64
Build Date: 15 October 2007 06:54:41PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Oct 15 19:04:10 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) | |--Monitor B2403WS
(**) | |--Device GMA 3100
(**) Option AllowEmptyInput
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to /etc/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x7a60c0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 3.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(++) using VT number 7
(--) PCI:*([EMAIL PROTECTED]:2:0) unknown vendor (0x8086) unknown chipset (0x29c2) rev 2, Mem @ 0xf220/524288, 0xe000/268435456, 0xf210/1048576, I/O @ 0xe200/8
(--) PCI: ([EMAIL PROTECTED]:2:1) unknown vendor (0x8086) unknown chipset (0x29c3) rev 2, Mem @ 0xf228/524288
(II) OS-reported resource ranges:
[0] -1 0 0x - 0x (0x1) MX[B]
[1] -1 0 0x000f - 0x000f (0x1) MX[B]
[2] -1 0 0x000c - 0x000e (0x3) MX[B]
[3] -1 0 0x - 0x0009 (0xa) MX[B]
[4] -1 0 0x - 0x (0x1) IX[B]
[5] -1 0 0x - 0x (0x1) IX[B]
(II) All system resource ranges:
[0] -1 0 0x - 0x (0x1) MX[B]
[1] -1 0 0x000f - 0x000f (0x1) MX[B]
[2] -1 0 0x000c - 0x000e (0x3) MX[B]
[3] -1 0 0x - 0x0009 (0xa) MX[B]
[4] -1 0 0x - 0x (0x1) IX[B]
[5] -1 0 0x - 0x (0x1) IX[B]
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.4.0.1, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading