From: bugzilla-daemon@freedesktop.org Subject: [Bug 101927] American Conquest via Wine cannot start Date: Tue, 01 Aug 2017 18:39:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1536869570==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BF6AF898ED for ; Tue, 1 Aug 2017 18:39:08 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1536869570== Content-Type: multipart/alternative; boundary="15016127480.BF86c7F4.22209"; charset="UTF-8" --15016127480.BF86c7F4.22209 Date: Tue, 1 Aug 2017 18:39:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101927 --- Comment #2 from almos --- 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 abo= ut this one exe. I compiled Mesa without LLVM, so I could try it with softpipe. I get no dlo= pen 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 o= ne - In softpipe_create_context() the CALLOC_STRUCT() fails for sp_create_tex_tile_cache() (always at sh=3D4 and i=3D28...30), I have no id= ea why - In CreateContext() (mesa/src/glx/glxcmds.c:278) psc->vtable->create_conte= xt() fails because of the previous point, and indirect_create_context() is attem= pted - 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 usele= ss. --=20 You are receiving this mail because: You are the assignee for the bug.= --15016127480.BF86c7F4.22209 Date: Tue, 1 Aug 2017 18:39:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10192= 7 from <= span class=3D"fn">almos
There is nothing wrong with libLLVM-4.0.so.1 as far as I can t=
ell. Only
American Conquest throws this error, so there must be something special abo=
ut
this one exe.

I compiled Mesa without LLVM, so I could try it with softpipe. I get no dlo=
pen
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 o=
ne
- In softpipe_create_context() the CALLOC_STRUCT() fails for
sp_create_tex_tile_cache() (always at sh=3D4 and i=3D28...30), I have no id=
ea why
- In CreateContext() (mesa/src/glx/glxcmds.c:278) psc->vtable->create=
_context()
fails because of the previous point, and indirect_create_context() is attem=
pted
- 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 usele=
ss.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15016127480.BF86c7F4.22209-- --===============1536869570== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1536869570==--