[Bug 18640] .NET Framework 3.x/4.x WPF Media Integration Layer requires IDirect3D9ExImpl_EnumAdapterModesEx implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 3 06:53:34 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=18640

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|.NET 3.0 WPF MILCore (Media |.NET Framework 3.x/4.x WPF
                   |Integration Layer) requires |Media Integration Layer
                   |IDirect3D9Ex for HW         |requires
                   |accelerated support         |IDirect3D9ExImpl_EnumAdapte
                   |                            |rModesEx implementation

--- Comment #32 from Anastasius Focht <focht at gmx.net> 2012-05-03 06:53:34 CDT ---
Hello,

still a major issue for all WPF based apps.
Refining summary to better target the stub.

An implementation of IDirect3D9ExImpl_EnumAdapterModesEx certainly helps.
Sadly Louis seems no longer active .. if someone wants to continue.

It will later run into the SetPixelFormat -> SendMessage deadlock reported in
my comment #6 which should be a separate bug:

--- snip ---
Wine-dbg>bt 0x30
Backtrace:
=>0 0xf772d42e __kernel_vsyscall+0xe() in [vdso].so (0x0303d2b0)

  1 0xf759485b __libc_read+0x4a() in libpthread.so.0 (0x0303d2b0)

  2 0x7bc7d889 wait_reply+0x33(cookie=0x303d494)
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:807] in ntdll
(0x0303d2b0)

  3 0x7bc7e91d NTDLL_wait_for_multiple_objects+0x1e5(count=0x1,
handles=0x303d558, flags=0x4, timeout=(nil), signal_object=0x0(nil))
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:1122] in ntdll
(0x0303d4d0)

  4 0x7bc7ea01 NtWaitForMultipleObjects+0x67(count=0x1, handles=0x303d558,
wait_all=0, alertable=0, timeout=(nil))
[/home/focht/projects/wine/wine-git/dlls/ntdll/sync.c:1160] in ntdll
(0x0303d520)

  5 0x7b871ccc WaitForMultipleObjectsEx+0x137(count=0x1, handles=0x303d788,
wait_all=0, timeout=0xffffffff, alertable=0)
[/home/focht/projects/wine/wine-git/dlls/kernel32/sync.c:188] in kernel32
(0x0303d670)

  6 0x7ea0f7ea X11DRV_MsgWaitForMultipleObjectsEx+0xed(count=0x1,
handles=0x303d788, timeout=0xffffffff, mask=0x40, flags=0)
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/event.c:472] in winex11
(0x0303d6b0)

  7 0x7ec316da wait_message+0x41(count=0x1, handles=0x303d788,
timeout=0xffffffff, mask=0x40, flags=0)
[/home/focht/projects/wine/wine-git/dlls/user32/winproc.c:1126] in user32
(0x0303d6f0)

  8 0x7ebf1869 wait_message_reply+0xf9(flags=0)
[/home/focht/projects/wine/wine-git/dlls/user32/message.c:2897] in user32
(0x0303d7b0)

  9 0x7ebf1f7e send_inter_thread_message+0xf2(info=0x303d888,
res_ptr=0x303d844)
[/home/focht/projects/wine/wine-git/dlls/user32/message.c:3038] in user32
(0x0303d810)

  10 0x7ebf222d send_message+0x249(info=0x303d888, res_ptr=0x303d8b4,
unicode=0x1) [/home/focht/projects/wine/wine-git/dlls/user32/message.c:3101] in
user32 (0x0303d870)

  11 0x7ebf271d SendMessageW+0x53(hwnd=0x2005c, msg=0x80001001, wparam=0x75,
lparam=0) [/home/focht/projects/wine/wine-git/dlls/user32/message.c:3278] in
user32 (0x0303d8c0)

  12 0x7ea2f384 internal_SetPixelFormat+0x1df(physDev=0x1b0868,
iPixelFormat=0x1, ppfd=(nil))
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/opengl.c:1661] in winex11
(0x0303d960)

  13 0x7ea2f857 X11DRV_SetPixelFormat+0xc7(dev=0x1b0868, iPixelFormat=0x1,
ppfd=(nil)) [/home/focht/projects/wine/wine-git/dlls/winex11.drv/opengl.c:1721]
in winex11 (0x0303d9a0)

  14 0x7eb1b635 SetPixelFormat+0xcf(hdc=0x3a8, iPixelFormat=0x1, ppfd=(nil))
