Page 1 of 1

Video Memory

Posted: Mon May 15, 2017 9:38 pm
by mexmer
How factorio detects video memory?
when i try to set high textures, game complains, that it can't detect video memory, and i should have 2GB VRAM at least. my graphic is R260x with 2GB GDDR5, so i did set it to high anyways, but still it bothers me somewhat.
can't see video ram size in game log tho'.

Re: Video Memory

Posted: Tue May 16, 2017 3:47 am
by Rseding91
For Nvidia/DirectX we use the dxgi.dll and for AMD/openGL we use "GL_NVX_gpu_memory_info". If that's not available then we don't check at all because AMD just crashes when we try to use "WGL_AMD_gpu_association" (as it loves to do for a large amount of people).

Basically, if you have an AMD/ATI card then there's a good chance you get the slower openGL rendering and we can't detect video RAM because it just crashes due to unknown AMD/ATI bugs.

It almost always works perfectly for Nvidia cards regardless of what configuration you have.

Re: Video Memory

Posted: Tue May 16, 2017 6:41 am
by huhn
did you report this to AMD?

on the other side this is a pretty old openGL extention last update is from 2009.

Re: Video Memory

Posted: Tue May 16, 2017 7:08 am
by Rseding91
huhn wrote:did you report this to AMD?

on the other side this is a pretty old openGL extention last update is from 2009.
No, we're hoping the update to a more modern version of OpenGL/DirectX will resolve the problem.

Re: Video Memory

Posted: Tue May 16, 2017 3:30 pm
by mexmer
i see, another AMD specific issue.

TBH. i already deciced that my next card will be NVidia, but until then ...

was just curious. thanks for info.