http://bugs.winehq.org/show_bug.cgi?id=22865
Summary: Split Second demo foggy, doesn't show most of scene Product: Wine Version: 1.2-rc1 Platform: x86 URL: http://www.fileplanet.com/212404/210000/fileinfo/Split /Second-Demo OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Looks like there are some interesting d3d errors in the log, attached.
e.g.
fixme:d3d_texture:basetexture_generate_mipmaps iface 0xb9d50a8 stub! fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #445: fixme:d3d_shader:print_glsl_info_log Fragment info fixme:d3d_shader:print_glsl_info_log ------------- fixme:d3d_shader:print_glsl_info_log 0(8) : warning C7050: "R0.z" might be used before being initialized fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Filters not supported in software blit fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Stretched blit not implemented for bpp 64! fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Filters not supported in software blit fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Stretched blit not implemented for bpp 64! fixme:d3d_shader:shader_glsl_validate_link Program 509 link status invalid. ... fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #509: fixme:d3d_shader:print_glsl_info_log Fragment info fixme:d3d_shader:print_glsl_info_log ------------- fixme:d3d_shader:print_glsl_info_log (0) : error C6001: Temporary register limit of 2 exceeded; 9 registers needed to compile program ...
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #1 from Dan Kegel dank@kegel.com 2010-05-25 19:50:24 --- Created an attachment (id=28289) --> (http://bugs.winehq.org/attachment.cgi?id=28289) Console output of retail version launching into a game, gzipped.
http://bugs.winehq.org/show_bug.cgi?id=22865
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Split Second demo foggy, |Split Second foggy, doesn't |doesn't show most of scene |show most of scene
--- Comment #2 from Dan Kegel dank@kegel.com 2010-05-25 19:51:08 --- Affects both demo and retail version.
http://bugs.winehq.org/show_bug.cgi?id=22865
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-26 12:48:38 --- There are three classes of issues: - GLSL compile error fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #519: fixme:d3d_shader:print_glsl_info_log Fragment info fixme:d3d_shader:print_glsl_info_log ------------- fixme:d3d_shader:print_glsl_info_log (0) : error C6001: Temporary register limit of 2 exceeded; 9 registers needed to compile program
I'm no GLSL guru but apparently the shader is running out of temporaries. I find the limit of 2 quite strange (glsl allows dozens of temporaries on modern GPUs).
- Blt fixmes (actually StretchRect) fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Filters not supported in software blit fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Stretched blit not implemented for bpp 64!
We are hitting a software fall back which is likely the same case as the 'stretch_rect_fbo' patch fixed (the one which added 20% for some game). The patch is safe to use but it didn't enter git yet because the same code can be applied to some other cases in which the patch was potentially unsafe.
- rgb -> srgb download If used a lot (which seems to be the case) can cause big performance issues.
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #4 from Dan Kegel dank@kegel.com 2010-05-26 13:08:58 --- sh winetricks glsl-disable improves things somewhat, you can almost play it then, but there's still a lot missing graphically.
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #5 from Dan Kegel dank@kegel.com 2010-05-26 13:12:35 --- This is on an nvidia gt 240, with drivers 195.36.15, which should be plenty modern. (It also happens on another box with a bigger nvidia card. I haven't tried it on any others yet.)
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #6 from Dan Kegel dank@kegel.com 2010-05-26 13:34:20 --- bug 21253's log also mentions "error C6001: Temporary register limit of 2 exceeded".
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #7 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-26 15:22:07 --- The other bug report should be rechecked on a new Wine version because it lacks a dump of the shader (in older Wine versions a shader wasn't dumped). The issue is likely the same but I can't say whether it is an issue in Wine or a bug in the Nvidia GLSL compiler.
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #8 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-26 15:40:19 --- For the record try this patch: http://www.winehq.org/pipermail/wine-patches/2010-April/087852.html
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #9 from Roderick Colenbrander thunderbird2k@gmail.com 2010-05-26 15:57:16 --- Chris Robinson also tried running this game on IRC and doesn't get the glsl compile error (he gets a warning about R0.z being used before initialized which can be ignored). Next he sees the other two issues. He is using a 8600GT (so similar 3d functionality as your GT240) using 195.36.24. If you are using an older driver check what happens if you update.
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #10 from Dan Kegel dank@kegel.com 2010-05-27 20:13:59 --- Tried 195.36.24 on Gentoo with my gt 240, still shader compiler errors.
http://bugs.winehq.org/show_bug.cgi?id=22865
--- Comment #11 from Andras Kovacs andras@csevego.net 2010-05-30 12:14:11 --- Created an attachment (id=28431) --> (http://bugs.winehq.org/attachment.cgi?id=28431) log with Roderick's patch applied + shader dump
http://bugs.winehq.org/show_bug.cgi?id=22865
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #12 from GyB gyebro69@gmail.com 2012-07-08 12:52:13 CDT --- Visuals in the demo look good to me with recent Wine versions, Nvidia 250 gfx card with the proprietary driver 295.59. I can reproduce the problem with older Wine versions, e.g. Wine-1.2.3 (all white screen during races).
http://bugs.winehq.org/show_bug.cgi?id=22865
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #13 from Andrey Gusev andrey.goosev@gmail.com 2013-10-08 08:24:07 CDT --- Doesn't see anything wrong with 1.7.3 Could be fixed.
http://bugs.winehq.org/show_bug.cgi?id=22865
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from Dan Kegel dank@kegel.com 2013-10-08 08:46:21 CDT --- I don't have time to test, so I'll take everybody's word for it, thanks!
http://bugs.winehq.org/show_bug.cgi?id=22865
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2013-10-11 12:30:49 CDT --- Closing bugs fixed in 1.7.4.