https://bugs.winehq.org/show_bug.cgi?id=56627
Bug ID: 56627 Summary: Any heavy-load DirectX application crashes at startup due to lack of GL memory Product: Wine Version: 9.7 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com
There is a regression after patch f6a1844dbed91b441ad69e7b15b5be242d063e87 Now I get GL_OUT_OF_MEMORY errors mostly in all D3D applications.
Note this regression is only applied to WineD3D on Windows 2000/XP/2003 x86.
For example Far Cry 3:
E:\Games\Far Cry 3_EN\bin>farcry3_d3d11.exe 0a44:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x40000000. 0a44:fixme:d3d11:d3d10_device_GetCreationFlags iface 09CFEE9C stub! 0a44:fixme:d3d11:d3d10_multithread_SetMultithreadProtected iface 09CFEEA0, enable 0x1 stub! 0a44:fixme:dxgi:dxgi_output_GetDisplayModeList iface 09D2F708, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0x1, mode_count 0576F414, modes 00000000 partial stub! 0a44:fixme:dxgi:dxgi_output_GetDisplayModeList iface 09D2F708, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0x1, mode_count 0576F414, modes 03346BB0 partial stub! 0a44:fixme:d3d:wined3d_check_device_multisample_type multisample_type 24 not handled yet. 0a44:fixme:d3d11:d3d11_device_CheckFeatureSupport Returning fake threading support data. 0a70:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 0a70:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 0a70:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 0a70:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 0a70:fixme:d3d:create_texture_view Depth slice (0-1) not supported. 0a3c:fixme:dxgi:wined3d_bind_flags_from_dxgi_usage Unhandled DXGI usage 0x40. 0a74:err:d3d:wined3d_debug_callback 062AB3C0: "Unknown internal debug message. The NVIDIA OpenGL driver has encountered\nan out of memory error. This application might\nbehave inconsistently and fail. ". 0a74:err:d3d:wined3d_debug_callback 062AB3C0: "GL_OUT_OF_MEMORY error generated. Out of memory.". 0a3c:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering and Scaling. 0a70:fixme:d3d:wined3d_context_gl_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED (0x8cdd). 0a70:fixme:d3d:context_dump_fbo_attachment GL_DEPTH_ATTACHMENT: 2d texture 108, 1920x1080, 0 samples, format 0x88f0. 0a70:fixme:d3d:context_dump_fbo_attachment GL_STENCIL_ATTACHMENT: 2d texture 108, 1920x1080, 0 samples, format 0x88f0. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT0: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT1: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT2: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT3: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT4: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT5: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT6: NONE. 0a70:fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT7: NONE.