https://bugs.winehq.org/show_bug.cgi?id=36796
Bug ID: 36796 Summary: Mozilla Firefox 13.0 crashes on startup if run in Windows Vista+ mode (D3D10CreateEffectFromMemory needs more complete Direct3D 10 DXBC parser) Product: Wine Version: 1.7.20 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx10 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
Henri suggested that Mozilla Firefox in Vista+ mode might be a good candidate to help implementing missing/incomplete DX10/D2D API (https://bugs.winehq.org/show_bug.cgi?id=30966#c5)
Running the browser results in crash:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Mozilla Firefox
$ wine ./firefox.exe ... fixme:win:EnumDisplayDevicesW ((null),0,0x33c030,0x00000000), stub! fixme:d3d10:D3D10CreateDevice1 Ignoring feature level D3D10_FEATURE_LEVEL_10_0. fixme:dxgi:dxgi_device_init Ignoring adapter type. fixme:win:EnumDisplayDevicesW ((null),0,0x33c030,0x00000000), stub! fixme:d3d10:D3D10CreateDevice1 Ignoring feature level D3D10_FEATURE_LEVEL_10_1. fixme:dxgi:dxgi_device_init Ignoring adapter type. fixme:d2d:d2d_factory_init Ignoring factory type and options. fixme:d3d10:D3D10CreateEffectFromMemory data 0x15d07b0, data_size 4833, flags 0, device 0x143cb0, effect_pool (nil), effect 0x428b710 stub! fixme:d3d10:skip_dword_unknown Skipping 4 unknown DWORDs (DXBC header): fixme:d3d10:skip_dword_unknown 0x5af68935 fixme:d3d10:skip_dword_unknown 0x3e88ff30 fixme:d3d10:skip_dword_unknown 0x96a39662 fixme:d3d10:skip_dword_unknown 0x35cbba93 fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (DXBC header): fixme:d3d10:skip_dword_unknown 0x00000001 fixme:d3d10:parse_fx10 Unknown 0: 0 fixme:d3d10:parse_fx10 Unknown 1: 0 fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (local buffer): fixme:d3d10:skip_dword_unknown 0xffffffff fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (variable): fixme:d3d10:skip_dword_unknown 0x00000000 fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (variable): fixme:d3d10:skip_dword_unknown 0x00000000 fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (variable): fixme:d3d10:skip_dword_unknown 0x00000000 fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (local variable): fixme:d3d10:skip_dword_unknown 0xffffffff fixme:d3d10:skip_dword_unknown Skipping 1 unknown DWORDs (local variable): fixme:d3d10:skip_dword_unknown 0xffffffff ... fixme:d3d10:parse_fx10_state_group Failed to find property info for property 0x37. err:d3d10:parse_fx10_local_variable Failed to read property list. err:d3d10:D3D10CreateEffectFromMemory Failed to parse effect fixme:dbghelp:elf_search_auxv can't find symbol in module err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception. --- snip ---
$ sha1sum Firefox\ Setup\ 13.0.exe 9002a5ae41ef54edf378506ae80c934b7e8df7dc Firefox Setup 13.0.exe
$ du -sh Firefox\ Setup\ 13.0.exe 16M Firefox Setup 13.0.exe
$ wine --version wine-1.7.20-122-gd2d62cf
Regards
https://bugs.winehq.org/show_bug.cgi?id=36796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.oldapps.com/fire | |fox.php?old_firefox=7757
https://bugs.winehq.org/show_bug.cgi?id=36796
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=36796
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
--- Comment #1 from super_man@post.com --- I don't see such a crash. I used all windows modes vista and higher in winecfg list.
I am not sure if I am blocked to test this because of
fixme:winediag:dxgi_check_feature_level_support None of the requested D3D feature levels is supported on this GPU with the current shader backend
wine 1.9.12-git.
https://bugs.winehq.org/show_bug.cgi?id=36796
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=36796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/fire |https://filehippo.com/downl |fox.php?old_firefox=7757 |oad_firefox/12455/
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present. Updated download link.
$ sha1sum Firefox\ Setup\ 13.0.exe 9002a5ae41ef54edf378506ae80c934b7e8df7dc Firefox Setup 13.0.exe
$ du -sh Firefox\ Setup\ 13.0.exe 16M Firefox Setup 13.0.exe
$ wine --version wine-3.14-323-g6edf38c205
Regards
https://bugs.winehq.org/show_bug.cgi?id=36796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://filehippo.com/downl |https://ftp.mozilla.org/pub |oad_firefox/12455/ |/firefox/releases/13.0/win3 | |2/en-US/Firefox%20Setup%201 | |3.0.exe
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Updating download links again.
https://ftp.mozilla.org/pub/firefox/releases/13.0/win32/en-US/Firefox%20Setu...
Created Internet Archive/Wayback machine snapshot:
https://web.archive.org/web/20191213192721/https://ftp.mozilla.org/pub/firef...
$ wine --version wine-4.21-413-g750d382f54
Regards
https://bugs.winehq.org/show_bug.cgi?id=36796
maniikarabera@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=36796
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d-util
https://bugs.winehq.org/show_bug.cgi?id=36796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://ftp.mozilla.org/pub |https://web.archive.org/web |/firefox/releases/13.0/win3 |/20191213192721/https://ftp |2/en-US/Firefox%20Setup%201 |.mozilla.org/pub/firefox/re |3.0.exe |leases/13.0/win32/en-US/Fir | |efox%20Setup%2013.0.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-6.0-40-g00401d22782
Regards
https://bugs.winehq.org/show_bug.cgi?id=36796
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 70440 --> https://bugs.winehq.org/attachment.cgi?id=70440 patch
Turns out it's using d3d9 syntax for sampler states, like this:
--- Texture2D tex; Texture2D mask;
sampler sSampler = sampler_state { Filter = MIN_MAG_MIP_LINEAR; Texture = tex; AddressU = Clamp; AddressV = Clamp; }; ---
Skipping it like in attached patch works for me. I'll try to understand how it's meant to work.
https://bugs.winehq.org/show_bug.cgi?id=36796
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e37f781cc2174d3d2a4228098f2 | |b22dcfc573f38 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- This is now fixed with https://source.winehq.org/git/wine.git/?a=commitdiff;h=e37f781cc2174d3d2a422.... There are more issues after initial crash is fixed - it needs SetRawValue, and of course SamplerState.Texture field should actually be used when applying pass state. I have patches for both that will send soon.
https://bugs.winehq.org/show_bug.cgi?id=36796
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.20.