[Bug 101927] American Conquest via Wine cannot start
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 1 18:39:09 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101927
--- Comment #2 from almos <aaalmosss at gmail.com> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170801/45b4849f/attachment.html>
More information about the dri-devel
mailing list