https://bugs.winehq.org/show_bug.cgi?id=50927
Bug ID: 50927 Summary: Conspiracy's Clean Slate 64K demo crashes on startup Product: Wine Version: 6.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x006069b6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:006069b6 ESP:0032fe44 EBP:00008000 EFLAGS:00010202( R- -- I - - - ) EAX:00000000 EBX:000001bd ECX:0032fe1c EDX:ffffffff ESI:00000000 EDI:00723688 Stack dump: 0x0032fe44: 00716c94 00000007 0032fea8 00000000 0x0032fe54: 00703971 00000000 f6dc7980 00601091 0x0032fe64: 007231b4 007231b4 00000000 00157018 0x0032fe74: 00000013 0032fed8 f794e9df 00060039 0x0032fe84: 00000002 f799dd60 f799dc04 00010020 0x0032fe94: 00000000 00000003 00000000 0032fec8 Backtrace: =>0 0x006069b6 in cleanslate_amdfix (+0x369b6) (0x00008000) 0x006069b6: movl 0x0(%eax),%ecx Modules: Module Address Debug info Name (32 modules) PE 5d0000- 1259000 Export cleanslate_amdfix PE 7a840000-7a844000 Deferred opengl32
https://bugs.winehq.org/show_bug.cgi?id=50927
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://conspiracy.hu/relea | |se/64k/clean_slate/
https://bugs.winehq.org/show_bug.cgi?id=50927
--- Comment #1 from Artem S. Tashkinov aros@gmx.com --- Still crashes in Wine 6.12.
Backtrace: =>0 0x006069b6 in cleanslate_amdfix (+0x369b6) (0x00008000) 0x006069b6: movl 0x0(%eax),%ecx
https://bugs.winehq.org/show_bug.cgi?id=50927
Nipun Garg nipung271@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nipung271@gmail.com
--- Comment #2 from Nipun Garg nipung271@gmail.com --- The issue is in d3d
0024:Call d3dcompiler_47.D3DCompile(00723688,000001bd,00000000,00000000,00000000,00723888 "a",00723850 "ps_5_0",00008000,00000000,0021fe30,00000000) ret=006069a2
0024:Ret d3dcompiler_47.D3DCompile() retval=80004005 ret=006069a2
D3dCompile() return 80004005. It expects the debug layer will be installed, but it cannot find it.
This is not a fix, but installing d3dcompiler_47.dll from winetricks will install the required runtime and stop the crash.
https://bugs.winehq.org/show_bug.cgi?id=50927
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d-util
https://bugs.winehq.org/show_bug.cgi?id=50927
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 URL|https://conspiracy.hu/relea |https://web.archive.org/web |se/64k/clean_slate/ |/20210807072016/https://con | |spiracy.hu/files/cns%21cns- | |AMDfix.zip Status|UNCONFIRMED |NEW
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Confirming and adding stable download.
$ sha1sum cns!cns-AMDfix.zip 16d18bc07f931feddf6acca85e31bce447754efa cns!cns-AMDfix.zip
$ du -sh cns!cns-AMDfix.zip 72K cns!cns-AMDfix.zip
https://bugs.winehq.org/show_bug.cgi?id=50927
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|d3d-util |hlsl Product|Wine |vkd3d Version|6.5 |1.6 Hardware|x86 |x86-64 Summary|Conspiracy's Clean Slate |Conspiracy's Clean Slate |64K demo crashes on startup |64K demo crashes due to | |missing 'all' handling
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- With vkd3d-git and wine-8.0-169-gaabdb15458a it crashes due to:
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:2:97: E5005: Function "all" is not defined. 0024:err:d3dcompiler:D3DCompile2 0024:warn:d3dcompiler:hresult_from_vkd3d_result Invalid shader bytecode.
Changing title and moving to vkd3d.
https://bugs.winehq.org/show_bug.cgi?id=50927
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- This function is implemented here https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/97. next issue will be about picking correct overloaded function, or any overloaded function at all.
The shader defines user function like this:
int func(int2 arg1, int2 arg2) {}
and calls it with int2 for first argument, but float4 for second. That apparently works fine on Windows, prints a warning about vector truncation but compiles.
https://bugs.winehq.org/show_bug.cgi?id=50927
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |e5b40092c21da07bab2506cadb0 | |fa6c7c5bb2b96 Resolution|--- |FIXED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, https://source.winehq.org/git/vkd3d.git/commit/e5b40092c21da07bab2506cadb0fa....
There are probably more issues ahead, this needs retesting.
https://bugs.winehq.org/show_bug.cgi?id=50927
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |54679
https://bugs.winehq.org/show_bug.cgi?id=50927
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed win 1.7.