http://bugs.winehq.org/show_bug.cgi?id=24746
Summary: Missing graphics in FBO OffscreenRenderingMode Product: Wine Version: 1.3.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: jkohen@users.sourceforge.net
Telltale Games, in particular the third season of Sam & Max and the Wallace and Gromit games, have missing in-game graphics when OffscreenRenderingMode is set to fbo and the graphics quality is higher than the default. Switching to "backbuffer" gets rid of the problem.
I have an nVidia 9800 GTX+ card and I'm using version 195.36.31 of the proprietary drivers. At the default quality all looks fine, but when I raise the quality to the maximum during in-game sequences I only see a film grain effect. The menus and some other animations (like the space images from Sam & Max 301 intro) display fine, but everything else is completely missing, I assume covered by some shader effect that becomes solid (but I don't know enough to make an educated guess).
On the other hand other games with film grain effects (from other developers), such as Penumbra Overture and Mass Effect, worked fine in fbo mode.
Unfortunately I'm at loss at what kind of detailed information I could provide to help developers diagnose this bug, but I can be of help with minor guidance.
http://bugs.winehq.org/show_bug.cgi?id=24746
--- Comment #1 from Austin English austinenglish@gmail.com 2010-12-10 19:14:34 CST --- A screenshot would be a good start, along with terminal output.
Is this still a problem in 1.3.9?
http://bugs.winehq.org/show_bug.cgi?id=24746
--- Comment #2 from Javier Kohen jkohen@users.sourceforge.net 2010-12-11 02:02:50 CST --- Created an attachment (id=32439) --> (http://bugs.winehq.org/attachment.cgi?id=32439) Default console output in FBO mode
Confirmed with Wine 1.3.9. It seems that the only difference in the default console output between FBO and backbuffer mode is this line, which repeats in FBO mode as long as the game is running, and never appears in the other mode:
err:d3d_surface:surface_blt_fbo >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glBlitFramebuffer() @ surface.c / 3325
Updating to nVidia's driver version 256.53-2 didn't help.
I'm not including a screenshot because it's just a black screen. I've noticed that the Telltale Games logo that appears right after starting the game is a good telltale that the bug is present. For some reason the narrator that comes afterwards is visible, but then the game isn't (this hasn't changed from the behavior I saw originally).
http://bugs.winehq.org/show_bug.cgi?id=24746
aritrabiswas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aritrabiswas@gmail.com
--- Comment #3 from aritrabiswas@gmail.com 2011-01-16 00:51:39 CST --- I have a possible solution. I used to run Steam games fine with "OffscreenRenderingMode" set to "fbo"; the only problem was that anti-aliasing did not work, even with the string "Multisampling" set to "enabled" in regedit. I read up and found out that anti-aliasing causes a black screen with FBO...
So, try using regedit to set the string value "Multisampling" to "disabled" (in the same Direct3D layer where the "OffscreenRenderingMode" value is set).
http://bugs.winehq.org/show_bug.cgi?id=24746
--- Comment #4 from Javier Kohen jkohen@users.sourceforge.net 2011-01-16 02:11:18 CST --- (In reply to comment #3)
I have a possible solution. I used to run Steam games fine with "OffscreenRenderingMode" set to "fbo"; the only problem was that anti-aliasing did not work, even with the string "Multisampling" set to "enabled" in regedit. I read up and found out that anti-aliasing causes a black screen with FBO...
So, try using regedit to set the string value "Multisampling" to "disabled" (in the same Direct3D layer where the "OffscreenRenderingMode" value is set).
That sounds like a workaround, not a solution. I think I'll pass, Wine should be smart enough to do that for the user if what you suggest is how it should work.
http://bugs.winehq.org/show_bug.cgi?id=24746
--- Comment #5 from aritrabiswas@gmail.com 2011-01-17 19:36:30 CST --- (In reply to comment #4)
(In reply to comment #3)
I have a possible solution. I used to run Steam games fine with "OffscreenRenderingMode" set to "fbo"; the only problem was that anti-aliasing did not work, even with the string "Multisampling" set to "enabled" in regedit. I read up and found out that anti-aliasing causes a black screen with FBO...
So, try using regedit to set the string value "Multisampling" to "disabled" (in the same Direct3D layer where the "OffscreenRenderingMode" value is set).
That sounds like a workaround, not a solution. I think I'll pass, Wine should be smart enough to do that for the user if what you suggest is how it should work.
Yeah, it's a workaround, but Multisampling in FBO with Wine just doesn't work. I believe that's something the devs need to be working on, seeing as Cedega has got that down..
http://bugs.winehq.org/show_bug.cgi?id=24746
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmail.com 2011-02-06 17:43:46 CST --- The GL_INVALID_OPERATION error should not appear anymore on the 270 Nvidia drivers. Even then multisampling may not work properly at all (it depends on how games do their rendering). We have to add proper multisampling support to Wine, but it is quite a bit of work.
http://bugs.winehq.org/show_bug.cgi?id=24746
Rafał Mużyło galtgendo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |galtgendo@o2.pl
--- Comment #7 from Rafał Mużyło galtgendo@o2.pl 2011-02-10 07:03:19 CST --- While it's probably not quite related, in bug 25717, one of the problems is similar to this one - fbo vs backbuffer, in favor of backbuffer.
I too have minor floods of err:d3d:loadVertexData >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindBufferARB @ state.c / 4411 (framebuffer) err:d3d:check_fbo_compat >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from Framebuffer format check @ utils.c / 1090 (fbo) (though it seems there are not as many with backbuffer).
However, I've got an ati card and I'm using open drivers. Multisampling seems to make no difference there.
http://bugs.winehq.org/show_bug.cgi?id=24746
Javier Kohen jkohen@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Javier Kohen jkohen@users.sourceforge.net 2011-08-30 11:43:07 CDT --- Wine 1.3.27 adds support for multisampling. Backbuffer doesn't need to be force anymore, the Telltale Games games work with the default of "fbo" now.
I might be biased, but Back to the Future was a bit sluggish in the highest quality settings, and now it seems to run a bit faster.
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=24746
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-09-09 12:54:32 CDT --- Closing bugs fixed in 1.3.28.