<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - American Conquest via Wine cannot start"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101927#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - American Conquest via Wine cannot start"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101927">bug 101927</a>
from <span class="vcard"><a class="email" href="mailto:aaalmosss@gmail.com" title="almos <aaalmosss@gmail.com>"> <span class="fn">almos</span></a>
</span></b>
<pre>There is nothing wrong with libLLVM-4.0.so.1 as far as I can tell. Only
American Conquest throws this error, so there must be something special about
this one exe.
I compiled Mesa without LLVM, so I could try it with softpipe. I get no dlopen
error, but the X error remains. Here is what I have managed to debug so far:
- Wine creates a GLX context to query the OpenGL information, destroys it, and
creates a permanent one for GDI drawing; the error happens for the second one
- In softpipe_create_context() the CALLOC_STRUCT() fails for
sp_create_tex_tile_cache() (always at sh=4 and i=28...30), I have no idea why
- In CreateContext() (mesa/src/glx/glxcmds.c:278) psc->vtable->create_context()
fails because of the previous point, and indirect_create_context() is attempted
- The X server rejects indirect contexts (xserver/glx/glxcmds.c:284), hence the
X error
The hard part is that gdb doesn't work on Wine, and winedbg is mostly useless.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>