On Wed, Mar 26, 2008 at 1:00 PM, Chris Rankin <[EMAIL PROTECTED]> wrote:
> --- Markus Amsler <[EMAIL PROTECTED]> wrote:
> > No problem here. But I think I've seen this error before. Perhaps it's
> > an drm/mesa setup issue.
>
> Here is the useful part of the backtrace, when a drawable 0x71 first
> appears. The crash itself
> doesn't happen until the context is destroyed again (I think).
>
> 3 0x7e92d3ee filter_modes(server_modes=<register EAX not in topmost frame>,
> driver_modes=<register EDX not in topmost frame>)
> [/home/chris/Programs/mesa/src/glx/x11/dri_glx.c:301] in libgl.so.1
> (0x0034fa18)
> 4 0x7dce6ae1 __driUtilUpdateDrawableInfo+0x107(pdp=0x7c0d9a50)
>
> [/home/chris/Programs/mesa/src/mesa/drivers/dri/mach64/../common/dri_util.c:266]
> in r300_dri.so
> (0x0034fa78)
> 5 0x7dce750b driBindContext+0xd2(ctx=0x7c047b3c, pdraw=0x7c08b9a4,
> pread=0x7c08b9a4)
>
> [/home/chris/Programs/mesa/src/mesa/drivers/dri/mach64/../common/dri_util.c:204]
> in r300_dri.so
> (0x0034faa8)
> 6 0x7e92cd26 driBindContext+0x26(context=0x7c047b30, draw=0x7c08b998,
> read=0x7c08b998)
> [/home/chris/Programs/mesa/src/glx/x11/dri_glx.c:689] in libgl.so.1
> (0x0034fac8)
> 7 0x7e90fd67 MakeContextCurrent+0xc5(dpy=0x7c030590, draw=0x71, read=0x71,
> gc=0x7c0576f0)
> [/home/chris/Programs/mesa/src/glx/x11/glxext.c:1251] in libgl.so.1
> (0x0034fb38)
> 8 0x7e90fffa glXMakeCurrent+0x23(dpy=0x7c030590, draw=0x71, gc=0x7c0576f0)
> [/home/chris/Programs/mesa/src/glx/x11/glxext.c:1372] in libgl.so.1
> (0x0034fb58)
> 9 0x7e090401 has_opengl+0x721()
> [/home/chris/Programs/wine/dlls/winex11.drv/opengl.c:324] in
> winex11 (0x0034fbd8)
>
> What Wine is doing here is checking for OpenGL support:
>
> if (ctx) {
> pglXMakeCurrent(gdi_display, win, ctx); // <<<<<<<<<<< HERE
> } else {
> ERR(" couldn't initialize OpenGL, expect problems\n");
> wine_tsx11_unlock();
> return FALSE;
> }
>
> And 0x71 is presumably the value of "win". Does this seem reasonable, please?
Wine is passing it to GLX in the call to glXMakeCurrent(). It's just
an X ID, so 0x71 could certainly be a valid value... does wine use
glXCreateWindow()?
Kristian
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev