http://bugs.winehq.org/show_bug.cgi?id=32050
Bug #: 32050 Summary: Running Dragon age 2 with High resolution textures results in GL_OUT_OF_MEMORY errors Product: Wine Version: 1.5.15 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com Classification: Unclassified
When Dragon Age 2 is run with the high resolution textures pack (http://social.bioware.com/page/da2-patches), I get GL_OUT_OF_MEMORY errors in about 30 seconds in game and it crashes. Some examples include :
err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexImage2D @ surface.c / 2747 err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glCompressedTexSubImage2DARB @ surface.c / 2364 err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glDrawElementsBaseVertex @ drawprim.c / 48
err:d3d:buffer_create_buffer_object glBufferDataARB failed with error GL_OUT_OF_MEMORY (0x505) err:d3d:buffer_create_buffer_object Failed to create a vertex buffer object. Continuing, but performance issues may occur
Running the game with the highest DirectX9 settings (Medium, Anti-aliasing 16x) and High Res textures disabled works well on my system.
wine 1.5.15 Dragon age 2 1.04 with all DLC Nvidia 550 Ti 2GB Ram Arch Linux X64
http://bugs.winehq.org/show_bug.cgi?id=32050
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Running Dragon age 2 with |Dragon age 2 crashes with |High resolution textures |GL_OUT_OF_MEMORY errors |results in GL_OUT_OF_MEMORY | |errors |
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #1 from Xavier Vachon xvachon@gmail.com 2012-10-24 00:28:19 CDT --- After some extended testing, I also run in these GL_OUT_OF_MEMORY errors with the high resolutions textures disabled, about 10 minutes in game. So the add-on is not the culprit. I edited the title to reflect this.
http://bugs.winehq.org/show_bug.cgi?id=32050
Someone scrimekiler@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scrimekiler@yahoo.fr
--- Comment #2 from Someone scrimekiler@yahoo.fr 2013-05-08 14:16:04 CDT --- (In reply to comment #1)
After some extended testing, I also run in these GL_OUT_OF_MEMORY errors with the high resolutions textures disabled, about 10 minutes in game. So the add-on is not the culprit. I edited the title to reflect this.
How did you get this work ? I installed that texture patch and no way to be able to select high resolution textures... It says it requires DirectX11
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #3 from Xavier Vachon xvachon@gmail.com 2013-05-08 21:58:34 CDT --- (In reply to comment #2)
(In reply to comment #1)
After some extended testing, I also run in these GL_OUT_OF_MEMORY errors with the high resolutions textures disabled, about 10 minutes in game. So the add-on is not the culprit. I edited the title to reflect this.
How did you get this work ? I installed that texture patch and no way to be able to select high resolution textures... It says it requires DirectX11
In the Dragonage2config.exe tool, you can enable or disable high resolution textures even in Directx9 mode. It is possible however that the textures do not change in game if they require the Dx11 renderer.
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2013-05-09 00:55:27 CDT --- Tested again in wine 1.5.29, I still get the GL_OUT_OF_MEMORY issues. Override 'd3dx11_43' is necessary for the game to run. Tried this with GLSL enabled and disabled, same results.
err:d3d:wined3d_debug_callback 0x1ac768: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.". err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glTexImage2D @ ../../../wine/dlls/wined3d/surface.c / 2710 err:d3d:wined3d_debug_callback 0x1ac768: "GL_INVALID_VALUE error generated. Size and/or offset out of range.". err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glCompressedTexSubImage2DARB @ ../../../wine/dlls/wined3d/surface.c / 2331 err:d3d:wined3d_debug_callback 0x1ac768: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.". err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glDrawElementsBaseVertex @ ../../../wine/dlls/wined3d/drawprim.c / 64 err:d3d:wined3d_debug_callback 0x1ac768: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.". err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glDrawElementsBaseVertex @ ../../../wine/dlls/wined3d/drawprim.c / 64 err:d3d:wined3d_debug_callback 0x1ac768: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.". err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glDrawElementsBaseVertex @ ../../../wine/dlls/wined3d/drawprim.c / 64
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #5 from Someone scrimekiler@yahoo.fr 2013-05-09 10:25:54 CDT --- (In reply to comment #4)
Tested again in wine 1.5.29, I still get the GL_OUT_OF_MEMORY issues. Override 'd3dx11_43' is necessary for the game to run. Tried this with GLSL enabled and disabled, same results.
I has this problem but turning the option "StrictDrawOrdering" to "enabled" in Direct3D regisry folder solved the problem for me.
Did you try this ?
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #6 from Someone scrimekiler@yahoo.fr 2013-05-09 10:35:06 CDT ---
In the Dragonage2config.exe tool, you can enable or disable high resolution textures even in Directx9 mode. It is possible however that the textures do not change in game if they require the Dx11 renderer.
Strange, this option doesn't appear for me in the configuration tool. Actually I had to scroll down inside the game to see that option.
But "graphic details" can't be turn to more than "medium" for me.What about you ?
You can also set antialiasing if multisampling wine option is enabled.
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #7 from Xavier Vachon xvachon@gmail.com 2013-05-09 10:48:43 CDT --- (In reply to comment #5)
(In reply to comment #4)
Tested again in wine 1.5.29, I still get the GL_OUT_OF_MEMORY issues. Override 'd3dx11_43' is necessary for the game to run. Tried this with GLSL enabled and disabled, same results.
I has this problem but turning the option "StrictDrawOrdering" to "enabled" in Direct3D regisry folder solved the problem for me.
Did you try this ?
Just tried it, it makes the game last a little longer, but if I change areas the menu takes a long time to appear and it crashes while it loads another area. Not really a workaround for me. UseGLSL either enabled or disabled does not help either. Are you using other overrides?
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #8 from Xavier Vachon xvachon@gmail.com 2013-05-09 10:50:29 CDT --- Created attachment 44409 --> http://bugs.winehq.org/attachment.cgi?id=44409 Dragonage2config.exe High res option
(In reply to comment #6)
In the Dragonage2config.exe tool, you can enable or disable high resolution textures even in Directx9 mode. It is possible however that the textures do not change in game if they require the Dx11 renderer.
Strange, this option doesn't appear for me in the configuration tool. Actually I had to scroll down inside the game to see that option.
But "graphic details" can't be turn to more than "medium" for me.What about you ?
You can also set antialiasing if multisampling wine option is enabled.
You can see the high res option in my screenshot. Indeed, graphic detail is capped to medium on Dx9, High on Dx10 and Very High on Dx11.
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #9 from Someone scrimekiler@yahoo.fr 2013-05-09 11:14:08 CDT ---
Just tried it, it makes the game last a little longer, but if I change areas the menu takes a long time to appear and it crashes while it loads another area. Not really a workaround for me. UseGLSL either enabled or disabled does not help either. Are you using other overrides?
I'm not using any override, but used winetricks to installed the stuff listed on the Wine App Db (corefonts, fontfix, dotnet20, vcrun2005, vcrun2008, d3dx9 and winxp)
I also use "PixelShaderMode" option to "disabled".
I really have no problem of lag, using Antialiasing 4* and high quality textures.
Maybe depends on your video card/driver and wine version ? What are they ?
Mine are wine 1.5.29, Nvidia GT630 with the lastest (proprietary) driver available.
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #10 from Someone scrimekiler@yahoo.fr 2013-05-09 11:16:42 CDT ---
You can see the high res option in my screenshot. Indeed, graphic detail is capped to medium on Dx9, High on Dx10 and Very High on Dx11.
Sorry I had this option enabled, just thought it was a checkbox and didn't found it because of it ^^
Sadly, wine is currently using max directX9, as far as I know. But I think Crossover can now handle directX10, didn't tried yet.Should soon come in wine too.
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #11 from Xavier Vachon xvachon@gmail.com 2013-05-12 01:19:45 CDT --- Some extended testing today. I found that if antialiasing and high-res textures are disabled, I can run the game for a long time (played for an hour straight today, no problem). If AA is enabled, regardless of the value, it runs at some point into GL_OUT_OF_MEMORY errors (15-20 minutes of gameplay with AA8x). Used only d3dx11_43 as an override, no registry keys or other winetricks stuff required.
I also run into a strange AA bug where in Windows 7, DA2 does not allow AA more than 8x, but in Wine, DA2 allows AA to go to 16x. Would be good if somebody could confirm this, but this could maybe explain all the troubles I had to make the game work.
http://bugs.winehq.org/show_bug.cgi?id=32050
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #12 from Jarkko K jarkko_korpi@hotmail.com --- Xavier Wine code sees that you have 1024 memory instead of 2048
http://source.winehq.org/git/wine.git/blob/c73bd869ec24e33d277c087b3836025e7...
Use this hack to change it 2048.
http://wiki.winehq.org/UsefulRegistryKeys
http://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #13 from Jarkko K jarkko_korpi@hotmail.com --- ALSO you can simulate the crash earlier decreasing the value something like 512, 768 or similar.
It should give those errors a lot sooner especially high textures+antialising.
https://bugs.winehq.org/show_bug.cgi?id=32050
--- Comment #14 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=32050
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- No answer since 5 years, no download. This bug can be closed as ABANDONED.
https://bugs.winehq.org/show_bug.cgi?id=32050
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
--- Comment #16 from mirh mirh@protonmail.ch --- This is probably a duplicate of bug 44375 actually