[/home/focht/projects/wine/wine-git/dlls/gdi32/painting.c:542] in gdi32
(0x0303d9f0)

  15 0x7ddcc6e6 context_set_pixel_format+0x59(gl_info=0x1c16a8, dc=0x3a8,
format=0x1) [/home/focht/projects/wine/wine-git/dlls/wined3d/context.c:725] in
wined3d (0x0303da40)

  16 0x7ddcf1a9 context_create+0x57c(swapchain=0x1fa968, target=0x1fb000,
ds_format=0x1cfe78)
[/home/focht/projects/wine/wine-git/dlls/wined3d/context.c:1373] in wined3d
(0x0303dc80)

  17 0x7de984ac swapchain_init+0x76f(swapchain=0x1fa968,
surface_type=WINED3D_SURFACE_TYPE_OPENGL, device=0x1e4990, desc=0x303df70,
parent=0x1e43e8, parent_ops=0x7e0d3508)
[/home/focht/projects/wine/wine-git/dlls/wined3d/swapchain.c:1011] in wined3d
(0x0303ded0)

  18 0x7de98da4 wined3d_swapchain_create+0x133(device=0x1e4990, desc=0x303df70,
surface_type=WINED3D_SURFACE_TYPE_OPENGL, parent=0x1e43e8,
parent_ops=0x7e0d3508, swapchain=0x1e43f0)
[/home/focht/projects/wine/wine-git/dlls/wined3d/swapchain.c:1156] in wined3d
(0x0303df40)

  19 0x7e0bd654 swapchain_init+0x108(swapchain=0x1e43e8, device=0x1e2b20,
present_parameters=0x303e058)
[/home/focht/projects/wine/wine-git/dlls/d3d9/swapchain.c:283] in d3d9
(0x0303dfc0)

  20 0x7e0bd823 d3d9_swapchain_create+0xb2(device=0x1e2b20,
present_parameters=0x303e058, swapchain=0x303e054)
[/home/focht/projects/wine/wine-git/dlls/d3d9/swapchain.c:327] in d3d9
(0x0303e020)

  21 0x7e0b6a81 device_parent_create_swapchain+0x126(device_parent=0x1e2b24,
desc=0x1e4378, swapchain=0x303e0e0)
[/home/focht/projects/wine/wine-git/dlls/d3d9/device.c:3326] in d3d9
(0x0303e0b0)

  22 0x7dddd5f3 wined3d_device_init_3d+0x21f(device=0x1e4990,
swapchain_desc=0x1e4378)
[/home/focht/projects/wine/wine-git/dlls/wined3d/device.c:1242] in wined3d
(0x0303e180)

  23 0x7e0b7250 device_init+0x687(device=0x1e2b20, parent=0x1c0da8,
wined3d=0x1c1678, adapter=0, device_type=D3DDEVTYPE_HAL, focus_window=0x2005c,
flags=0x456, parameters=0x303e68c, mode=(nil))
[/home/focht/projects/wine/wine-git/dlls/d3d9/device.c:3475] in d3d9
(0x0303e390)

  24 0x7e0b9538 IDirect3D9ExImpl_CreateDeviceEx+0x16b(iface=0x1c0da8,
adapter=0, device_type=D3DDEVTYPE_HAL, focus_window=0x2005c, flags=0x456,
parameters=0x303e68c, mode=(nil), device=0x303e544)
[/home/focht/projects/wine/wine-git/dlls/d3d9/directx.c:544] in d3d9
(0x0303e410)

  25 0x532413be in milcore (+0xb13bd) (0x0303e54c)
...
--- snip ---

$ wine --version
wine-1.5.3-101-g9c19ba6

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list