http://bugs.winehq.org/show_bug.cgi?id=14975
Summary: Word of Warcraft 3.01 Beta Wotlk Product: Wine Version: 1.1.3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: inverse@email.it
There is a graphical problem with an effects of the beta client of wow... The problems is present only if opengl engine is used, with d3d engine this problem is not present. Some area of the game and some quest of Death Knight starting area are affected of this problem, this graphical effect create a sort of mist around the screen, and use a sort of blur, with opengl all those effects make the screen all white or all black, only menu are visible and game stil go without crashing. I tried it with 1.1.2 and 1.1.3 version of wine. The only workaround is to use an old version of wine (0.9.46)
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-23 22:56:57 --- What video card, and driver version? Have you disabled/removed compiz?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #2 from Vittorio inverse@email.it 2008-08-23 23:06:24 --- Tried on an nvidia 8800gt with 169.12 driver version (ubuntu 8.04 nvida default restricted driver) and with compiz disabled....and I'm not the only one to suffer of this bug, you can read comments and test about it here...
http://appdb.winehq.org/objectManager.php?sClass=version&iId=13187
(In reply to comment #1)
What video card, and driver version? Have you disabled/removed compiz?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #3 from Rico kgbricola@web.de 2008-08-24 03:08:25 --- Please run a regression test http://wiki.winehq.org/RegressionTesting .
http://bugs.winehq.org/show_bug.cgi?id=14975
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=14975
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sven.schellack@arcor.de
--- Comment #4 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-26 15:34:43 --- *** Bug 15024 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #5 from Vittorio inverse@email.it 2008-08-26 20:27:27 --- Created an attachment (id=15672) --> (http://bugs.winehq.org/attachment.cgi?id=15672) regression test result
http://bugs.winehq.org/show_bug.cgi?id=14975
Vittorio inverse@email.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-26 20:57:51 --- 8293a9ead0ddbc40be62815f0f0823356665b3dc is first bad commit commit 8293a9ead0ddbc40be62815f0f0823356665b3dc Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Fri Feb 22 20:40:00 2008 +0000
wgl: Remove the pixel format limitation.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #7 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-27 03:28:04 --- As I mentioned in bug 15024 run using WINEDEBUG=+wgl and attach the output to a log.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #8 from Sven Schellack sven.schellack@arcor.de 2008-08-27 10:24:47 --- OK - I set WINEDEBUG=+wgl started to WoW, logged in, got to the point where everything went black. There's only one problem: the output is 4.7MB... any ideas how I can get the log a little smaller so that I can upload it here? :-)
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-08-27 10:30:04 --- 'bzip2 -9' ?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #10 from Sven Schellack sven.schellack@arcor.de 2008-08-27 10:39:44 --- Created an attachment (id=15686) --> (http://bugs.winehq.org/attachment.cgi?id=15686) Output with WINEDEBUG=+wgl
http://bugs.winehq.org/show_bug.cgi?id=14975
Sven Schellack sven.schellack@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Sven Schellack sven.schellack@arcor.de 2008-08-28 12:05:41 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14975
Polarina gabrielp@simnet.is changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielp@simnet.is
--- Comment #12 from Polarina gabrielp@simnet.is 2008-09-06 04:59:15 --- Wine 0.9.56 is not affected. Wine 0.9.57 is the first version affected.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #13 from Jörg Selbach sidolin@gmx.net 2008-09-09 11:03:00 --- Created an attachment (id=15955) --> (http://bugs.winehq.org/attachment.cgi?id=15955) Quick & dirty hack, that provides a workaround
You probably have to replace the fmt_id (0x77) with another value (see glxinfo -t)
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #14 from Jörg Selbach sidolin@gmx.net 2008-09-09 11:03:24 --- Looks like it is the pixel format indeed. I've added a quick and dirty hack in dlls/winex11.drv/opengl.c, that includes only the format with id 0x77 in the list, that has an alpha channel with my video card:
Output from glxinfo -t:
... 140 GLXFBConfigs: Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs ---------------------------------------------------------------------------------------------------- 0x75 0 TrueColor 0 32 0 rgba 1 0 8 8 8 0 4 24 8 16 16 16 16 0 0 0x76 0 DirectColor 0 32 0 rgba 1 0 8 8 8 0 4 24 8 16 16 16 16 0 0 0x77 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 4 24 8 16 16 16 16 0 0 0x78 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 4 24 8 16 16 16 16 0 0 ...
Without the patch the format 0x75 is used (no alpha channel => white screen). With that screen effect works. I just don't know how to make a usable patch out of it, so that the format with alpha channel is preferred... ;)
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #15 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-09 11:36:40 --- Created an attachment (id=15958) --> (http://bugs.winehq.org/attachment.cgi?id=15958) hack
I didn't have much time the last couple of weeks to reply here but I knew this was the problem but it is far from easy to fix. In short the issue is the function ChoosePixelFormat which is used by programs to select an opengl pixel format. The function is very bad as it doesn't give you ANY guarantees. For example if you would ask for a pixel format with 32-bit colors, it could return one with 8-bit if 32-bit isn't available. In this case WoW only asks for 32-bit colors and specifies 0 for red, green, blue and alpha while it seems to want alpha after all. It is trivial to modify the algorithm but it easily breaks dozens of apps. I need to properly analyse the pixel format table of multiple windows drivers again (I had to do this before but wasn't able to discover a pattern in it) and need to do lots of tests. For now you could add a hack like the one I just added.
http://bugs.winehq.org/show_bug.cgi?id=14975
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #16 from Vittorio D'Argenio inverse@email.it 2008-09-09 18:58:21 --- I tried both hacks....for me, only the first one worked...the quick and dirty hack, while the one from Roderick did not solved the problem. Can I do anything else for help??
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #17 from Jörg Selbach sidolin@gmx.net 2008-09-10 13:05:48 --- Roderick's hack is just a "concept", not a full implementation (i think) ;)
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #18 from Sven Schellack sven.schellack@arcor.de 2008-09-10 13:29:43 --- Both patches don't work for me... tested in the death knight starting area. Shall I provide more WINEDEBUG=+wgl outputs with the patches (seperately of course :-) ) applied?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #19 from Vittorio D'Argenio inverse@email.it 2008-09-10 14:26:16 --- I tried the Borean Tundra mist...maybe we have different video cards I will try to test much more....this graphical glitch is present in a few northrend quests.
(In reply to comment #18)
Both patches don't work for me... tested in the death knight starting area. Shall I provide more WINEDEBUG=+wgl outputs with the patches (seperately of course :-) ) applied?
http://bugs.winehq.org/show_bug.cgi?id=14975
Vittorio D'Argenio inverse@email.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Word of Warcraft 3.01 Beta |Word of Warcraft 3.01 Beta |Wotlk |Wotlk - Screenfog issue
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #20 from Vittorio D'Argenio inverse@email.it 2008-09-12 14:33:49 --- summary changed in Word of Warcraft 3.01 Beta Wotlk - Screenfog issue now is more clear what's about this bug.
http://bugs.winehq.org/show_bug.cgi?id=14975
Vittorio D'Argenio inverse@email.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Word of Warcraft 3.01 Beta |Word of Warcraft 3.01 Beta |Wotlk - Screenfog issue |Wotlk - ChoosePixelFormat | |problem
http://bugs.winehq.org/show_bug.cgi?id=14975
Steve McKnelly denali@shadowforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |denali@shadowforge.net
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #21 from Jörg Selbach sidolin@gmx.net 2008-09-19 11:06:02 --- Created an attachment (id=16162) --> (http://bugs.winehq.org/attachment.cgi?id=16162) Updated hack.
This workaround hack disables all pixel formats without an alpha channel, so you can use a single wine installation for all your apps and just set WINE_WGL_OPENGL_ONLYALPHA_HACK when you want to play World of Warcraft.
$ export WINE_WGL_OPENGL_ONLYALPHA_HACK=1 $ wine /path/to/WoW.exe $ unset WINE_WGL_OPENGL_ONLYALPHA_HACK
or
$ WINE_WGL_OPENGL_ONLYALPHA_HACK=1 wine /path/to/WoW.exe
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #22 from Vittorio D'Argenio inverse@email.it 2008-09-19 18:13:58 --- I tried the updated hack, it work perfectly for me
I compiled the last version (1.1.5) and patched it, the export work like indeed...
thanks ^^
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #23 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-20 14:49:50 --- I did some tests on various windows opengl drivers and tested what the same ChoosePixelFormat call wow makes returns, so one with colorbits=32 and the other bits set to 0 and DoubleBuffering, DrawToWindow, SupportOpenGL and RGBA. In general it returns a format with r=g=b=8, alpha=0 and further the flags that were requested and so now and then even depth and stencil. I have the impression that it might not be the ChoosePixelFormat call which is the problem (unless the driver is doing some evil fixups).
I have the impression that the display driver is doing some evil fixup or so OR it could be that wglChoosePixelFormatARB selects a format with alpha. You would have to hack the code to see whether it is the alpha which matters for the window or for the pbuffer (it selects pixelformat 1 for the window and 9 for a pbuffer).
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #24 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-20 14:52:56 --- Since Jorge his hack worked and mine not I would guess it is related to the wglChoosePixelFormatARB call but for that no alpha is requested either.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #25 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-20 15:18:21 --- Are there also ATI users who have this issue?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #26 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-21 03:25:17 --- Actually the ChoosePixelFormat call can be ignored at all as I think it originates from WineD3D. A long time ago there were other WoW bugs and I remember WoW using ddraw at startup to figure out the amount of videomemory.
http://bugs.winehq.org/show_bug.cgi?id=14975
Tim Ryan timbers2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |timbers2k@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14975
Aigars Mahinovs aigarius@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aigarius@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #27 from Vittorio D'Argenio inverse@email.it 2008-10-13 20:28:22 --- (In reply to comment #25)
Are there also ATI users who have this issue?
I don't have an ati, but I find out that wotlk with opengl don't work at all with an ati. this is the bug http://bugs.winehq.org/show_bug.cgi?id=15449 so I don't think someone can test it right now...
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #28 from Skully skully@gmx.ch 2008-11-09 08:59:15 --- Blizzard "fixed" the problem in the latest version. It just doesnt use the fog-effect anymore in opengl mode atleast. Tried several quests that had the effect before and its gone now.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #29 from Sven Schellack sven.schellack@arcor.de 2008-11-09 09:29:25 --- (In reply to comment #28)
Blizzard "fixed" the problem in the latest version. It just doesnt use the fog-effect anymore in opengl mode atleast. Tried several quests that had the effect before and its gone now.
Just curious: did you test before the beta-servers went down? And the beta was 3.0.2 before shutting down this week while the live servers were 3.0.3 and this effect could only be seen in Northrend and the death knight's starting area...
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #30 from Skully skully@gmx.ch 2008-11-09 11:59:39 --- Yes, i tested it on the last beta build (9155, 9183 is live). Doubt they readded it with the latest live version though.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #31 from Roderick Colenbrander thunderbird2k@gmx.net 2008-11-09 13:45:23 --- Could you add a +wgl log on the version which you think got fixed by blizzard? I like to see if they fixed what I expected to be the bug.
http://bugs.winehq.org/show_bug.cgi?id=14975
Adys adys.wh+winehqdotorg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh+winehqdotorg@gmail.c | |om
--- Comment #32 from Adys adys.wh+winehqdotorg@gmail.com 2008-11-09 13:48:18 --- This isn't possible right now since there's technically no way to reproduce the bug until the WotLK release (the 13th). Though, are you sure they just disabled the effect under OpenGL? I don't recall any error under the Mac OS OpenGL version.
Check if you didn't have ffxSpecial set to 0.
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #33 from Roderick Colenbrander thunderbird2k@gmx.net 2008-11-09 14:02:38 --- The issue was that WoW required an alpha channel for this effect but didn't request one. It would have been a single line fix for WoW its win32 opengl code. The log would show if they fixed this issue which is very easy for me to see.
http://bugs.winehq.org/show_bug.cgi?id=14975
Skully skully@gmx.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skully@gmx.ch
--- Comment #34 from Skully skully@gmx.ch 2009-01-16 16:21:44 --- Tried it with ffxSpecial "1" now but didnt notice any change. Guess blizzard removed it for openGL users.
ffxSpecial wasnt in my Config.wtf before, does it do anything special?
http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #35 from Adys adys.wh+winehqdotorg@gmail.com 2009-01-16 16:30:52 --- (In reply to comment #34)
Tried it with ffxSpecial "1" now but didnt notice any change. Guess blizzard removed it for openGL users.
ffxSpecial wasnt in my Config.wtf before, does it do anything special?
Blizzard indeed removed it for OpenGL. Shame. ffxSpecial is just a special CVar that disables this effect. See http://www.wowprogramming.com/docs/cvars for more.
Please close this bug for now, since there is no way to verify it.
http://bugs.winehq.org/show_bug.cgi?id=14975
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #36 from Roderick Colenbrander thunderbird2k@gmx.net 2009-01-17 04:00:15 --- Closing this bug for now as invalid because nothing has been fixed in Wine and it really looked like it was a bug in WoW.
http://bugs.winehq.org/show_bug.cgi?id=14975
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #37 from Austin English austinenglish@gmail.com 2009-01-17 23:51:42 --- Closing.