http://bugs.winehq.org/show_bug.cgi?id=22142
Summary: Black face in SWGemu (Free Star Wars Galaxies) Product: Wine Version: 1.1.41 Platform: x86-64 URL: http://www.swgemu.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: contact@gzahab.fr
Created an attachment (id=27003) --> (http://bugs.winehq.org/attachment.cgi?id=27003) Messages terminal
Hi,
I'm playing on SWGemu and since few weeks, my avatar have a "black face". Before that, all is OK.
I'm on debian testing x64.
I've put some screenshots here : http://www.aurora.fr.cr/forum/viewtopic.php?f=83&t=2400
If you have questions...
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #1 from Wylda wylda@volny.cz 2010-04-15 13:38:54 --- Created an attachment (id=27373) --> (http://bugs.winehq.org/attachment.cgi?id=27373) New console output caused by commit af7dfcd378739127c50aa95ce40b13eb3d1950cf
Hi Gzahab, if you want, you can look how to fill in a bug report for next time;) If that would be too much, please try next time at least leave a note about last working version and link corresponding game to this bug report. This helps a lot. Anyway thank you for your submission.
1. Confirming, please consider UNCONFIRMED->NEW and KEYWORDS: +REGRESSION, +DOWNLOAD
2. I did a regression test between 1.1.37 and 1.1.38:
commit af7dfcd378739127c50aa95ce40b13eb3d1950cf Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Feb 3 18:17:58 2010 +0100
wined3d: Do not preload surfaces when attaching them to an FBO.
Just make sure the texture is allocated, so we have something to attach. Note also that context_apply_attachment_filter_states() runs under the GL lock, so preloading resources is actually unsafe there.
:040000 040000 a5b33a88b1083522cd572e82b6cd2d8ad8a61929 e0f98f84e49335d45deea11a36598e052e9e02d5 M dlls
3. There is another bug report suffering from this commit, see bug 22112.
4. Revert of this patch after git checkout makes that problem go away. (revert on top of wine-1.1.42-310-g0bc218b fails due to other code changes)
5. Adding author of this patch to CC.
--private keyword: bisected
Actual game version needs to inject commit 8d127f3a813700ba7086133fa9ec7cede812f97c for wine version below 1.1.38, otherwise the game launcher remains minimalized in the system try and game can't be launched... For replication of the problem you can use unmodified SWG version (i.e. no need to mess with http://www.swgemu.com). Download 6.2Gigs :-(
Henri's commit causes additional console output, which is attached.
Search engine carrot:
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd)
fixme:d3d:context_check_fbo_status Color attachment 0: (0x71ad4a0) WINED3DFMT_B8G8R8X8_UNORM 256x256
fixme:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glDrawArrays @ drawprim.c / 54
http://bugs.winehq.org/show_bug.cgi?id=22142
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com, | |wylda@volny.cz
http://bugs.winehq.org/show_bug.cgi?id=22142
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Austin English austinenglish@gmail.com 2010-04-15 14:16:08 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2010-04-15 14:25:55 --- (In reply to comment #1)
can't be launched... For replication of the problem you can use unmodified SWG version (i.e. no need to mess with http://www.swgemu.com). Download 6.2Gigs :-(
Probably no proper demo, I guess?
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd) fixme:d3d:context_check_fbo_status Color attachment 0: (0x71ad4a0) WINED3DFMT_B8G8R8X8_UNORM 256x256
Could you create a WINEDEBUG="+seh,+tid,+d3d9,+d3d,+d3d_surface" log both with that patch and without?
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #4 from Wylda wylda@volny.cz 2010-04-15 15:08:47 --- (In reply to comment #3)
Probably no proper demo, I guess?
Yes, it's some kind of online game MMORPG?? There is a free trial for 14days. You can download that 6Gigs:
http://starwarsgalaxies.station.sony.com/players/index.vm
Click "Need to reinstall SWG?" for download of the client which than downloads the game.
Could you create a WINEDEBUG="+seh,+tid,+d3d9,+d3d,+d3d_surface" log both with that patch and without?
Working on it. I hope it will fit bugzilla's size restriction ;)
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #5 from Wylda wylda@volny.cz 2010-04-15 15:30:34 --- (In reply to comment #4)
...I hope it will fit bugzilla's size restriction ;)
It won't fit, so i sent you link privately. It won't stay there for a long time, so doesn't make sense to leave a link here.
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #6 from Wylda wylda@volny.cz 2010-04-17 18:39:26 ---
This regression (bisected) is still present in wine-1.1.43.
BTW: Henri, i don't know if you proceed to the download, but my trial & testing ends up in 10days.
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2010-04-17 18:45:36 --- (In reply to comment #6)
BTW: Henri, i don't know if you proceed to the download, but my trial & testing ends up in 10days.
I've downloaded the logs, but didn't get around to looking at them yet.
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2010-04-20 04:41:44 --- Created an attachment (id=27471) --> (http://bugs.winehq.org/attachment.cgi?id=27471) patch
Does this patch make any difference?
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #9 from Wylda wylda@volny.cz 2010-04-20 13:33:04 --- (In reply to comment #8)
Does this patch make any difference?
Of course it does! :) Black faces are gone and displayed normally. Great work Henri and i still have 8 days of free trials, so there can be another set of tests when this master piece gets merged :-D
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #10 from Wylda wylda@volny.cz 2010-04-20 13:39:22 ---
Not only black faces are gone, but also those newly added console lines like:
fixme:d3d:context_check_fbo_status FBO status
fixme:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION
Perfect!
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #11 from Gzahab contact@gzahab.fr 2010-04-20 15:54:27 --- Hi,
I'm happy to see you've work on my bug, thank you very much.
For information, there is a Server Emulator for this game, than you can download and testing the bug on http://www.swgemu.com.
Excuse me for my poor report.
Then I think you've identify the bug and make a patch. Can I help you or it's OK ?
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #12 from Wylda wylda@volny.cz 2010-04-21 13:52:08 ---
From today test i found out, that this patch was not merged yet.
(In reply to comment #11)
Then I think you've identify the bug and make a patch. Can I help you or it's OK ?
Yes, keep testing and reporting back :)
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #13 from Gzahab contact@gzahab.fr 2010-04-21 16:05:58 --- I'm testing with wine 1.1.40, I've got the same bug. I haven't the bug in 1.1.37. It's confirming the regression.
If I would help you for testing the patch how can I do for having the patch ? (sorry for my newbie question)
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #14 from Wylda wylda@volny.cz 2010-04-21 16:46:33 --- (In reply to comment #13)
I'm testing with wine 1.1.40, I've got the same bug. I haven't the bug in 1.1.37. It's confirming the regression.
Well when this is bisected, then it makes sense to test new relese 1.1.44 (still not available) or 1.1.43+patch from comment #8.
If I would help you for testing the patch how can I do for having the patch ? (sorry for my newbie question)
1. Download and unpack 1.1.43 source
2. apply Henri's patch by command: patch -p1 < henris.patch
3. build wine from sources: ./configure make
4. run the game and test: cd ~/.wine/drive_c/Program\ Files/Sony/Station/Station\ Launcher /path/to/your/patched/wine/dir/wine LaunchPad.exe
If you have more questions, visit http://wiki.winehq.org/FAQ
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #15 from Henri Verbeet hverbeet@gmail.com 2010-04-26 04:06:00 --- Should be fixed by 9308c5499fa1f13ca5fff58f22a95ba60aa54726.
http://bugs.winehq.org/show_bug.cgi?id=22142
--- Comment #16 from Wylda wylda@volny.cz 2010-04-26 14:09:35 ---
Confirming, FIXED in wine-1.1.43-269-g379cf46.
Particular commit (wine-1.1.43-253-g9308c54): http://source.winehq.org/git/wine.git/?a=commit;h=9308c5499fa1f13ca5fff58f22...
Thank you Henri!
http://bugs.winehq.org/show_bug.cgi?id=22142
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Austin English austinenglish@gmail.com 2010-04-26 14:27:12 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=22142
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2010-05-07 13:30:11 --- Closing bugs fixed in 1.1.44.
http://bugs.winehq.org/show_bug.cgi?id=22142
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9308c5499fa1f13ca5fff58f22a | |95ba60aa54726 Version|1.1.41 |1.1.38 Regression SHA1| |af7dfcd378739127c50aa95ce40 | |b13eb3d1950cf