https://bugs.winehq.org/show_bug.cgi?id=40983
--- Comment #4 from Xavier Cho mysticfallband@gmail.com --- (In reply to Józef Kucia from comment #2)
The VRamSizeDX9 creates 2048x2048 D3DFMT_A16B16G16R16F textures repeatedly until the memory is exhausted. We allocate system memory for each texture and the system memory allocation eventually fails.
It isn't obvious at all if this is related to your issues with Skyrim. Did you try to set windows version higher than Windows XP for Skyrim?
I tested again with Windows 7 and 10 mode and the result seems to be the same.
With some heavy texture mods, Skyrim constantly freezes with below messages:
err:d3d:wined3d_debug_callback 0x1022b450: "GL_OUT_OF_MEMORY error generated. Failed to allocate CPU memory for buffer object.". err:d3d:wined3d_debug_callback 0x1022b450: "GL_OUT_OF_MEMORY error generated. Failed to allocate memory for buffer object.". err:d3d:buffer_create_buffer_object Failed to bind the VBO with error GL_OUT_OF_MEMORY (0x505)
But at the time of the freeze, nvidia-smi reports the process is using only about half (under 2Gb) of the total video memory.
I attached debug log of the last test using Windows 7 mode.
I thought VRamSizeDX9 problem could be related to this issue because, its the utility created by the ENB mod developer to find out optimal video memory settings to use in Skyrim, and it only reports half of the total video memory I actually have, and my Skyrim actually freezes with out of memory when it consumes more or less the reported amount of memory by the utility.
It might be just a coincidence, but with my limited knowledge, it was the best guess I could make.