https://bugs.winehq.org/show_bug.cgi?id=53442
Bug ID: 53442 Summary: Total War Shogun 2 needs D3DX_FILTER_BOX for memory management. Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: hibbsncc1701@gmail.com Distribution: ---
Total War Shogun 2 uses the D3DX_FILTER_BOX filter to downscale it's textures. Both during normal usage, but more critically, when it's VRAM budget is low or over-committed.
This can be seen on Intel GPUs in the game's stderr output with a line similar to: ---snip--- ** Downsizing Textures, Over Budget by : 115 Mb ---snip---
Followed by (in wine-7.12 or older) or prior (in wine-7.13 or later) multiple fixmes: ---snip--- 0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. ---snip---
See also the attached log from wine-7.13.
As this filter is used for memory management in a 32bit game, it's implementation would help alleviate some OOM errors.
https://bugs.winehq.org/show_bug.cgi?id=53442
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #1 from Paul Gofman pgofman@codeweavers.com ---
See also the attached log from wine-7.13.
As this filter is used for memory management in a 32bit game, it's implementation would help alleviate some OOM errors.
It won’t. The implementation would maybe help downscaled images look nicer, but resampling is performed anyway by the function, just proper filter is not applied.
https://bugs.winehq.org/show_bug.cgi?id=53442
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial Component|d3d |d3d-util Summary|Total War Shogun 2 needs |Total War Shogun 2 needs |D3DX_FILTER_BOX for memory |D3DX_FILTER_BOX |management. | Version|unspecified |7.13 CC| |z.figura12@gmail.com