New DRI interface changes landed

Michel Dänzer michel at tungstengraphics.com
Mon Oct 15 00:26:44 PDT 2007


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.


> #1  0x00002b46438c153c 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.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list