http://bugs.winehq.org/show_bug.cgi?id=29982
Bug #: 29982 Summary: Starcraft II stops working after upgrade to mesa 8.0.1 Product: Wine Version: 1.4-rc4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: petkra@chem.gla.ac.uk Classification: Unclassified
Created attachment 39029 --> http://bugs.winehq.org/attachment.cgi?id=39029 Error log with GLSL disabled.
Hello. Starcraft 2 has been working absolutely fine on my PC, until I upgraded my distribution to use mesa-8.0.1 (up from 7.11.2). Then I get the error described in the log1 attachment.
I had also re-enabled GLSL using wine regedit, but that doesn't help (log2).
The distribution I am using:
Arch Linux x86_64:
lib32-mesa 8.0.1 lib32-ati-dri 8.0.1 lib32-libgl 8.0.1 xorg-server 1.11.99.903 xf86-video-ati 6.14.3 wine 1.4rc4
When I force-downgrade lib32-ati-dri to 7.11.2 (without downgrading the rest), Starcraft 2 starts working again - I am guessing the issue is in that part of the code.
I am not sure if it's a bug in mesa, or wine. Any help is appreciated! Peter
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #1 from PeterKraus petkra@chem.gla.ac.uk 2012-02-23 14:12:27 CST --- Created attachment 39030 --> http://bugs.winehq.org/attachment.cgi?id=39030 Error log with GLSL enabled.
http://bugs.winehq.org/show_bug.cgi?id=29982
PeterKraus petkra@chem.gla.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39029|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=29982
PeterKraus petkra@chem.gla.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39030|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=29982
PeterKraus petkra@chem.gla.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petkra@chem.gla.ac.uk
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #2 from Austin English austinenglish@gmail.com 2012-02-23 15:27:13 CST --- The assertion failure is from mesa, very likely a Mesa bug, but I'll leave that for a d3d guy to decide for sure.
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2012-02-24 05:01:46 CST --- (In reply to comment #2)
The assertion failure is from mesa, very likely a Mesa bug, but I'll leave that for a d3d guy to decide for sure.
Yeah, probably Mesa. However, I should note that SC2 works fine for me with r600g from current git (a0a9e56). You don't mention to specific driver you're using, but that probably means this is either a regression specific to 8.0.1, a packaging issue or something else specific to your setup.
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #4 from PeterKraus petkra@chem.gla.ac.uk 2012-02-24 05:41:18 CST --- Hello, it's Radeon HD 6750, so I guess that's R600g too. I have tried to build mesa from git, but it's not working - will have to look into it a bit deeper.
Will keep you posted..
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #5 from PeterKraus petkra@chem.gla.ac.uk 2012-02-24 15:10:52 CST --- I have built both mesa and lib32-mesa (along with libgl, libglapi and ati-dri) from today's git. The error persists...
http://bugs.winehq.org/show_bug.cgi?id=29982
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felipe.contreras@gmail.com
--- Comment #6 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-24 22:38:35 CDT --- *** Bug 30259 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #7 from Felipe Contreras felipe.contreras@gmail.com 2012-03-24 23:14:26 CDT --- Same here, also Arch Linux x86_64:
mesa 8.0.2-1 libgl 8.0.2-1 libglapi 8.0.2-1 ati-dri 8.0.2-1 xorg-server 1.12.0-1 xf86-video-ati 6.14.3-2 wine 1.5.0-1 kernel 3.1.5 (but I tried 3.3 as well)
Why do you say the issue is mesa? Wine is clearly stuck in a deadlock.
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #8 from Felipe Contreras felipe.contreras@gmail.com 2012-03-24 23:15:31 CDT --- ATI Radeon HD 6800 here.
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #9 from PeterKraus petkra@chem.gla.ac.uk 2012-03-25 10:14:32 CDT --- It looks like it's mesa. Recompiling 32bit mesa with -O1 (instead of O2) seems to fix the issue, as described here:
https://bugs.archlinux.org/task/27645
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2012-03-25 10:26:23 CDT --- I know there are some issues with LLVM compiled by Clang and Mesa. (See http://llvm.org/bugs/show_bug.cgi?id=12151 and related bugs.) I'm not sure if this is the same issue or not though. Setting the DRAW_USE_LLVM=0 environment variable may be a workaround.
http://bugs.winehq.org/show_bug.cgi?id=29982
--- Comment #11 from Felipe Contreras felipe.contreras@gmail.com 2012-03-25 10:29:09 CDT --- I tried DRAW_USE_LLVM=0, doesn't help.
However, recompiling with -O1 does make it work.
FTR, this is how Arch Linux compiles it:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
./configure --prefix=/usr \ --with-dri-driverdir=/usr/lib32/xorg/modules/dri \ --with-gallium-drivers=r300,r600,nouveau,swrast \ --enable-gallium-llvm \ --disable-gallium-egl --enable-shared-glapi \ --enable-glx-tls \ --with-driver=dri \ --enable-gles1 \ --enable-gles2 \ --disable-egl \ --enable-texture-float \ --enable-shared-dricore \ --enable-32-bit \ --libdir=/usr/lib32
http://bugs.winehq.org/show_bug.cgi?id=29982
PeterKraus petkra@chem.gla.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |UPSTREAM
--- Comment #12 from PeterKraus petkra@chem.gla.ac.uk 2012-07-10 15:27:42 CDT --- I think the problem has been resolved now.... At least on Arch Linux, all works well with stock packages (mesa etc. 8.0.3-3). Not sure, if the CFLAGS have been changed to -O1, or LLVM/mesa issues have been fixed, but I guess we can close this now.
https://bugs.winehq.org/show_bug.cgi?id=29982
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Distribution|--- |ArchLinux
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- As previous comment states the bug has been fixed in ArchLinux, the upstream bug is closed so let's close this one too.