https://bugs.winehq.org/show_bug.cgi?id=53737
--- Comment #8 from Paul Gofman pgofman@codeweavers.com --- From the log:
010c:err:d3d:wined3d_resource_allocate_sysmem Failed to allocate system memory.
While blaming that commit which increased kernel stack size is not random (it increased the amount of VRAM used per thread), it is noted in the previous comment that it doesn't help anymore on top of current master (so unless it is an unrelated regression some other changes also increased VRAM usage for the game).
It would be great to see the log with the commit reverted on top of git master to confirm if that is the same VRAM exhaustion issue.
I am not sure if we can do anything sensible about it now, I don't have immediate feasible ideas how we can deal with variable kernel stack size (and I think reverting it to the older size will break more than fix). Long term with 32 on 64 that shouldn't be an issue as kernel stack is going to be 64 bit.