http://bugs.winehq.org/show_bug.cgi?id=22971
Summary: Starcraft II - In game, can only see the map. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: tipecaml@gmail.com
Created an attachment (id=28450) --> (http://bugs.winehq.org/attachment.cgi?id=28450) Screenshot of the game : it's almost all black !
I followed the HOWTO (http://appdb.winehq.org/objectManager.php?sClass=version&iId=19376) using sources from the git repository (commit 5d4a7433a64dae95713fecb8a3d6c4f2a471ca37).
I installed the game, and it seems to be running perfectly : menus are well displayed, sound works. But when playing a game, I can only see the minimap and the menus (see the attachment), which makes the game impossible to play.
My configuration : Intel Core 2 Duo P8400 @ 2.26Ghz 3GB of RAM Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (driver : i915). Though it's definitely not the best computer to play Starcraft II, the game runs fine on Windows 7.
http://bugs.winehq.org/show_bug.cgi?id=22971
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Severity|major |normal
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-31 06:00:30 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
What's the output of 'wine --version'? Specify it in the bug details.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #2 from tipecaml@gmail.com 2010-05-31 06:04:44 --- Sorry for setting the a wrong priority/severity, I should have read your link first.
The output of wine --version : wine-1.2-rc1-108-g5d4a743
http://bugs.winehq.org/show_bug.cgi?id=22971
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.2-rc1
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2010-05-31 07:03:28 --- Please attach terminal output as a text file. http://wiki.winehq.org/FAQ#get_log
http://bugs.winehq.org/show_bug.cgi?id=22971
tipecaml@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tipecaml@gmail.com
--- Comment #4 from tipecaml@gmail.com 2010-05-31 11:26:26 --- The terminal output was way too big to be uploaded, but you can find it here :
http://uuu.enseirb.fr/~roelandt/sc2/log_sc2.txt
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-31 20:39:40 --- Please compress it with 'bzip2 -9'.
http://bugs.winehq.org/show_bug.cgi?id=22971
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmail.com 2010-06-01 09:12:51 --- There are all sorts of problems and which I think are driver related.
Framebuffer object errors (very serious since common settings are being used): fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd) fixme:d3d:context_check_fbo_status Color attachment 0: (0x8742528) WINED3DFMT_B8G8R8A8_UNORM 1280x800 fixme:d3d:context_check_fbo_status Depth attachment: (0x8742d90) WINED3DFMT_D24_UNORM_S8_UINT 1280x800
Lack of s3tc support (you might be able to activate this using driconf): err:d3d_texture:basetexture_bind >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ basetexture.c / 322 err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ surface.c / 760 err:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ device.c / 5332
If you can really upgrade your drivers since I expect those are causing the issues.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #7 from tipecaml@gmail.com 2010-06-01 14:31:18 --- Created an attachment (id=28499) --> (http://bugs.winehq.org/attachment.cgi?id=28499) The log produced by wine while playing (compressed).
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #8 from tipecaml@gmail.com 2010-06-01 14:32:56 --- (In reply to comment #6)
There are all sorts of problems and which I think are driver related.
Framebuffer object errors (very serious since common settings are being used): fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd) fixme:d3d:context_check_fbo_status Color attachment 0: (0x8742528) WINED3DFMT_B8G8R8A8_UNORM 1280x800 fixme:d3d:context_check_fbo_status Depth attachment: (0x8742d90) WINED3DFMT_D24_UNORM_S8_UINT 1280x800
Lack of s3tc support (you might be able to activate this using driconf): err:d3d_texture:basetexture_bind >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ basetexture.c / 322 err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ surface.c / 760 err:d3d:IWineD3DDeviceImpl_UpdateSurface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ device.c / 5332
Indeed, activating the s3tc support using driconf made all the GL_INVALID_ENUM errors disappear.
If you can really upgrade your drivers since I expect those are causing the issues.
Ok, I'll try and get the latest Intel drivers and give you some feedback.
http://bugs.winehq.org/show_bug.cgi?id=22971
Andrew Fister temposs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temposs@gmail.com
--- Comment #9 from Andrew Fister temposs@gmail.com 2010-07-27 21:06:44 --- I confirm this bug in the release version of Starcraft 2 as well, and I have a similar graphics chipset.
System configuration: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz 2GB RAM Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
I get exactly the same symptoms as Cyril does, so I won't bore you with any further attachments. I will try to get a newer graphics driver and see what happens.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #10 from Andrew Fister temposs@gmail.com 2010-07-28 08:47:27 --- I've upgraded the xserver-xorg-video-intel to the version 2.12.0, which I think is the latest. I've also added s3tk support through driconf.
Doing these two things has eliminated all of the GL_INVALID type errors and the fbo errors. However, evidently these aren't the problem, because I get the exact same symptom of the black screen during gameplay(though the HUD and menus are visible and work fine).
Here's a link to my wine output: http://pastebin.com/S2Kq58QU
I'm convinced currently that the problem is being caused because these Intel graphics drivers only do vertex shading in the software, whereas WINE only supports vertex shading in the hardware. So, this is causing many errors relating to the vertex shader in WINE. If you try disabling vertex shading, though, Starcraft 2 doesn't allow itself to start up.
This issue is being discussed in bug 8051, which relates to Sims 2: http://bugs.winehq.org/show_bug.cgi?id=8051
http://bugs.winehq.org/show_bug.cgi?id=22971
Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |antonio.macias.ojeda@gmail. | |com
--- Comment #11 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-07-31 12:22:12 --- For me, it seems that enabling S3TC with driconf solved most of the issue. The units are not rendered, but at least I can see the terrain now.
Also, installing libtxc_dxtn may help.
My graphic card is the Intel GMA HD included in the Arrandale CPUs, an i5 430m to be more precise.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #12 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-07-31 12:39:00 --- In my previous post I forgot to add that you need the to disable UseGLSL in the registry for the terrain to show (in my Intel GMA HD graphic card).
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #13 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-01 07:48:52 --- As it is now, I think this is more a driver (i915) or configuration issue and not a wine problem, so unless we get more information I suggest to close this bug report and keep the discussion in the AppDB StarCraft 2 comments: http://appdb.winehq.org/objectManager.php?sClass=version&iId=20882
(In reply to comment #12)
In my previous post I forgot to add that you need the to disable UseGLSL in the registry for the terrain to show (in my Intel GMA HD graphic card).
http://bugs.winehq.org/show_bug.cgi?id=22971
Matt McHenry wine@matt.mchenryfamily.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@matt.mchenryfamily.org
--- Comment #14 from Matt McHenry wine@matt.mchenryfamily.org 2010-08-02 20:36:55 --- I don't think this is a driver issue. I'm on gentoo, using the open-source drivers for my ATI card:
# equery l xf86-video-ati [ Searching for package 'xf86-video-ati' in all categories among: ] * installed packages [I--] [ ] x11-drivers/xf86-video-ati-6.13.0 (0)
# lspci | grep -i video 01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
... and I see the same thing. If I can provide any more info, LMK.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #15 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-03 04:32:13 --- Hi,
I still think it's a driver issue, I use the following configuration on my Intel card:
Registry Direct3D settings:
UseGLSL: enabled (this is a must and it now works, so forget my previous post). VideoMemorySize: put your video ram here OffscreenRenderingMode: backbuffer DirectDrawRenderer: opengl
Driconf settings (Note: this is for my Intel card and you have an ATI one, so most likely you don't have/need this, but if the above registry settings doesn't work try to find something equivalent):
Enable limited ARB_fragment_shader support on 915/945: yes (this is what makes EnableGLSL work on my Intel card). S3TC compression: yes
With this settings everything renders and I get around 18-20fps on my system. The problem is: some stuff are rendered upside-down!! If not for this the game would be playable (albeit slow).
For me, it looks like the open driver for the Intel card has some issues with GLSL and backbuffer and that's it, but maybe I'm wrong so any more info is appreciated.
(In reply to comment #14)
I don't think this is a driver issue. I'm on gentoo, using the open-source drivers for my ATI card:
# equery l xf86-video-ati [ Searching for package 'xf86-video-ati' in all categories among: ]
- installed packages
[I--] [ ] x11-drivers/xf86-video-ati-6.13.0 (0)
# lspci | grep -i video 01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
... and I see the same thing. If I can provide any more info, LMK.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #16 from Matt McHenry wine@matt.mchenryfamily.org 2010-08-04 06:31:12 --- Okay, so this looks right:
$ grep -i direct3d -A 10 *.reg user.reg:[Software\Wine\Direct3D] 1280881055 user.reg-"DirectDrawRenderer"="opengl" user.reg-"Multisampling"="disabled" user.reg-"OffscreenRenderingMode"="backbuffer" user.reg-"PixelShaderMode"="enabled" user.reg-"RenderTargetLockMode"="enabled" user.reg-"StrictDrawOrdering"="enabled" user.reg-"UseGLSL"="enabled" user.reg-"VertexShaderMode"="hardware" user.reg- user.reg-[Software\Wine\DirectSound] 1180211092
I'll see what Driconf has to say ...
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #17 from Andrew Fister temposs@gmail.com 2010-08-04 16:42:44 --- Following Antonio's configuration suggestions, I now have a rendered terrain, but the units are not being rendered(well, except I can see some kind of outline and shadow of the units, but they all look like ghosts while cloaked!). My registry has this:
grep -i direct3d -A 10 *.reg user.reg:[Software\Wine\Direct3D] 1280952481 user.reg-"DirectDrawRenderer"="opengl" user.reg-"OffscreenRenderingMode"="backbuffer" user.reg-"UseGLSL"="enabled" user.reg-"VideoMemorySize"="512"
and in driconf I've set s3tc and ARB_fragment_shader to be enabled.
So, this is a big improvement. Thank you for the suggestions.
http://bugs.winehq.org/show_bug.cgi?id=22971
Tomas Zijdemans tomas.zijdemans@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomas.zijdemans@gmail.com
--- Comment #18 from Tomas Zijdemans tomas.zijdemans@gmail.com 2010-08-06 02:38:50 --- @Antonio (or someone else): Would you mind writing a howto section on the starcraft 2 appdb page?
Also: Does anyone notice a performance boost after upgrading intel drivers to 2.12 ? (I think ubuntu 10.04 uses a modified 2.9)
I can confirm this bug on the same specs and setup as the other guys.
http://bugs.winehq.org/show_bug.cgi?id=22971
Tomas Zijdemans tomas.zijdemans@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #19 from Tomas Zijdemans tomas.zijdemans@gmail.com 2010-08-06 02:39:23 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #20 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-06 18:21:15 --- (In reply to comment #18)
@Antonio (or someone else): Would you mind writing a howto section on the starcraft 2 appdb page?
Hi: Right now I'm on holidays and I don't have time to test the game and other configurations, so I can't improve on my previous results (which are still unplayable since some things are upside-down). Also, on other Intel cards (mine is GMA HD, those of the Arrandale CPUs) the results are a bit different, from what I have been reading.
Also: Does anyone notice a performance boost after upgrading intel drivers to 2.12 ? (I think ubuntu 10.04 uses a modified 2.9)
I'm on arch, and I have 2.12. Maybe the results of other people are indeed varying because of the driver (and not only the different Intel GPUs, although that's of course important too).
I can confirm this bug on the same specs and setup as the other guys.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #21 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-06 18:35:48 --- (In reply to comment #17)
Following Antonio's configuration suggestions, I now have a rendered terrain, but the units are not being rendered(well, except I can see some kind of outline and shadow of the units, but they all look like ghosts while cloaked!). My registry has this:
grep -i direct3d -A 10 *.reg user.reg:[Software\Wine\Direct3D] 1280952481 user.reg-"DirectDrawRenderer"="opengl" user.reg-"OffscreenRenderingMode"="backbuffer" user.reg-"UseGLSL"="enabled" user.reg-"VideoMemorySize"="512"
and in driconf I've set s3tc and ARB_fragment_shader to be enabled.
So, this is a big improvement. Thank you for the suggestions.
You are welcome,
And in fact I had that same problem just using s3tc but without GLSL and ARB_fragment shaders, although our GPUs are different. Maybe you could you try using OffScreenRenderingMode = fbo or pbuffer, to see if it helps.
http://bugs.winehq.org/show_bug.cgi?id=22971
Francisco Garibaldi fgaribaldi@linux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgaribaldi@linux.com
--- Comment #22 from Francisco Garibaldi fgaribaldi@linux.com 2010-08-07 02:27:50 --- Following Antonio's directions I was able to get graphics, however upside down. The sound is really bad with a crackling sound in the background and constantly cutting.
My settings are:
.wine/user.reg:[Software\Wine\Direct3D] 1281164576 .wine/user.reg-"DirectDrawRenderer"="opengl" .wine/user.reg-"OffscreenRenderingMode"="backbuffer" .wine/user.reg-"UseGLSL"="enabled" .wine/user.reg-"VideoMemorySize"="256" .wine/user.reg-"VideoPciDeviceID"="0x2a42" .wine/user.reg-"VideoPciVendorID"="0x8086" .wine/user.reg- .wine/user.reg-[Software\Wine\DirectSound] 1281162935 .wine/user.reg-"HardwareAcceleration"="Full"
with drirc
<driconf> <device screen="0" driver="i965"> <application name="Default"> <option name="force_s3tc_enable" value="true" /> <option name="no_rast" value="false" /> <option name="vblank_mode" value="3" /> <option name="always_flush_cache" value="false" /> <option name="stub_occlusion_query" value="true" /> <option name="always_flush_batch" value="false" /> <option name="bo_reuse" value="1" /> <option name="texture_tiling" value="true" /> <option name="early_z" value="false" /> <option name="allow_large_textures" value="2" /> <option name="fragment_shader" value="true" /> </application> </device> </driconf>
Attach is the error dump I received while running SC2
I believe, reading from bug 22625, that my card is not recognized as supported for opengl for wine, even though I have OpenGL available in my system.
Mi card is, according to lspci -n: 00:02.0 0300: 8086:2a42 (rev 07)
My glxinfo output is attached
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #23 from Francisco Garibaldi fgaribaldi@linux.com 2010-08-07 02:28:45 --- Created an attachment (id=30041) --> (http://bugs.winehq.org/attachment.cgi?id=30041) SC2 error trace
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #24 from Francisco Garibaldi fgaribaldi@linux.com 2010-08-07 02:29:25 --- Created an attachment (id=30042) --> (http://bugs.winehq.org/attachment.cgi?id=30042) glxinfo result
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #25 from Francisco Garibaldi fgaribaldi@linux.com 2010-08-07 02:33:05 --- I tried with conditions
OffScreenRenderingMode = fbo Same result as using backbuffer, render is upside down
OffScreenRenderingMode = pbuffer No render at all, black screen, only 2D elements are showed
I hope this might help
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #26 from Tomas Zijdemans tomas.zijdemans@gmail.com 2010-08-07 07:37:34 --- Thanks for you suggestions Antonio :)
I tried your exact configurations on standard Ubuntu 10.04 64-bit with my intel 4500 mhd card. I got upside down graphics that had a lot of artifacts (marines missing legs, lots of green terrain etc..)
I then upgraded to kernel 2.6.35 and intel 2.12 drivers. This increased my performance slightly an graphics are now rendered 100% correctly... but still upside down :(
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #27 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-07 12:09:10 --- (In reply to comment #26)
Thanks for you suggestions Antonio :)
I tried your exact configurations on standard Ubuntu 10.04 64-bit with my intel 4500 mhd card. I got upside down graphics that had a lot of artifacts (marines missing legs, lots of green terrain etc..)
I then upgraded to kernel 2.6.35 and intel 2.12 drivers. This increased my performance slightly an graphics are now rendered 100% correctly... but still upside down :(
That's the point were I am now, graphics seem 100% correct and performance is not too bad (with everything on low settings) but upside-down :(.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #28 from Andrew Fister temposs@gmail.com 2010-08-07 16:35:09 --- Regarding the upside down rendering issue, there is bug 23904. It appears to be a regression bug with wine 1.3.0. I get the same status of decent performance but upside down rendering with 1.3.0. wine 1.2 renders right side up, but the units aren't rendered for me. Not playable either way.
I think we'll just have to wait for a fix to bug 23904 unless someone finds a magical hidden OffscreenRenderingMode setting for flipping the render.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #29 from Antonio M. Macías Ojeda antonio.macias.ojeda@gmail.com 2010-08-07 16:47:58 --- (In reply to comment #28)
Regarding the upside down rendering issue, there is bug 23904. It appears to be a regression bug with wine 1.3.0. I get the same status of decent performance but upside down rendering with 1.3.0. wine 1.2 renders right side up, but the units aren't rendered for me. Not playable either way.
I think we'll just have to wait for a fix to bug 23904 unless someone finds a magical hidden OffscreenRenderingMode setting for flipping the render.
Those are great news indeed! Looks like a regression with backbuffer, and we need it with Intel GPUs (or at least that's how it looks like for everyone) so let's see if it's solved soon.
http://bugs.winehq.org/show_bug.cgi?id=22971
Felipe Contreras felipe.contreras@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felipe.contreras@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #30 from Felipe Contreras felipe.contreras@gmail.com 2010-08-21 17:31:24 --- I also confirm that I see a similar issue on an ATI card (r500), and force_s3tc_enable seems to fix it.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #31 from Cyril Roelandt tipecaml@gmail.com 2010-08-29 08:15:18 CDT --- (In reply to comment #28)
Regarding the upside down rendering issue, there is bug 23904. It appears to be a regression bug with wine 1.3.0. I get the same status of decent performance but upside down rendering with 1.3.0. wine 1.2 renders right side up, but the units aren't rendered for me. Not playable either way.
I think we'll just have to wait for a fix to bug 23904 unless someone finds a magical hidden OffscreenRenderingMode setting for flipping the render.
Bug 23904 has been fixed. Could anyone confirm that this solves this bug, with both ATI and Intel cards ? I would do it myself, but we cannot install the beta any more, and since I haven't bought the game yet...
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #32 from Andrew Fister temposs@gmail.com 2010-10-24 13:20:11 CDT ---
Bug 23904 has been fixed. Could anyone confirm that this solves this bug, with both ATI and Intel cards ?
I have an Intel card. In Ubuntu 10.04, this bug was fixed, but it is broken badly again in Ubuntu 10.10. I had SC2 working in a somewhat playable state in 10.04, but since upgrading with the 2.6.35 kernel and the 2.12 xorg intel driver, it's regressed roughly to its previous condition of not rendering units.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #33 from Andrew Fister temposs@gmail.com 2010-10-24 13:23:16 CDT --- Created an attachment (id=31496) --> (http://bugs.winehq.org/attachment.cgi?id=31496) DRI 3D settings where SC2 bug is occurring in Ubuntu 10.10
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #34 from Andrew Fister temposs@gmail.com 2010-10-24 13:30:04 CDT --- Created an attachment (id=31497) --> (http://bugs.winehq.org/attachment.cgi?id=31497) SC2 trace where this bug happens in Ubuntu 10.10
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #35 from Andrew Fister temposs@gmail.com 2010-10-24 13:35:15 CDT --- Note I am using the latest development release of WINE at this time, which is 1.3.5.
Here are my WINE registry settings that would make SC2 work in Ubuntu 10.04 but not Ubuntu 10.10:
[Software\Wine\Direct3D] 1286772292 "DirectDrawRenderer"="opengl" "OffscreenRenderingMode"="backbuffer" "UseGLSL"="enabled" "VideoMemorySize"="256" "VideoPciDeviceID"="0x2a42" "VideoPciVendorID"="0x8086"
[Software\Wine\DirectSound] 1286772357 "HardwareAcceleration"="Full"
http://bugs.winehq.org/show_bug.cgi?id=22971
Bret Copley bret_copley@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bret_copley@yahoo.com
--- Comment #36 from Bret Copley bret_copley@yahoo.com 2011-01-16 20:26:09 CST --- ATI Radeon 5750: Had issue with only being able to see map and UI. (no units or structures rendered in game).
Fixed by:
Execute: wine regedit Navigate to HKEY_CURRENT_USER/Software/Wine/Direct3D If this key does not exist, create it. Right click on Direct3D and select "New" then select "String" for each of the keys bellow and set the string to the corresponding value. Key Value DirectDrawRenderer opengl Multisampling disabled OffScreenRenderingMode pbuffer UseGLSL disabled VertexShaderMode hardware VideoMemorySize 1024 (Set this value to the RAM on your video card)
Am able to run game smoothly on Medium graphics.
if you need help am available @ Bret_copley@yahoo.com or floating around IRC freenode: lithionlx
http://bugs.winehq.org/show_bug.cgi?id=22971
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liquid.acid@gmx.net
--- Comment #37 from Tobias Jakobi liquid.acid@gmx.net 2011-02-02 17:54:09 CST --- Uhm, pbuffer ORM was ripped out some time ago. Now the only available options are backbuffer and fbo.
http://bugs.winehq.org/show_bug.cgi?id=22971
Chase axis304@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |axis304@gmail.com
--- Comment #38 from Chase axis304@gmail.com 2011-02-28 17:14:50 CST --- I solved this bug by upgrading to the new experimental drivers. Hope it helps everyone else as well!
sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install libgl1-mesa-dri-experimental && sudo apt-get upgrade
(I also enabled s3tc textures,but i'm not sure if this matters or not, don't wanna play with it and risk loosing it all over again)
Hope it helps!
http://bugs.winehq.org/show_bug.cgi?id=22971
Zach Goldberg zgold550@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zgold550@gmail.com
--- Comment #39 from Zach Goldberg zgold550@gmail.com 2011-07-21 02:41:58 CDT --- My Data & Results for this game
I'm using a Lenovo X201, Core i7 620M (Arrandale) OS: Ubuntu Lucid 10.04 Wine version: Tried 1.2, 1.3.10, 1.3.24, no notable differences between them for me Intel Driver: 2.10 and 2.14 (latest) tried, no difference between them Pulseaudio: Disabled and Enabled, no change CPU Speed: Set to max (this had a notable perf improvement) CPU Affinity: Set to one core (didn't have a big improvement for me, but others noted that it did) ST3C and ARB stuff in driconf is all set (without st3c set everything is worse always) libst3c installed (see http://ubuntuforums.org/showthread.php?t=1555947) Game settings: Graphics has everything at minimal. Sound disabled.
UseGLSL enabled + rendering mode backbuffer = graphics (terrain + models) show correctly (with some artifacts), 19fps or so. Every 10-15 seconds though the game lags for 2-3 seconds which makes it unplayable
UseGLSL enabled + rendering mode fbo/pbuffer = no ground textures (models are OK), still 18-20fps, still has the occasional slowdown and hence unplayable
UseGLSL disabled + fbo = GOOD fps! No lag! However there are no ground textures, no models, tons of GL_INVALID_OPERATION errors in output
UseGLSL disabled + backbuffer = GOOD FPS, no lag! Yes ground texture! No models though!
Conclusion: I have found settings for good performance, and settings for correct graphics, but not any config which has both -- therefore the game is unplayable right now for me :(.
Anybody else with a similar hardware setup that has managed to get this working?
http://bugs.winehq.org/show_bug.cgi?id=22971
Ted tedvg@xs4all.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tedvg@xs4all.nl
--- Comment #40 from Ted tedvg@xs4all.nl 2011-09-18 18:18:47 CDT --- Can confirm this bug on Ubuntu 11.04, Wine 1.3.28 on a hp pavilion 7 notebook with a nVidea G96 [GeForce 9600M GT].
So it looks like this bug isn't graphics-card specific, as it's been reported on Intel, Ati and nVidea graphics cards.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #41 from Matt McHenry wine@matt.mchenryfamily.org 2011-11-29 19:05:51 CST --- I finally figured out how to get past this bug. The secret was to install libtxc_dxtn, a necessary but patent-encumbered library for s3tc, as discussed at http://dri.freedesktop.org/wiki/S3TC. I discovered this via https://bugs.freedesktop.org/show_bug.cgi?id=24047. In gentoo, this is done simply by 'emerge -av media-libs/libtxc_dxtn'.
Other possibly-relevant settings: ~/.drirc has:
<!-- option name="force_s3tc_enable" value="false" / -->
<option name="fp_optimization" value="0" /> <option name="fthrottle_mode" value="2" /> <option name="disable_stencil_two_side" value="false" /> <option name="tcl_mode" value="3" /> <option name="texture_depth" value="0" /> <option name="def_max_anisotropy" value="1.0" /> <option name="no_rast" value="false" /> <option name="command_buffer_size" value="8" /> <option name="round_mode" value="0" /> <option name="dither_mode" value="0" /> <option name="texture_coord_units" value="8" /> <option name="disable_lowimpact_fallback" value="true" /> <option name="texture_image_units" value="8" /> <!-- option name="disable_s3tc" value="true" / --> <option name="color_reduction" value="1" /> <option name="vblank_mode" value="1" /> <option name="allow_large_textures" value="1" />
And user.reg has:
[Software\Wine\Direct3D] 1280881055 "DirectDrawRenderer"="opengl" "Multisampling"="disabled" "OffscreenRenderingMode"="fbo" "UseGLSL"="enabled" "VertexShaderMode"="hardware" "VideoMemorySize"="256"
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #42 from Henri Verbeet hverbeet@gmail.com 2011-11-29 23:07:18 CST --- (In reply to comment #41)
And user.reg has:
You shouldn't need any of those.
"DirectDrawRenderer"="opengl" "OffscreenRenderingMode"="fbo" "UseGLSL"="enabled" "VertexShaderMode"="hardware"
These are the default settings.
"Multisampling"="disabled"
This makes no difference on r600g, it doesn't support multisampling yet.
"VideoMemorySize"="256"
This is the default for RV610.
http://bugs.winehq.org/show_bug.cgi?id=22971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #43 from Bruno Jesus 00cpxxx@gmail.com 2012-08-31 20:21:09 CDT --- Is this still an issue in wine 1.5.12 (or newer)?
http://bugs.winehq.org/show_bug.cgi?id=22971
Madprops manuelchaves@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |manuelchaves@gmail.com
--- Comment #44 from Madprops manuelchaves@gmail.com 2012-09-13 21:50:05 CDT --- I'm using Wine 1.5.12 Mesa Dri Intel Ivybridge Mobile (Tungsten Graphics) Arch Linux
The menu seems to be fine but inside the game everything is rendered black except the minimap and the units which are rendered all red.
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #45 from Madprops manuelchaves@gmail.com 2012-09-13 22:01:11 CDT --- Actually my units are blue, the enemy looks red, and the menu hud and a shadowy terrain is visible.
Here's a screenshot:
http://bugs.winehq.org/show_bug.cgi?id=22971
--- Comment #46 from Madprops manuelchaves@gmail.com 2012-09-13 22:04:16 CDT --- Ok I fixed this by enabling S3TC compression in driconf :)
http://bugs.winehq.org/show_bug.cgi?id=22971
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #47 from Ken Sharp kennybobs@o2.co.uk 2013-08-04 11:13:55 CDT --- (In reply to comment #43)
Is this still an issue in wine 1.5.12 (or newer)?
No reply in two years. Is this still an issue in Wine 1.7 (or later) or does
(In reply to comment #46)
Ok I fixed this by enabling S3TC compression in driconf :)
mean it's not a Wine bug?
http://bugs.winehq.org/show_bug.cgi?id=22971
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #48 from Ken Sharp imwellcushtymelike@gmail.com --- Abandoned.
http://bugs.winehq.org/show_bug.cgi?id=22971
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |wylda@volny.cz
--- Comment #49 from Wylda wylda@volny.cz --- Closing.