https://bugs.winehq.org/show_bug.cgi?id=39302
Bug ID: 39302 Summary: Multiple D3D example applications crash due to d3dx10_43.dll.D3DX10CreateEffectFromFileW stub (NVIDIA D3D SDK 10 Sparkles, DirectX SDK GPUSpectrogram) Product: Wine Version: 1.7.51 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
continuation of bug 27739
With Mesa: bug 38648
--- snip --- $ wine ./Sparkles.exe ... fixme:d3d10:D3D10CreateDevice1 Ignoring feature level D3D10_FEATURE_LEVEL_10_1. fixme:d3d11:D3D11CoreCreateDevice Ignoring feature levels. fixme:dxgi:dxgi_device_init Ignoring adapter type. ... fixme:d3d11:device_parent_create_swapchain_texture Implement DXGI<->wined3d usage conversion fixme:d3d11:device_parent_create_swapchain_texture device_parent 0x13f920, container_parent 0x176320, wined3d_desc 0x32f7c4, wined3d_texture 0x176f08 partial stub! ... fixme:d3dx:D3DX10CreateEffectFromFileW filename L"..\Source\Sparkles\Sparkles.fx", defines (nil), include (nil), profile "fx_4_0", hlslflags 0x100, fxflags 0, device 0x13f90c, effectpool (nil), pump (nil), effect 0x473ee4, errors 0x32f86c, hresult 0x32f868 wine: Unhandled page fault on read access to 0x00000000 at address 0x4020e7 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x004020e7). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:004020e7 ESP:0032f85c EBP:7bc4aa1c EFLAGS:00210212( R- -- I -A- - ) EAX:00000000 EBX:7bc4a88a ECX:0032f84c EDX:0032f828 ESI:0013f90c EDI:004815e0 ... Backtrace: =>0 0x004020e7 in sparkles (+0x20e7) (0x7bc4aa1c) 1 0xfff0e483 (0x04244c8d) 0x004020e7: movl 0x0(%eax),%ecx Modules: Module Address Debug info Name (128 modules) PE 400000- 480000 Export sparkles ELF 7a800000-7a93d000 Deferred opengl32<elf> -PE 7a840000-7a93d000 \ opengl32 ELF 7b800000-7ba67000 Deferred kernel32<elf> -PE 7b820000-7ba67000 \ kernel32 ELF 7bc00000-7bcfc000 Deferred ntdll<elf> -PE 7bc20000-7bcfc000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7d001000-7d017000 Deferred d3d10_1<elf> -PE 7d010000-7d017000 \ d3d10_1 ELF 7d017000-7d068000 Deferred d3d11<elf> -PE 7d020000-7d068000 \ d3d11 ELF 7d068000-7d0b0000 Deferred d3d10<elf> -PE 7d080000-7d0b0000 \ d3d10 ELF 7d1b5000-7d1df000 Deferred dxgi<elf> -PE 7d1c0000-7d1df000 \ dxgi ELF 7d1df000-7d1f5000 Deferred d3d10core<elf> -PE 7d1e0000-7d1f5000 \ d3d10core ... ELF 7ec86000-7ecb0000 Deferred d3dxof<elf> -PE 7ec90000-7ecb0000 \ d3dxof ELF 7ecb0000-7ed43000 Deferred d3dcompiler_43<elf> -PE 7ecd0000-7ed43000 \ d3dcompiler_43 ELF 7ed43000-7ede6000 Deferred d3dx9_36<elf> -PE 7ed60000-7ede6000 \ d3dx9_36 ELF 7ede6000-7ee00000 Deferred d3dx9_37<elf> -PE 7edf0000-7ee00000 \ d3dx9_37 ELF f4c70000-f4c7e000 Deferred libnss_files.so.2 ELF f4c81000-f4c9f000 Deferred libgcc_s.so.1 ELF f4c9f000-f4ca3000 Deferred libxau.so.6 ELF f4ca3000-f6e70000 Deferred libnvidia-glcore.so.352.21 ELF f6e71000-f6e76000 Deferred libnvidia-tls.so.352.21 ... Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\focht\Downloads\Direct3D\Bin\Sparkles.exe 00000009 0 <== ... --- snip ---
$ sha1sum Sparkles.zip 213b359d2cc65ce44a65d44f28b0046a6804ccfd Sparkles.zip
$ du -sh Sparkles.zip 9.3M Sparkles.zip
$ wine --version wine-1.7.51-181-g8fdcc23
Regards
https://bugs.winehq.org/show_bug.cgi?id=39302
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://developer.download.n | |vidia.com/SDK/10/direct3d/s | |amples.html#Sparkles
https://bugs.winehq.org/show_bug.cgi?id=39302
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39302
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com | |, sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=39302
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |directx-d3dx10
https://bugs.winehq.org/show_bug.cgi?id=39302
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=39302
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3dx10_43/d3dx10_43_m...
--- snip --- 81 HRESULT WINAPI D3DX10CreateEffectFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines, 82 ID3D10Include *include, const char *profile, UINT hlslflags, UINT fxflags, ID3D10Device *device, 83 ID3D10EffectPool *effectpool, ID3DX10ThreadPump *pump, ID3D10Effect **effect, ID3D10Blob **errors, 84 HRESULT *hresult) 85 { 86 FIXME("filename %s, defines %p, include %p, profile %s, hlslflags %#x, fxflags %#x, " 87 "device %p, effectpool %p, pump %p, effect %p, errors %p, hresult %p\n", 88 debugstr_w(filename), defines, include, debugstr_a(profile), hlslflags, fxflags, device, 89 effectpool, pump, effect, errors, hresult); 90 91 return E_NOTIMPL; 92 } --- snip ---
--- snip --- $ tree --charset=ANSI Direct3D/ Direct3D/ |-- Bin | |-- Sparklesd.exe | `-- Sparkles.exe |-- Include | |-- DXUT | | |-- Core | | | |-- DXUTenum.h | | | |-- DXUT.h | | | `-- DXUTmisc.h | | `-- Optional | | |-- DXUTcamera.h | | |-- DXUTgui.h | | |-- DXUTres.h | | |-- DXUTsettingsDlg.h | | |-- DXUTShapes.h | | |-- rmxfguid.h | | |-- rmxftmpl.h | | |-- SDKMesh.h | | |-- SDKmesh_old.h | | |-- SDKMisc.h | | |-- SDKsound.h | | `-- SDKwavefile.h | `-- NVUT | |-- nvutcamera.h | |-- nvutmedia.h | |-- nvutmesh.h | |-- NVUTPixelShader.h | |-- NVUTShader.h | |-- NVUTSkybox.h | `-- NVUTVertexShader.h |-- Lib | |-- dxutd.lib | |-- dxut.lib | |-- dxutoptd.lib | |-- dxutopt.lib | |-- nvutd.lib | `-- nvut.lib |-- Media | |-- cat.dds | |-- cat.x | |-- directx.ico | |-- Noise256_01.dds | |-- noise_MetalPaint.dds | |-- SkyCubemap.dds | `-- star1.dds `-- Source |-- Common | |-- FXC.rules | `-- NVUT | `-- nvutskybox.fx `-- Sparkles |-- CarPaint.fxh |-- doc | |-- Sparkles_hi.pdf | |-- Sparkles_large.jpg | |-- Sparkles_medium.jpg | `-- Sparkles_small.jpg |-- randomtable.fxh |-- resource.h |-- Sparkles.cpp |-- Sparkles.fx |-- Sparkles.manifest |-- Sparkles.rc `-- Sparkles.vcproj
13 directories, 51 files --- snip ---
$ sha1sum Sparkles.zip 213b359d2cc65ce44a65d44f28b0046a6804ccfd Sparkles.zip
$ du -sh Sparkles.zip 9.3M Sparkles.zip
$ wine --version wine-4.3-188-gab7756619c
Regards
https://bugs.winehq.org/show_bug.cgi?id=39302
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39302
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d-util
https://bugs.winehq.org/show_bug.cgi?id=39302
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://developer.download.n |https://web.archive.org/web |vidia.com/SDK/10/direct3d/s |/20170616012228/http://deve |amples.html#Sparkles |loper.download.nvidia.com/S | |DK/10/Samples/Sparkles.zip
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Adding stable download link via Internet Archive:
https://web.archive.org/web/20170616012228/http://developer.download.nvidia....
$ sha1sum Sparkles.zip 213b359d2cc65ce44a65d44f28b0046a6804ccfd Sparkles.zip
$ du -sh Sparkles.zip 9.3M Sparkles.zip
$ wine --version wine-6.0-40-g00401d22782
Regards
https://bugs.winehq.org/show_bug.cgi?id=39302
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- The d3dx10* part is now implemented, eb2946addfbb8f6d41c848aa8047b16d98199d54. It requires working d3dcompiler. It seems to work for me for NVIDIA D3D10 demos.
https://bugs.winehq.org/show_bug.cgi?id=39302
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Nikolay Sivov from comment #3)
The d3dx10* part is now implemented, eb2946addfbb8f6d41c848aa8047b16d98199d54. It requires working d3dcompiler. It seems to work for me for NVIDIA D3D10 demos.
With wine-git and native d3dcompiler_47 I get a crash on unimplemented d3dx10_43.dll.D3DX10CreateMesh.
https://bugs.winehq.org/show_bug.cgi?id=39302
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |eb2946addfbb8f6d41c848aa804 | |7b16d98199d54 Resolution|--- |FIXED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Gijs Vermeulen from comment #4)
With wine-git and native d3dcompiler_47 I get a crash on unimplemented d3dx10_43.dll.D3DX10CreateMesh.
Yes, that's another thing we're missing.
https://bugs.winehq.org/show_bug.cgi?id=39302
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.15.