http://bugs.winehq.org/show_bug.cgi?id=24001
Summary: StarCraft2 screen garbled as "bad glass" on ATI cards, when not using orm=backbuffer Product: Wine Version: 1.3.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: NightNord@gmail.com
With any OffscreenRenderingMode other than backbuffer, game screen (both in menu and missions) is garbled as shown on photo. There is few moments about this garbling:
1) It happens only if SC2 rendering size is the same as you monitor resolution. I.e. if you are playing fullscreen OR using virtual desktop with same size, dispite of virtual desktop's window state. 2) It could be reverted by switching resolution or windowing mode in-game. But it will return when; a) You are entering settings, from menu or from in-game, doesn't matter. b) On loading screen, at ~90% of load.
Common surrounding of reappearing of the bug is that at this moment screen flickers once.
When you are using orm=backbuffer, but also appears at noted actions for a few seconds, but then screen reverting back to normal.
Photo attached are done with settings: orm=fbo videomemorysize=512 (unrelated) UseGLSL=disabled (unrelated, but fixes another bug)
This is not only wine related, as same bug could be encountered in native games and screen isn't cleared on SC2 exit until you will (blindly) execute something like xrandr -s 1,
I'm making photo of this bug, as I've failed to make screenshot - i'm getting black image every time with any tool. Also note, that only right part of screen is heavily garbled, while left part is mostly clear, and this is as it always is.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #1 from Night Nord NightNord@gmail.com 2010-08-14 12:04:41 --- Created an attachment (id=30144) --> (http://bugs.winehq.org/attachment.cgi?id=30144) Right part of screen: most garbled
This is photo of most garbled part of screen, you may see, that bug severity increasing from left to right
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #2 from Night Nord NightNord@gmail.com 2010-08-14 12:05:35 --- Created an attachment (id=30146) --> (http://bugs.winehq.org/attachment.cgi?id=30146) Left part of screen
On this photo more cleanly seen how bug progressing while moving from left to right.
http://bugs.winehq.org/show_bug.cgi?id=24001
Night Nord NightNord@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64 Version|1.3.0 |1.2
--- Comment #3 from Night Nord NightNord@gmail.com 2010-08-14 12:06:35 --- Wine version and platform corrected: first seen on 1.2
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #4 from Night Nord NightNord@gmail.com 2010-08-14 12:18:33 --- Created an attachment (id=30147) --> (http://bugs.winehq.org/attachment.cgi?id=30147) Default WINEDEBUG log
This is log without any WINEDEBUG messing, as I dunno what information would be useful, but, I suppose, this log isn't very useful.
While monitoring log changes on second monitor, I've found that bug appears somewhere at end of big "fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16) WINED3DFORMAT!" message sequence or at/before "fixme:win:EnumDisplayDevicesW ((null),0,0x43ce348,0x00000000), stub!" message
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #5 from Night Nord NightNord@gmail.com 2010-08-14 12:21:06 --- Game producing same log while running with backbuffer, so I'm not attaching it. May someone told me, what WINEDEBUG flags I should use to get some meaningful log about this problem?
http://bugs.winehq.org/show_bug.cgi?id=24001
adrussel@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from adrussel@hotmail.com 2010-08-14 22:05:41 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=24001
Dario Meloni mellon85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellon85@gmail.com
--- Comment #7 from Dario Meloni mellon85@gmail.com 2010-08-15 01:44:17 --- *** Bug 24008 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24001
Iván Ortiz iortizqu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iortizqu@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24001
Rovanion Luckey zmiK6CQxwtvRxYau@cry-its.trillianpro.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zmiK6CQxwtvRxYau@cry-its.tr | |illianpro.com
--- Comment #8 from Rovanion Luckey zmiK6CQxwtvRxYau@cry-its.trillianpro.com 2010-08-17 20:25:34 --- I can confirm the existance of this bug. But not only when running StarCraft 2 but also Call of Duty: Modern Warfare 2. I encountered this bug in CoD:MW2 using Wine 1.2 probably using Catalyst 10.4 and in SC2 using Wine 1.3 using Catalyst 10.7.
http://bugs.winehq.org/show_bug.cgi?id=24001
Jörn Dreyer jfd+winehq@butonic.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jfd+winehq@butonic.de
http://bugs.winehq.org/show_bug.cgi?id=24001
Mike mozilla_bugs@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mozilla_bugs@mail.ru
http://bugs.winehq.org/show_bug.cgi?id=24001
Francois Huaulme francois.huaulme@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francois.huaulme@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24001
mrfab per_platar@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |per_platar@hotmail.com
--- Comment #9 from mrfab per_platar@hotmail.com 2010-10-25 13:02:35 CDT --- With ati 10.10 new driver this no longer appers for me with ati 4650 hd on ubuntu 10.10
However there is still some issues cant se battlecruiser at all on battlenet logon.
In campaign mode some places on maps units are not visible.
Some kind of time lag 1 sec is 1,5.
regedit orm=pbuffer ddr=opengl multisampling=disabled render targetlockmode=readtex useGLSL=enabled Vertexshadermode=hardware Videomemorysize=512
http://bugs.winehq.org/show_bug.cgi?id=24001
adrussel@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adrussel@hotmail.com
--- Comment #10 from adrussel@hotmail.com 2010-10-25 15:46:18 CDT --- @mrfab: You're not using orm=backbuffer (as per this bug) if you're using orm=pbuffer (as per your post)...
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #11 from adrussel@hotmail.com 2010-10-25 15:55:46 CDT --- Oops, I misspoke (meant to put comment 10 in bug 24003). Anyway, this bug is still present for me with either fbo or pbuffer.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #12 from mrfab per_platar@hotmail.com 2010-10-29 09:15:33 CDT --- (In reply to comment #11)
Oops, I misspoke (meant to put comment 10 in bug 24003). Anyway, this bug is still present for me with either fbo or pbuffer.
The reason i posted here was that this seems to have been fixed with ati's own driver 10.10
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #13 from mrfab per_platar@hotmail.com 2010-10-29 09:17:48 CDT --- (In reply to comment #11)
Oops, I misspoke (meant to put comment 10 in bug 24003). Anyway, this bug is still present for me with either fbo or pbuffer.
The reason i posted here was that this seems to have been fixed with ati's own driver 10.10
Have you tested that?
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #14 from adrussel@hotmail.com 2010-10-29 11:28:29 CDT --- (In reply to comment #12)
(In reply to comment #11)
Oops, I misspoke (meant to put comment 10 in bug 24003). Anyway, this bug is still present for me with either fbo or pbuffer.
The reason i posted here was that this seems to have been fixed with ati's own driver 10.10
And the reason I replied is that this does *not* seem to have been fixed with the 10.10 driver... =(
http://bugs.winehq.org/show_bug.cgi?id=24001
Ash flubba86@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flubba86@gmail.com
--- Comment #15 from Ash flubba86@gmail.com 2010-11-05 01:18:24 CDT --- Confirming that this bug does still exists with fglrx 10.10. Tested in both Starcraft 2 and Modern Warfare 2.
A small workaround.. when the screen corrupts, press ctrl-alt-F1 to switch to first background terminal, then press ctrl-alt-F7 to switch back go X window.. the artifacts will be gone. They re-appear again every time you enter the Settings menu, and at every loading screen.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #16 from mrfab per_platar@hotmail.com 2010-11-05 18:12:31 CDT --- Here's mine variables.txt if that helps someone! alphadepthWrite=0
aolight=0
creepnormalmap=0
creepQuality=0
creepreflection=0
creeptrans=0
deff=0
deffspec=0
depthDisp=0
dof=0
fogvolume=0
foliagedensity=0.000000
foliagequality=0
gamehdr8bit=1
GraphicsOptionEffectsDetail=0
GraphicsOptionLightingQuality=0
GraphicsOptionModelQuality=0
GraphicsOptionMovies=0
GraphicsOptionOverallQualityVer7[5]=4
GraphicsOptionPhysicsQuality=0
GraphicsOptionPortraits=2
GraphicsOptionPostProcessing=0
GraphicsOptionReflections=0
GraphicsOptionShaderDetail=0
GraphicsOptionShadowQuality=0
GraphicsOptionTerrainQuality=0
GraphicsOptionTextureQuality[2]=0
halo=0
hdr=0
hdr8bit=1
height=1050
lastDeviceId=38037
lightingLevel=0
lightmap=1
lightmapcastshadows=0
localao=0
localeidassets=enGB
localeiddata=enGB
localight=0
lowqualitymodels=1
lowQualityMovies=1
MoviesSeen=1
MusicHeard=1
normalmap=0
parallax=0
particlelod=0
particleobjects=0.000000
particleterrain=0.000000
physicsdensity=0
pixellight=0
preBlendedCreep=1
refreshrate=60
ribbonlod=0
shadowmapsize=512
shadows=0
simplifiedCloaking=1
simplifiedShaders=1
soft=0
softshadows=0
SoundAutoDetectCPUCoreCount=2
soundchannels=32
soundoutput=Default
SoundQuality=1
spec=0
splatlod=0
targettexeldensity=0.150000
TerrainTextureSize=480
texQualityLevel=0
texSpace[2]=590
textureBasedFOW=0
treadlod=0
useLowqualitymodels=1
voicechatsoftwaremute=0
vsync=1
waterflipbook=1
waterreflection=0
waterrendertargetformat=0
waterrendertargetsize=768
watershadow=0
width=1680
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #17 from mrfab per_platar@hotmail.com 2010-11-05 18:22:00 CDT --- Here's mine variables.txt if that helps someone! As you can se i am on 1680x1050 you might not be.
alphadepthWrite=0 aolight=0 creepnormalmap=0 creepQuality=0 creepreflection=0 creeptrans=0 deff=0 deffspec=0 depthDisp=0 dof=0 fogvolume=0 foliagedensity=0.000000 foliagequality=0 gamehdr8bit=1 GraphicsOptionEffectsDetail=0 GraphicsOptionLightingQuality=0 GraphicsOptionModelQuality=0 GraphicsOptionMovies=0 GraphicsOptionOverallQualityVer7[5]=4 GraphicsOptionPhysicsQuality=0 GraphicsOptionPortraits=2 GraphicsOptionPostProcessing=0 GraphicsOptionReflections=0 GraphicsOptionShaderDetail=0 GraphicsOptionShadowQuality=0 GraphicsOptionTerrainQuality=0 GraphicsOptionTextureQuality[2]=0 halo=0 hdr=0 hdr8bit=1 height=1050 lastDeviceId=38037 lightingLevel=0 lightmap=1 lightmapcastshadows=0 localao=0 localeidassets=enGB localeiddata=enGB localight=0 lowqualitymodels=1 lowQualityMovies=1 MoviesSeen=1 MusicHeard=1 normalmap=0 parallax=0 particlelod=0 particleobjects=0.000000 particleterrain=0.000000 physicsdensity=0 pixellight=0 preBlendedCreep=1 refreshrate=60 ribbonlod=0 shadowmapsize=512 shadows=0 simplifiedCloaking=1 simplifiedShaders=1 soft=0 softshadows=0 SoundAutoDetectCPUCoreCount=2 soundchannels=32 soundoutput=Default SoundQuality=1 spec=0 splatlod=0 targettexeldensity=0.150000 TerrainTextureSize=480 texQualityLevel=0 texSpace[2]=590 textureBasedFOW=0 treadlod=0 useLowqualitymodels=1 voicechatsoftwaremute=0 vsync=1 waterflipbook=1 waterreflection=0 waterrendertargetformat=0 waterrendertargetsize=768 watershadow=0 width=1680
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #18 from Dmitry Timoshkov dmitry@codeweavers.com 2010-11-07 01:25:07 CST --- Pasting a huge file instead of attaching it (and doing that twice) is not helpful.
http://bugs.winehq.org/show_bug.cgi?id=24001
buuulibasa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |buuulibasa@gmail.com
--- Comment #19 from buuulibasa@gmail.com 2010-11-14 07:05:48 CST --- Another small workaround.
I have a keyboard with volume controls on it. When I press them I see a small volume notification on the top right corner of the screen.
If I turn the volume up/down while game is loading/going to options etc. the screen no longer becomes garbled. I guess it has to do with the fact that some other application is using the screen at the same time (when SC2 is reinitializing the screen).
Also, I'm trying to do Alt+Tab from the game but it has no effect. Somehow the game grabs the screen and doesn't let it go.
Hope it helps someone to debug this issue.
http://bugs.winehq.org/show_bug.cgi?id=24001
Brian iamsmrtk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iamsmrtk@gmail.com
--- Comment #20 from Brian iamsmrtk@gmail.com 2010-12-05 12:51:56 CST --- I can confirm this bug with the following specs:
Kernel: 2.6.36-ARCH CPU: i5-760 Gfx: Radeon HD 5770, Catalyst 10.11 Wine: 1.3.8 Xorg: 1.9.2
HKCU\Software\Wine\Direct3D
DirectDrawRender: opengl Multisampling: disabled OffScreenRenderingMode: fbo/pbuffer UseGLSL: disabled VertexShaderMode: hardware VideoMemorySize: 1024
Changing the OSRM to backbuffer fixes this particular problem but makes the game unplayable otherwise.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #21 from Brian iamsmrtk@gmail.com 2010-12-16 23:46:38 CST --- This bug no longer exists for me as of the recent catalyst version (10.12).
http://bugs.winehq.org/show_bug.cgi?id=24001
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #22 from Dmitry Timoshkov dmitry@codeweavers.com 2010-12-17 04:23:57 CST --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=24001
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2010-12-17 04:24:10 CST --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #24 from adrussel@hotmail.com 2010-12-17 11:24:37 CST --- This bug still exists for me, and I am also using the latest Catalyst.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #25 from Dario Meloni mellon85@gmail.com 2010-12-17 11:31:49 CST --- same here with ATI 10.12, wine 1.3.9 and Radeon 4890HD
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #26 from Dario Meloni mellon85@gmail.com 2010-12-17 11:32:09 CST --- (In reply to comment #25)
same here with ATI 10.12, wine 1.3.9 and Radeon 4890HD
by same I mean, it doesn't work
http://bugs.winehq.org/show_bug.cgi?id=24001
Rovanion Luckey rovanion.luckey@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rovanion.luckey@gmail.com
--- Comment #27 from Rovanion Luckey rovanion.luckey@gmail.com 2010-12-17 12:28:02 CST --- I suggest this bug to be opened again since the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=24001
--- Comment #28 from Night Nord NightNord@gmail.com 2010-12-17 16:25:36 CST --- I guess that this bug is really invalid, as it's obviously is fglrx bug, not wine's (it appears in native games also). Wine+SC2 just causing it constantly.
My reasons of filling this bug was just to warn fglrx users about possible problems (SC2 appdb record overflowed by nvidia-platinum test reports, so posting fglrx-non-platinum report is useless - it will sink down in few days) when playing SC2.
For same reasons I'm suggesting to reopen this bug and leave it here.
For everyone, who still waiting for this bug to be fixed, I suggest trying to use git OSS drivers from time to time - they are rapidly progressing and many of not-so-recent games (HL2, HL2ep1, as example) are quite playable in some circumstances.
For those, who want to play now, I suggest using a workaround, that I've already posted at appdb record - bug appears only on settings-menu and loading-screen, so 1) Run SC2 in Virtual Desktop, which resolution IS EQUAL to your screen resolution and forbid wm-decorations, so VD-window will be positioned at left-top corner. 2) Find out how to switch between fullscreen/non-fullscreen mode in your WM. Most of WM's has some kind of hot-key-assign feature, that force window in fullscreen mode. 3) Start SC2 (wine will force VD-window in fullscreen mode, as it's size equals to your screen resolution). Switch fullscreen mode off instantly, so it will be non-fullscreen while game is loading. 4) After menu is loaded, you may switch fullscreen mode on back (in non-fullscreen mode any non-overlappable portions of your WM will block some portions of game-window), but be sure to switch it off before any loading-screens and before entering "settings" menu.
To make this workaround work, be sure, that your WM has some non-overlappable portions, so changing fullscreen mode will efficiently shrink window in some direction. Or findout any other method of such shrinking. Common idea is simple - window shoudn't be fullscreen at problematic times.
(fullscreen window in X11 is just no-border window with size equal to screen's resolution)
If you've incidentally forgot to switch fullscreen mode off, you may clear this bug's effect by changing game's resolution to smaller one and than to back to normal.
http://bugs.winehq.org/show_bug.cgi?id=24001
alex_y_xu@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex_y_xu@yahoo.ca
--- Comment #29 from alex_y_xu@yahoo.ca 2011-02-23 18:51:24 CST --- (Sort of-)Better workaround: Switch TTY to text-mode using Ctrl-Alt-F{1-6} then switch back with Ctrl-Alt-F7.