[wined3d] basic memory mamagement

Ivan Gyurdiev ivg2 at cornell.edu
Wed Jul 13 22:55:36 CDT 2005


> This patch should hopefully get Half Life 2, Axis and
> Allies and Kohan 2 working.

I can confirm that this patch gets HL2 past the login screen,
and I can actually start the game! Thanks for all of your work, 
it is much appreciated.

However, HL2 is still awfully slow, and unplayable. It seems like
it runs at .5 fps or so at the moment. I didn't have the patience
to wait for it to get past the initial G-man sequence (which by the way,
is still not shown, like in Cedega - it's a white screen).

I tried turning down the resolution to 640x480, but that actually 
seemed to make it worse (different res. from desktop). 

DirectX is detected at 6.0 by the game (9.0 hardware), and I think 
it hardcodes the memory to 64MB of video ram (see messages).

Anyway, it seems to constantly be calling this - there are
thousands of those, and this is by far the most common message:
fixme:d3d_draw:drawStridedSlow Blending not supported yet
fixme:d3d_draw:drawStridedSlow Blending not supported yet
fixme:d3d_draw:drawStridedSlow Blending not supported yet
fixme:d3d_draw:drawStridedSlow Blending not supported yet

If I filter those out, I can see the SetRenderState unimplemented
messages again (see d3d bug), and also:

fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is
nonexistent at the moment!
fixme:d3d:IWineD3DImpl_GetDeviceCaps Caps support for directx9 is
nonexistent at the moment!
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x7ff6bc30) : stub,
emulating 64Mib for now, returning 64Mib

....

fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x7ff6bc30) : stub
fixme:wave:DSD_CreateSecondaryBuffer
(0x7c939db8,0x7fcae404,8,0,0x7c949fd4,0x7c94a0c4,0x7c949fb0): stub
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:d3d_decl:IWineD3DVertexDeclarationImpl_SetDeclaration Parsing
declatation 9
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:vxd:VXD_Open Unknown/unsupported VxD L"gdperf.vxd". Try setting
Windows version to 'nt40' or 'win31'.
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x7ff6bc30) : stub
fixme:d3d:IWineD3DResourceImpl_SetPriority (0x741ec4b0) : stub
fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x7ff6bc30) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x7ffc9978) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x7ffc9978) : stub
fixme:d3d_decl:IWineD3DVertexDeclarationImpl_SetDeclaration Parsing
declatation 9
fixme:d3d_decl:IWineD3DVertexDeclarationImpl_SetDeclaration Parsing
declatation 9
fixme:d3d_decl:IWineD3DVertexDeclarationImpl_SetDeclaration Parsing
declatation 9
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x7ffc9978) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x7ffc9978) : stub
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x7ffc9978) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x7ffc9978) : stub
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6bc30) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x7ffc9978) : stub

=============

I also left it playing the initial sequence and went to sleep .. and now
I see it has crashed (runtime error dialog box) with the following
messages:

...

fixme:d3d_draw:drawStridedSlow Blending not supported yet
fixme:d3d_draw:drawStridedSlow Blending not supported yet
fixme:d3d:IWineD3DQueryImpl_GetData (0x74c6f350) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x74c6f540) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74c6f350) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74c6f350) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74e985f8) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74e985f8) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74c6f540) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x74c6f540) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x70c862b0) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x70c862b0) : stub
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 07f5, blocked by 07f4, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x7c9fe8e0 "DSOUND_mixlock"
wait timed out in thread 0031, blocked by 0038, retrying (60 sec)
fixme:d3d:IWineD3DDeviceImpl_TestCooperativeLevel (0x7ff6be70) : stub
fixme:d3d:IWineD3DQueryImpl_GetData (0x7ffc9bb8) : stub
fixme:d3d:IWineD3DQueryImpl_Issue (0x7ffc9bb8) : stub
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 07f6, blocked by 07f5, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x7c9fe8e0 "DSOUND_mixlock"
wait timed out in thread 0031, blocked by 0038, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 07f7, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x762200 "x11drv_main.c:
X11DRV_CritSection" wait timed out in thread 07f6, blocked by 0031,
retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x762200 "x11drv_main.c:
X11DRV_CritSection" wait timed out in thread 0031, blocked by 07f6,
retrying (60 sec)
wine: Unhandled exception (thread 07f7), starting debugger...
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 48
8444") (31)
Read the Wine Developers Guide on how to set up winedbg or another
debugger
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
/home/phantom/bin/steam: line 7:  4303 Killed                  wine
Steam.exe
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0031, blocked by 07f6, retrying
(60 sec)
[phantom at cobra ~]$ client callback thread error
client callback thread error
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 006a, blocked by 07f6, retrying
(60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x325184 "loader.c:
loader_section" wait timed out in thread 0034, blocked by 07f6, retrying
(60 sec)




More information about the wine-devel mailing list