https://bugs.winehq.org/show_bug.cgi?id=52355
Bug ID: 52355 Summary: Motor4MX crashes because D3DCompile2 HLSL shader compilation is not yet implemented Product: Wine Version: 7.0-rc4 Hardware: x86-64 URL: http://www.gamepressure.com/download.asp?ID=21182 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d-util Assignee: wine-bugs@winehq.org Reporter: jeremielapuree@yahoo.fr Distribution: Ubuntu
All is said is the title. Console output is short, so I copy it instead of attaching.
wine MotorM4X.exe 0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F9DC 1 C) semi-stub 0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F84C 1 C) semi-stub Creating resource group General Creating resource group Internal Creating resource group Autodetect SceneManagerFactory for type 'DefaultSceneManager' registered. Registering ResourceManager for type Material Registering ResourceManager for type Mesh Registering ResourceManager for type Skeleton MovableObjectFactory for type 'ParticleSystem' registered. OverlayElementFactory for type Panel registered. OverlayElementFactory for type BorderPanel registered. OverlayElementFactory for type TextArea registered. Registering ResourceManager for type Font ArchiveFactory for archive type FileSystem registered. ArchiveFactory for archive type Zip registered. FreeImage version: 3.10.0 This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif, hdr,g3,sgi,exr,j2k,j2c,jp2 DDS codec registering Registering ResourceManager for type HighLevelGpuProgram Registering ResourceManager for type Compositor MovableObjectFactory for type 'Entity' registered. MovableObjectFactory for type 'Light' registered. MovableObjectFactory for type 'BillboardSet' registered. MovableObjectFactory for type 'ManualObject' registered. MovableObjectFactory for type 'BillboardChain' registered. MovableObjectFactory for type 'RibbonTrail' registered. *-*-* OGRE Initialising *-*-* Version 1.4.9 (Eihort) Loading library RenderSystem_Direct3D9 Installing plugin: D3D9 RenderSystem D3D9 : Direct3D9 Rendering Subsystem created. 0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION D3D9: Driver Detection Starts D3D9: Driver Detection Ends Plugin successfully installed Loading library Plugin_OctreeSceneManager Installing plugin: Octree & Terrain Scene Manager Plugin successfully installed Loading library Plugin_ParticleFX Installing plugin: ParticleFX Particle Emitter Type 'Point' registered Particle Emitter Type 'Box' registered Particle Emitter Type 'Ellipsoid' registered Particle Emitter Type 'Cylinder' registered Particle Emitter Type 'Ring' registered Particle Emitter Type 'HollowEllipsoid' registered Particle Affector Type 'LinearForce' registered Particle Affector Type 'ColourFader' registered Particle Affector Type 'ColourFader2' registered Particle Affector Type 'ColourImage' registered Particle Affector Type 'ColourInterpolator' registered Particle Affector Type 'Scaler' registered Particle Affector Type 'Rotator' registered Particle Affector Type 'DirectionRandomiser' registered Particle Affector Type 'DeflectorPlane' registered Plugin successfully installed 0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F84C 1 C) semi-stub 0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F8CC 1 C) semi-stub 0080:fixme:imm:ImeSetActiveContext (0x48af0, 0): stub 0080:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000048AF0): stub 0024:fixme:imm:ImeSetActiveContext (0x679698, 1): stub 0024:fixme:imm:ImmReleaseContext (00030062, 00679698): stub 0024:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented. wine: Unhandled page fault on read access to 00000000 at address 02F0682A (thread 0024), starting debugger... 0108:fixme:imm:ImeSetActiveContext (0x2400f0, 1): stub 0108:fixme:imm:ImmReleaseContext (0001008E, 002400F0): stub
https://bugs.winehq.org/show_bug.cgi?id=52355
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #1 from Austin English austinenglish@gmail.com --- Duplicate. Please attach rather than paste logs in the future.
*** This bug has been marked as a duplicate of bug 51713 ***
https://bugs.winehq.org/show_bug.cgi?id=52355
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- (In reply to Austin English from comment #1)
Duplicate. Please attach rather than paste logs in the future.
*** This bug has been marked as a duplicate of bug 51713 ***
FWIW, the HLSL compiler is a rather awkward case where resolving everything as a duplicate might not be helpful. I.e. it's not implemented at all, but even with basic support implemented, there will still be an awful lot of features that will keep specific games from working.
https://bugs.winehq.org/show_bug.cgi?id=52355
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Zebediah Figura from comment #2)
(In reply to Austin English from comment #1)
Duplicate. Please attach rather than paste logs in the future.
*** This bug has been marked as a duplicate of bug 51713 ***
FWIW, the HLSL compiler is a rather awkward case where resolving everything as a duplicate might not be helpful. I.e. it's not implemented at all, but even with basic support implemented, there will still be an awful lot of features that will keep specific games from working.
Sure, but until we have a basic implementation, we can't know what other features will be needed. If/when an initial implementation lands, we can open new bugs as needed (just like d3d10/etc.)
https://bugs.winehq.org/show_bug.cgi?id=52355
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.
https://bugs.winehq.org/show_bug.cgi?id=52355
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Keywords| |download Status|CLOSED |REOPENED Component|d3d-util |hlsl Version|7.0-rc4 |1.8 Summary|Motor4MX crashes because |Motor4MX crashes due to |D3DCompile2 HLSL shader |HLSL compilation failure |compilation is not yet |(needs 'texCUBE' handling) |implemented | Product|Wine |vkd3d Ever confirmed|0 |1
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- De-duplicating bug to get rid of HLSL collector bug.
With wine-8.13 + external vkd3d-git these are the interesting issues:
0024:err:d3dcompiler:D3DCompile2 <anonymous>:96:20: E5005: Function "texCUBE" is not defined.
-> this bug
0024:err:d3dcompiler:D3DCompile2 <anonymous>:91:1: E5000: syntax error, unexpected KW_DOUBLE
-> will report after this
https://bugs.winehq.org/show_bug.cgi?id=52355
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Submitted something for texCUBE(), https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/314. If it's not using gradient arguments, it should be enough.
https://bugs.winehq.org/show_bug.cgi?id=52355
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- The function is implemented in https://source.winehq.org/git/vkd3d.git/commit/c39c5b3907c9f696c1a0c45fa9081.... Gijs, could you attach problematic shaders here, so we can check if more work is necessary, specifically for texCUBE()?
https://bugs.winehq.org/show_bug.cgi?id=52355
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- I see they are already attached for bug 55448. Marking fixed then.
https://bugs.winehq.org/show_bug.cgi?id=52355
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c39c5b3907c9f696c1a0c45fa90 | |812446bdaef87
https://bugs.winehq.org/show_bug.cgi?id=52355
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.9.
https://bugs.winehq.org/show_bug.cgi?id=52355
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Motor4MX crashes due to |MotorM4X crashes due to |HLSL compilation failure |HLSL compilation failure |(needs 'texCUBE' handling) |(needs 'texCUBE' handling)