http://bugs.winehq.org/show_bug.cgi?id=25289
Summary: Civilization 4: fails with 'error loading shader libraries' unless native d3dx9_26 is used Product: Wine Version: 1.3.7 Platform: x86 URL: http://download.cnet.com/Civilization-IV-demo/3000-748 9_4-10465206.html OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: wine-bugs@winehq.org
Created an attachment (id=32132) --> (http://bugs.winehq.org/attachment.cgi?id=32132) terminal output
Terminal doesn't d3d/d3dx9 related stuff, but I'll attach it anyway.
http://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #1 from Rico kgbricola@web.de 2011-10-25 06:19:13 CDT --- Created attachment 37118 --> http://bugs.winehq.org/attachment.cgi?id=37118 ID3DXEffectInterface forward patch
This patch forwards the effect interface from version 26 to 36. For details see http://bugs.winehq.org/show_bug.cgi?id=25138#c4 . You should be able to use native and wine's d3dx9_36.dll with that.
http://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #2 from Rico kgbricola@web.de 2011-10-25 06:36:38 CDT --- We may need custom D3DXCreateEffectCompiler* functions and a ID3DXEffectCompiler interface, because ID3DXEffectCompiler_CompileEffect will return the wrong interface.
http://bugs.winehq.org/show_bug.cgi?id=25289
Kyle Auble randomidman48@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |randomidman48@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=25289
Kyle Auble randomidman48@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|randomidman48@yahoo.com |
http://bugs.winehq.org/show_bug.cgi?id=25289
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
--- Comment #3 from lizhenbo litimetal@gmail.com 2013-07-17 21:38:14 CDT --- Is this still a bug in wine 1.6-rc4?
http://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #4 from Rico kgbricola@web.de 2013-07-18 01:40:01 CDT --- Yes, I think so. Nothing had been submitted to fix this, yet.
http://bugs.winehq.org/show_bug.cgi?id=25289
genstorm andreas.sturmlechner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.sturmlechner@gmail. | |com
--- Comment #5 from genstorm andreas.sturmlechner@gmail.com 2013-12-01 08:29:24 CST --- wine-1.7.6: I can run Civilization IV without trouble, with only native d3dx9_36.dll override left.
http://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com --- Still in 1.7.16
https://bugs.winehq.org/show_bug.cgi?id=25289
Goblinstomper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Goblinstomper@gmail.com
--- Comment #7 from Goblinstomper@gmail.com --- Unless I'm doing something wrong here it seems to work even when d3dx9_26 is specifically set to built-in. Wine 1.7.24
https://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #8 from genstorm andreas.sturmlechner@gmail.com --- Yes it works, the only required workaround is d3dx9_36 - but I don't get an error these days, instead missing textures.
https://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #9 from Goblinstomper@gmail.com --- So I tried (only a short time though) with d3dx9_36 set to 'build-in' and didn't notice any missing textures, perhaps it is a driver issue? I'm using OpenGL renderer string: AMD Radeon HD 6700 Series OpenGL core profile version string: 4.3.12874 Core Profile Context 14.10.1006 GLX version: 1.4 OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006 OpenGL shading language version string: 4.30
https://bugs.winehq.org/show_bug.cgi?id=25289
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #10 from Stefan Dösinger stefan@codeweavers.com --- Builtin d3dx9_26 forwards to d3dx9_36. If you want to test the builtin libraries you'll have to set *both* d3dx9_26 and d3dx9_36 to builtin.
If someone confirms this bug is gone with *both* libraries set to builtin we can close it. I doubt it works though - the effect interface is mostly unimplemented
https://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #11 from genstorm andreas.sturmlechner@gmail.com --- That's what I did - both set to built-in, no error as described in $summary, but missing textures as a result.
Lots of these in stderr:
fixme:d3dx:d3dx9_base_effect_get_pass_desc Pixel shader and vertex shader are not supported, yet. fixme:d3dx:ID3DXEffectImpl_IsParameterUsed (0xd559938)->(0xd55ce18, 0xd55c40c): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000004 fixme:d3dx:d3dx9_copy_data Object already initialized! fixme:d3dx:d3dx9_base_effect_get_desc partial stub! fixme:d3dx:d3dx9_parse_array_selector Parse preshader. fixme:d3dx:ID3DXEffectImpl_BeginPass No states applied, yet! fixme:d3dx:ID3DXEffectImpl_CommitChanges (0x1a5286a8)->(): stub
https://bugs.winehq.org/show_bug.cgi?id=25289
--- Comment #12 from Goblinstomper@gmail.com --- (In reply to Stefan Dösinger from comment #10)
Builtin d3dx9_26 forwards to d3dx9_36. If you want to test the builtin libraries you'll have to set *both* d3dx9_26 and d3dx9_36 to builtin.
If someone confirms this bug is gone with *both* libraries set to builtin we can close it. I doubt it works though - the effect interface is mostly unimplemented
When you say that something shouldn't work, I suspect that I'm doing something wrong - I set both in winecfg to build-in. And it works, although on further testing I did encounter what could be described as missing textures (although I'm sure it's not accurate to call it texture): when opening various windows in the interface like the adviser windows the background behind the window becomes single colour instead of the regular game view.
https://bugs.winehq.org/show_bug.cgi?id=25289
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Ken Sharp imwellcushtymelike@gmail.com --- The actual bug is fixed then.
https://bugs.winehq.org/show_bug.cgi?id=25289
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.47.