[Bug 22762] Multiple DirectX10 games need Texture2D DXGI_FORMAT_R24G8_TYPELESS format support for stencil operations (Battlefield Bad Company 2)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 22 16:38:46 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=22762

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Battlefield Bad Company 2   |Multiple DirectX10 games
                   |tries to use DX10, fails    |need Texture2D
                   |                            |DXGI_FORMAT_R24G8_TYPELESS
                   |                            |format support for stencil
                   |                            |operations (Battlefield Bad
                   |                            |Company 2)

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

I'm refining the summary here to target a specific problem not covered by
existing DX10/11 bugs.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Electronic Arts/Battlefield Bad Company
2

$ WINEDEBUG=+tid,+seh,+relay,+d3d,+dxgi,+d3d10core wine ./BFBC2Game.exe
>>log.txt 2>&1
...
0030:trace:d3d10core:d3d10_device_CreateRenderTargetView Created rendertarget
view 0x1a68c8.
...
0030:fixme:d3d10core:d3d10_device_CreateTexture2D iface 0x16d148, desc
0x221f2c8, data (nil), texture 0x6f77017c partial stub!
...
0030:trace:dxgi:dxgi_device_QueryInterface iface 0x16d130, riid
{3e1ff30b-c951-48c3-b010-0fb49f3dca71}, object 0x221f16c
0030:trace:dxgi:dxgi_device_AddRef 0x16d130 increasing refcount to 4
0030:fixme:dxgi:dxgi_device_create_surface iface 0x16d130, desc 0x221f170,
usage 0, shared_resource (nil), outer 0x1a6910, surface 0x1a6918 partial stub!
...
0030:trace:dxgi:dxgi_device_create_surface Created IDXGISurface 0x1a6958
0030:trace:dxgi:dxgi_device_Release 0x16d130 decreasing refcount to 3
0030:Call
wined3d.wined3d_texture_create(00178070,0221f184,00000001,00000000,001a6910,7c4f9dd4,001a691c)
ret=7c4e22d1
...
0030:fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24G8_TYPELESS
(0x47) in the format lookup table
...
0030:Ret  wined3d.wined3d_texture_create() retval=8876086c ret=7c4e22d1
0030:warn:d3d10core:d3d10_texture2d_init Failed to create wined3d texture, hr
0x8876086c.
0030:trace:dxgi:dxgi_surface_inner_Release 0x1a6958 decreasing refcount to 0.
...
0030:warn:d3d10core:d3d10_device_CreateTexture2D Failed to initialize texture,
hr 0x8876086c.
...
0030:fixme:d3d10core:d3d10_device_CreateShaderResourceView1 iface 0x16d148,
resource (nil), desc 0x221f2b0, view 0x6f770180 stub!
0030:trace:d3d10core:d3d10_device_CreateDepthStencilView iface 0x16d148,
resource (nil), desc 0x221f32c, view 0x2eb58cc.
0030:Call ntdll.RtlAllocateHeap(00110000,00000008,00000024) ret=7c4d8db8
0030:Ret  ntdll.RtlAllocateHeap() retval=001a6910 ret=7c4d8db8
0030:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7c4e57e4
ip=7c4e57e4 tid=0030
0030:trace:seh:raise_exception  info[0]=00000000
0030:trace:seh:raise_exception  info[1]=00000000
0030:trace:seh:raise_exception  eax=00000000 ebx=7c4fa000 ecx=00000000
edx=00000000 esi=0221f2f4 edi=02eb58cc
0030:trace:seh:raise_exception  ebp=0221f278 esp=0221f250 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210202
0030:trace:seh:call_stack_handlers calling handler at 0xb05098 code=c0000005
flags=0
0030:Call msvcr80._except_handler3(0221f1f8,0221fd5c,0221ef2c,0221edbc)
ret=7bc859b9
0030:trace:seh:_except_handler3 exception c0000005 flags=0 at 0x7c4e57e4
handler=0xb05098 0x221ef2c 0x221edbc semi-stub
0030:trace:seh:_except_handler3 level 0 prev -1 filter 0x401e69
0030:Call msvcr80.vsprintf_s(0221ca2c,00000200,013d45c8 "Thread tried to access
an invalid memory address (Address: 0x%08x, Operation: %s)",0221c72c)
ret=01cd854a
0030:Ret  msvcr80.vsprintf_s() retval=00000057 ret=01cd854a
0030:Call KERNEL32.lstrcmpA(013d4c7c "dbghelp.dll",003361dc
"launcher_interface.dll") ret=003320e2
0030:Ret  KERNEL32.lstrcmpA() retval=ffffffff ret=003320e2
0030:Call KERNEL32.LoadLibraryA(013d4c7c "dbghelp.dll") ret=003320fa
0030:Ret  KERNEL32.LoadLibraryA() retval=7e350000 ret=003320fa 
--- snip ---

$ wine --version
wine-1.7.22-109-g35dd553

Regards

-- 
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