http://bugs.winehq.org/show_bug.cgi?id=22617
Summary: Texture Problems in Battlefield Bad Company 2 Product: Wine Version: 1.1.43 Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xwillex@gmail.com
http://appdb.winehq.org/objectManager.php?sClass=version&iId=19520
Battlefield Bad Company 2 is completely unplayable because of texture problems.
I've included wine's output while playing the game.
There are some unimplemented d3d features.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #1 from Austin English austinenglish@gmail.com 2010-05-07 12:23:21 --- You forgot to attach the terminal output. A screenshot would also help.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #2 from xwillex@gmail.com 2010-05-07 12:26:01 --- Created an attachment (id=27800) --> (http://bugs.winehq.org/attachment.cgi?id=27800) Output of BFBC2Game.exe
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #3 from xwillex@gmail.com 2010-05-07 12:50:09 --- Screenshots
http://img683.imageshack.us/img683/5449/bfbc2r.png http://img62.imageshack.us/img62/5922/bfbc3.png
http://bugs.winehq.org/show_bug.cgi?id=22617
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2010-05-08 01:39:32 --- What video card and driver version do you have?
http://bugs.winehq.org/show_bug.cgi?id=22617
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-08 16:17:17 --- Well actually the context_check_fbo_status fixmes are only printed in case of a FBO problem which can be an indication of a driver bug. Also because of the FBO problem you get GL_INVALID_FRAMEBUFFER_OPERATION errors. As vitaly asked, what GPU + drivers are you using?
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #6 from xwillex@gmail.com 2010-05-09 08:03:52 --- I have NVIDIA 8800 GTS, driver v195.36.15 (jockey-kde installed this as recommended).
I have also tested v195.36.24 before but the result was same.
http://bugs.winehq.org/show_bug.cgi?id=22617
rocko rockorequin@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rockorequin@hotmail.com
--- Comment #7 from rocko rockorequin@hotmail.com 2010-05-10 06:42:39 --- I have the same texture problems with an nvida 8600 GT card and either the 195.36.15 or 195.36.24 driver.
http://bugs.winehq.org/show_bug.cgi?id=22617
Sébastien Fiévet sebastien.fievet@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastien.fievet@free.fr
--- Comment #8 from Sébastien Fiévet sebastien.fievet@free.fr 2010-05-12 07:36:29 --- same here with a 9800 GT and Nvidia binary driver v195.36.15/24...
http://bugs.winehq.org/show_bug.cgi?id=22617
jorgitorrr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #9 from jorgitorrr@gmail.com 2010-05-22 03:07:22 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=22617
Andras Kovacs andras@csevego.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andras@csevego.net
--- Comment #10 from Andras Kovacs andras@csevego.net 2010-05-22 11:24:46 --- Same here with GTX 260 (Driver: 195.36.15). Latest wine from GIT.
http://bugs.winehq.org/show_bug.cgi?id=22617
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #11 from Austin English austinenglish@gmail.com 2010-05-30 19:44:52 --- I'm seeing this as well in 1.2-rc2, nvidia 9800gtx+ / 256.25 drivers.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #12 from Austin English austinenglish@gmail.com 2010-05-30 19:59:57 --- Forgot to add, sound works, but you can't see what you're doing at all (black screen).
Trying registry overrides now to see if I can find a workaround...
http://bugs.winehq.org/show_bug.cgi?id=22617
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #13 from Dan Kegel dank@kegel.com 2010-05-31 08:48:25 --- There seem to be two problems here: the rendering problems (see screenshot in #3) and a completely black screen (which is what Austin and I see).
You can reproduce this either with the DVD version or the Steam version.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #14 from Austin English austinenglish@gmail.com 2010-05-31 12:31:29 --- (In reply to comment #13)
There seem to be two problems here: the rendering problems (see screenshot in #3) and a completely black screen (which is what Austin and I see).
This is in 1.2-rc2. I just built 1.1.43 and can confirm that the textures show like the screenshot in comment #3.
I'll run a regression test for the black screen that we're getting.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #15 from Austin English austinenglish@gmail.com 2010-05-31 14:12:33 --- (In reply to comment #14)
I'll run a regression test for the black screen that we're getting.
The black screen problem is bug 22983.
http://bugs.winehq.org/show_bug.cgi?id=22617
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22983
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #16 from Austin English austinenglish@gmail.com 2010-05-31 15:15:15 --- Created an attachment (id=28465) --> (http://bugs.winehq.org/attachment.cgi?id=28465) +d3d,+d3d_shader trace, tailed to 200k lines
You can still reproduce this in git by reverting 481aca47ad649297e5435d0f4c7466fd70aa702f to workaround bug 22983.
http://bugs.winehq.org/show_bug.cgi?id=22617
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|22983 | Depends on| |22983
--- Comment #17 from Austin English austinenglish@gmail.com 2010-05-31 15:23:49 --- Got the dependency order wrong..
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #18 from Dan Kegel dank@kegel.com 2010-06-24 13:08:00 --- I see this now. There are LOTS of messages like this:
fixme:d3d:fixed_get_input Unsupported input stream [usage=WINED3DDECLUSAGE_TEXCOORD, usage_idx=8]
which Roderick suggests might be related.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #19 from Roderick Colenbrander thunderbird2k@gmail.com 2010-06-24 14:56:33 --- And there is a glTexImage2D failure which is also important.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #20 from Alan Luth alanluth@gmail.com 2010-10-25 13:25:04 CDT --- Created an attachment (id=31519) --> (http://bugs.winehq.org/attachment.cgi?id=31519) wine output
http://bugs.winehq.org/show_bug.cgi?id=22617
Alan Luth alanluth@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alanluth@gmail.com
--- Comment #21 from Alan Luth alanluth@gmail.com 2010-10-25 14:54:18 CDT --- wine 1.3.5 still issues
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #22 from Alan Luth alanluth@gmail.com 2010-10-30 18:04:10 CDT --- in singleplayer campaign, the intro movie has sound but no graphics, at the end of the intro you start seeing the images with heavy corruption, wine output has been uploaded.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #23 from Alan Luth alanluth@gmail.com 2010-11-01 02:57:56 CDT --- Can anyone test this with an ATI graphics card?
Unfortunatly I don't have one lying around at the moment to test if this bug happens there as well.
Looking at the messages in the output the game seems to try to use ATI specific fourcc formats on Nvidia graphics cards.
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24)WINED3DFORMAT!
and
fixme:d3d:debug_d3dformat Unrecognized 0x42563252 (as fourcc: R2VB) WINED3DFORMAT!
the article about these two formats can be found here: http://developer.amd.com/gpu_assets/Advanced%20DX9%20Capabilities%20for%20AT...
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #24 from Alan Luth alanluth@gmail.com 2010-11-05 05:47:21 CDT --- Seems to be a duplicate of http://bugs.winehq.org/show_bug.cgi?id=16328 for the most part.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #25 from rocko rockorequin@hotmail.com 2010-11-05 20:46:11 CDT --- I agree, it does look like http://bugs.winehq.org/show_bug.cgi?id=16328. The fix for that bug mostly fixes this one. Now that INTZ is supported in the latest wine-git, I can see the scenery and other soldiers and everything! The only problem at this stage is that my gun appears either completely transparent or a as slice of grey metal.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #26 from Alan Luth alanluth@gmail.com 2010-11-06 04:02:25 CDT --- Can you upload (In reply to comment #25)
I agree, it does look like http://bugs.winehq.org/show_bug.cgi?id=16328. The fix for that bug mostly fixes this one. Now that INTZ is supported in the latest wine-git, I can see the scenery and other soldiers and everything! The only problem at this stage is that my gun appears either completely transparent or a as slice of grey metal.
Could you upload the output of wine in a terminal?
Run it with &> log.txt at the end and upload the log file.
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #27 from rocko rockorequin@hotmail.com 2010-11-06 20:47:46 CDT --- Created an attachment (id=31765) --> (http://bugs.winehq.org/attachment.cgi?id=31765) log output from almost working version
Here is a log output. wine can't find the DF24, R2VB, or NULL formats, but from reading the PDF it looks like these are ATI-only extensions that shouldn't affect running the game on an nvidia system.
The graphics problems are inconsistent. After I changed the graphics quality from low to medium, my gun rendered correctly for a time, though now it is always transparent. But there are other (random) glitches, whereby one or more untextured polygons sometimes get drawn (up to 3/4 of the screen can be filled). I have seen these kinds of glitches before in Call of Duty and it was an nvidia driver problem, but that problem was fixed a long time ago (I'm using the current nvidia 260.19.12 driver).
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #28 from Alan Luth alanluth@gmail.com 2010-11-08 03:58:10 CST --- (In reply to comment #27)
Created an attachment (id=31765)
--> (http://bugs.winehq.org/attachment.cgi?id=31765) [details]
log output from almost working version Here is a log output. wine can't find the DF24, R2VB, or NULL formats, but from reading the PDF it looks like these are ATI-only extensions that shouldn't affect running the game on an nvidia system. The graphics problems are inconsistent. After I changed the graphics quality from low to medium, my gun rendered correctly for a time, though now it is always transparent. But there are other (random) glitches, whereby one or more untextured polygons sometimes get drawn (up to 3/4 of the screen can be filled). I have seen these kinds of glitches before in Call of Duty and it was an nvidia driver problem, but that problem was fixed a long time ago (I'm using the current nvidia 260.19.12 driver).
Looking at the output the problem of the glitches could be because of this: fixme:d3d:buffer_PreLoad Too many full buffer conversions, stopping converting
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #29 from Alan Luth alanluth@gmail.com 2010-11-29 13:05:37 CST --- reporting fixed in 1.3.8
http://bugs.winehq.org/show_bug.cgi?id=22617
--- Comment #30 from rocko rockorequin@hotmail.com 2010-11-29 22:05:32 CST --- I still get the glitches rendering the gun with wine 1.3.8 (currently I'm on wine-1.3.8-21-g04278cb) when first loading a level or moving to a differnet sublevel. Changing the resolution while in the game fixes the problem.
However, I guess that's a different bug from this one, which does appear to be fixed in in 1.3.8.
http://bugs.winehq.org/show_bug.cgi?id=22617
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #31 from Dan Kegel dank@kegel.com 2010-11-29 23:14:16 CST --- Marking fixed. Please file a new bug for the gun problem.
http://bugs.winehq.org/show_bug.cgi?id=22617
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2010-12-10 13:46:06 CST --- Closing bugs fixed in 1.3.9.
http://bugs.winehq.org/show_bug.cgi?id=22617
Bug 22617 depends on bug 22983, which changed state.
Bug 22983 Summary: Battlefield Bad Company 2: game only shows black screen http://bugs.winehq.org/show_bug.cgi?id=22983
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED