http://bugs.winehq.org/show_bug.cgi?id=17660
Summary: Starcraft slow down when select any building or units Product: Wine Version: 1.1.16 Platform: PC OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: nathnett@gmail.com
Starcraft slow down when select any building or unit/s.
http://bugs.winehq.org/show_bug.cgi?id=17660
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |other
http://bugs.winehq.org/show_bug.cgi?id=17660
Reenen Laurie rlaurie@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rlaurie@gmail.com
--- Comment #1 from Reenen Laurie rlaurie@gmail.com 2009-04-30 03:00:47 --- I have found a similar regression. Please indicate which graphics card you use (as mine is *much* better on intel 915 than on my GeForce 5500).
Also, check if the game runs better with "still portraits" (or disabled), and color cycling disabled. I found this helped a little, but did not fix it completely.
http://bugs.winehq.org/show_bug.cgi?id=17660
Vytautas vytautas1987@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vytautas1987@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=17660
Kristoffer Ericson kristoffer.ericson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kristoffer.ericson@gmail.co | |m
--- Comment #2 from Kristoffer Ericson kristoffer.ericson@gmail.com 2009-09-29 04:10:44 --- Can also confirm this issue. Got an Asus 1000HE with an onboard intel gm945 card.
http://bugs.winehq.org/show_bug.cgi?id=17660
Thomas kronisk@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kronisk@hotmail.com
--- Comment #3 from Thomas kronisk@hotmail.com 2010-01-17 20:08:03 --- I found a solution to this problem. Newer wine versions have very bad support for StarCraft, but I don't know why exactly.
I got my hands on an old wine version, 0.9.14 and started StarCraft with no slow issues what so ever, it's 99.9% of what XP delivers.
The very easy way to install and manage multiple wine versions is accomplished by PlayOnLinux -- it takes ~7 seconds to add an old wine version.
Now all we need is to fix those damn Battle.net menus. Everything else works.
http://bugs.winehq.org/show_bug.cgi?id=17660
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|Starcraft |
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2010-01-18 02:57:16 --- (In reply to comment #3)
Now all we need is to fix those damn Battle.net menus. Everything else works.
Nothing is fixed if you're just downgrading to a version of Wine released in 2006. Which video card and drivers did you test with?
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #5 from Thomas kronisk@hotmail.com 2010-01-18 12:55:48 --- (In reply to comment #4)
Technically you're right, it's not fixed. I found a solution to my problem -- a problem that has been around for ages with still new forums threads created on the subject, thus I just wanted to share it with as much people as possible.
Pretty soon I'll be buying a nVidia card, but for now I'm stuck with sucky ATi which means that if I want proper 3D rendering I have to use the proprietary drivers -- and we all know ATi's policy on legacy cards... no driver updates ever. So you have to use "old" distros with xservers/xorg that those drivers support. At least that's what I'm most comfortable doing.
Sorry, just had to get that out of my system.
OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON X850 XT Platinum Edition OpenGL version string: 2.1.8543 Release
DRIVERS: Catalyst 9.3 ("Newest proprietary driver") -- using latest Fedora supporting it: Fedora 10.
My GPU is PCI:E unfortunately, that feature is not supported by the old driver version.
nVidia here I come!
http://bugs.winehq.org/show_bug.cgi?id=17660
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmail.com 2010-03-03 07:35:39 --- It is critical for performance that you use either an old Nvidia card (geforce-geforcefx) or a card which supports shaders. When either of the two conditions is true enable DirectDrawRenderer opengl. Without opengl, it is not easy to make this game fast (we perform palette conversion in a very inefficient way).
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #7 from Matteo bugs.kendatsuba@gmail.com 2010-07-11 17:53:55 --- Created an attachment (id=29546) --> (http://bugs.winehq.org/attachment.cgi?id=29546) cure for slowness
This bug is still present in wine-1.2rc6. Selecting buildings during upgrading, overlords, evolving eggs and everything displaying a progress bar results in 100% CPU usage and slowness. The main cause is an increased number of Locks/Unlocks needed to paint the scene.
As pointed out here:
http://wiki.winehq.org/DirectDraw
frequent Locks/Unlocks can lead to performance losses. Unfortunately even by setting DirectDrawRender to opengl one still gets extremely high CPU usage under the above circumstances.
The attached patch is a hack made specifically for starcraft that tries to overcome the problem. Locks/Unlocks are redirected to a memory buffer and real video memory Locks are allowed to occur roughly 50 times per second. This successfully reduces the CPU overhead both in gdi and opengl mode.
Example: DirectDrawRenderer = opengl with "CPU throttling" enabled in starcarft results in 25-30% CPU usage on my Pentium(R) 4 CPU 2.66GHz even when selecting overlords / buildings.
Note that this is not a fix of wine's directdraw implementation, it will only work with starcraft, possibly breaking other apps. I've tested the patch on wine 1.0.1 (debian testing) and wine 1.2rc6, is there anyone willing to test it further?
http://bugs.winehq.org/show_bug.cgi?id=17660
karol karol.blazewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |karol.blazewicz@gmail.com
--- Comment #8 from karol karol.blazewicz@gmail.com 2010-08-16 18:01:13 --- I have nvidia FX 5500 and I don't experience any slowness when using the nouveau driver, the nvidia driver however produces the dreaded sloooownesss.
http://bugs.winehq.org/show_bug.cgi?id=17660
Andy theingroy@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |theingroy@hotmail.com
--- Comment #9 from Andy theingroy@hotmail.com 2010-08-19 19:39:20 --- Thanks a million! This patch fixed it for me, after many unsuccessful attempts. I have a nVidia Geforce Go5200 FX and a pentium 4 processor (laptop).
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce FX Go5200/AGP/SSE2 OpenGL version string: 2.1.2 NVIDIA 173.14.22
Before patching the game was playable but slow, especially when selecting particular units and structures (e.g. overlord). After patching performance is just as good as in windows. I patched and compiled from wine 1.3.0 source.
It worked for my buddy as well, I think he has ATI hardware of a similar era, but I'm not sure exactly what.
http://bugs.winehq.org/show_bug.cgi?id=17660
Matteo bugs.kendatsuba@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.kendatsuba@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=17660
Dani Pratomo pratomo.dani@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pratomo.dani@gmail.com
--- Comment #10 from Dani Pratomo pratomo.dani@gmail.com 2010-08-24 01:53:15 --- Yes slowness happen in my jolicloud 1.0 (ubuntu jaunty). But this patch indeed solved the problem. But the same bug happen when I run StarCraft in windowed mode using iCCup Launcher.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #11 from Matteo bugs.kendatsuba@gmail.com 2010-08-24 09:26:41 --- (In reply to comment #10)
Yes slowness happen in my jolicloud 1.0 (ubuntu jaunty). But this patch indeed solved the problem. But the same bug happen when I run StarCraft in windowed mode using iCCup Launcher.
iCCup windowed mode depends on wmode.bwl plugin (by XeNotRoN). By hooking ddraw APIs this plugin changes the cooperative level from DDSCL_FULLSCREEN to DDSCL_NORMAL. From what I can tell it also replaces every Lock/Unlock with BitBlts, thus nullifying the effects of the patch. You can try to modify dlls/gdi32/bitblt.c in order to lower the rate of BiBlts per second, hopefully reducing the CPU overhead.
http://bugs.winehq.org/show_bug.cgi?id=17660
Jeff Cook jeff@deserettechnology.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeff@deserettechnology.com
--- Comment #12 from Jeff Cook jeff@deserettechnology.com 2010-08-29 03:38:56 CDT --- Has anyone tested for this bug against a recent HEAD? I've watched my brother play StarCraft with a git build from about a week back and I didn't notice any slowdown and he hasn't complained of any. We did not apply the patch included in this thread. He is using a GeForce 6150SE with nvidia blob drivers (256.44).
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #13 from Dani Pratomo pratomo.dani@gmail.com 2010-08-30 20:10:11 CDT --- (In reply to comment #12)
Has anyone tested for this bug against a recent HEAD? I've watched my brother play StarCraft with a git build from about a week back and I didn't notice any slowdown and he hasn't complained of any. We did not apply the patch included in this thread. He is using a GeForce 6150SE with nvidia blob drivers (256.44).
I was using wine 1.2 and experience a slow down before I apply the patch. Curious, Then I try recent wine 1.3.1 on the PlayOnLinux but still the same bug exist.
http://bugs.winehq.org/show_bug.cgi?id=17660
Alexey Alexeev aam.neo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aam.neo@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #14 from Alexey Alexeev aam.neo@gmail.com 2011-05-21 13:50:54 CDT --- Created an attachment (id=34831) --> (http://bugs.winehq.org/attachment.cgi?id=34831) Commands to build wine
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #15 from Alexey Alexeev aam.neo@gmail.com 2011-05-21 13:53:22 CDT --- Created an attachment (id=34832) --> (http://bugs.winehq.org/attachment.cgi?id=34832) Hack for wine-1.3.20
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #16 from Alexey Alexeev aam.neo@gmail.com 2011-05-21 13:54:39 CDT --- Created an attachment (id=34833) --> (http://bugs.winehq.org/attachment.cgi?id=34833) Script to run StarCraft
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #17 from Alexey Alexeev aam.neo@gmail.com 2011-05-21 13:55:33 CDT --- I confirm this bug.
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVS 3100M/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 270.41.06
I use separate wine installation with modified http://bugs.winehq.org/attachment.cgi?id=29546 patch for last (1.3.20 wine version) as workaround.
Apply attached patch. Install packages needed to compilation. Change directory to wine source and run attached commands. Copy Starcraft from "~/.wine/drive_c/Program Files/Starcraft" to "/opt/wine-starcraft/winedrive_c/Program Files" or install using WINEPREFIX=/opt/wine-starcraft/wine and /opt/wine-starcraft/bin/wine. You can use attached script to run StarCraft.
http://bugs.winehq.org/show_bug.cgi?id=17660
Dariusz cdar07@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cdar07@gmail.com
--- Comment #18 from Dariusz cdar07@gmail.com 2011-10-19 09:55:13 CDT --- Hi. I had the same problem with Wine from ppa:ubuntu-wine/ppa in Ubuntu 11.04. Unfortunately I don't remember the version. Now I'm on 11.10 and I have Wine from ubuntu repo (v 1.3.28) and Starcraft runs flawlessly! Additionally Wine always exit properly (no more killing StarCraft.exe and changing back screen resolution).
http://bugs.winehq.org/show_bug.cgi?id=17660
Nil Choudhury Nil.Choudhury@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Nil.Choudhury@gmail.com
--- Comment #19 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 01:21:29 CDT --- I have wine 1.4.1 and have this bug as well. Certain units and buildings cause the game to slow down more than others. If a building is idle (i.e. not building or upgrading anything) the lag is negligible. If the building is highly damaged, then the game slows down some. If I select an enemy unit, their is almost no lag. If by chance I have no unit selected (maybe the unit I had selected died), the game runs smoothly and quickly, better than on Windows. The effect is worst when I select units or a building that is actively building a unit or upgrading.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #20 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 16:17:19 CDT --- (In reply to comment #19)
I have wine 1.4.1 and have this bug as well. Certain units and buildings cause the game to slow down more than others. If a building is idle (i.e. not building or upgrading anything) the lag is negligible. If the building is highly damaged, then the game slows down some. If I select an enemy unit, their is almost no lag. If by chance I have no unit selected (maybe the unit I had selected died), the game runs smoothly and quickly, better than on Windows. The effect is worst when I select units or a building that is actively building a unit or upgrading.
This bug isn't present when I run the game on wine version 0.9.14 (there is a bug with the sound however). Also my graphics card is ATI Radeon Xpress 1100 and the driver is Gallium 0.4 on ATI RS480.
http://bugs.winehq.org/show_bug.cgi?id=17660
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #21 from joaopa jeremielapuree@yahoo.fr 2013-05-08 16:57:08 CDT --- Can you give a try with wine 0.9.36? There was a big change in this version about directx
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #22 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 17:36:36 CDT --- (In reply to comment #21)
Can you give a try with wine 0.9.36? There was a big change in this version about directx
I still have issues with no sound.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #23 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 18:05:40 CDT --- (In reply to comment #22)
(In reply to comment #21)
Can you give a try with wine 0.9.36? There was a big change in this version about directx
I still have issues with no sound.
Sorry, didn't play long enough to tell if that lag bug was still there. The game does still slow down when I select certain buildings and units.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #24 from joaopa jeremielapuree@yahoo.fr 2013-05-08 18:27:42 CDT --- what about with wine 0.9.35?
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #25 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 19:53:44 CDT --- (In reply to comment #24)
what about with wine 0.9.35?
The bug is still present. They don't seem noticeable at first, but the longer I play the worse it gets. It might be in my head, but it seems to fare better in these older versions. I'm going to test 0.9.14 again, maybe the bug was there and I didn't notice.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #26 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-08 20:11:56 CDT --- (In reply to comment #25)
(In reply to comment #24)
what about with wine 0.9.35?
The bug is still present. They don't seem noticeable at first, but the longer I play the worse it gets. It might be in my head, but it seems to fare better in these older versions. I'm going to test 0.9.14 again, maybe the bug was there and I didn't notice.
works well using 0.9.14. Also, I used wine config to select the audio drivers and sound works fine.
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #27 from joaopa jeremielapuree@yahoo.fr 2013-05-08 20:22:20 CDT --- At least, you should try to find out what is the first non-working wine.
http://bugs.winehq.org/show_bug.cgi?id=17660
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #28 from lizhenbo litimetal@gmail.com 2013-05-08 21:57:07 CDT --- Is a regression test necessary?
http://bugs.winehq.org/show_bug.cgi?id=17660
Joel k00_fol@k.kth.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |k00_fol@k.kth.se
--- Comment #29 from Joel k00_fol@k.kth.se 2013-05-10 10:50:18 CDT --- (In reply to comment #12)
Has anyone tested for this bug against a recent HEAD? I've watched my brother play StarCraft with a git build from about a week back and I didn't notice any slowdown and he hasn't complained of any. We did not apply the patch included in this thread. He is using a GeForce 6150SE with nvidia blob drivers (256.44).
On a reasonable modern computer can be difficult to notice the slowdown, especially for causal gamers like me. In a competetive multiplayer setting with high level players it's much more likely to be an issue. (Though I think the severity of this bug might vary depend on the gfx drivers)
Other similar reports: bug 14373 (closed despite reports saying it's not fixed) and bug 21470
http://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #30 from Nil Choudhury Nil.Choudhury@gmail.com 2013-07-21 03:37:43 CDT --- Sorry, haven't been testing other versions of wine until recently as 0.9.14 works well. It seems to get progressively worse with each new version of wine. On 1.6 the effect is immediately noticeable. On 0.9.17, the effect is there though negligible at first. When playing online, other players are quick to point out the "lag." However, the slowed performance in minuscule compared to the most recent versions of wine. 0.9.15 and 0.9.16 may also have this bug, but there wasn't a large enough reduction in game performance when I tried these versions of Wine. It may be the case the reduction in performance in 0.9.14 is so negligible that no one has noticed, not even on older computers like the one I am using. For the record, my hardware stats are a dual core 1.8 ghz processor with 2gb of ddr2 memory, an ATI radeon xpress 1100 graphics card with 256mb of dedicated memory and 256mb of share memory. I am using the open source drivers (as the legacy proprietary drivers are not compatible with any reasonable version of x.org).
Across these different versions of Wine, I'm inclined to believe this is the same bug. The symptoms appear when selecting units and are more severe selecting certain types of units, though the degree of severity varies with whichever version of Wine I use.
https://bugs.winehq.org/show_bug.cgi?id=17660
Ambrevar ambrevar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ambrevar@gmail.com
--- Comment #31 from Ambrevar ambrevar@gmail.com --- Overriding ddraw.dll with http://hifi.iki.fi/cnc-ddraw/ does the trick for me.
https://bugs.winehq.org/show_bug.cgi?id=17660
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #32 from Maik Wagner maiktapwagner@aol.com --- Hello everyone,
Slackware 14.1 with wine 1.7.39 here. I downloaded the demo and had the following result: The game slows down when selecting buildings but not when clicking SCV-units. I am using the following chipset:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
https://bugs.winehq.org/show_bug.cgi?id=17660
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|enhancement |minor
--- Comment #33 from Ken Sharp imwellcushtymelike@gmail.com --- Confirmed by multiple users.
https://bugs.winehq.org/show_bug.cgi?id=17660
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance
https://bugs.winehq.org/show_bug.cgi?id=17660
--- Comment #34 from joaopa jeremielapuree@yahoo.fr --- Still a bug in current wine (3.19)?