Open oomek opened 6 years ago
I've narrowed this down to 2 flags in the 3D settings on nvidia equipped PCs
OGL_THREAD_CONTROL_STRING defined as Threaded Optimizations in nv control panel It's default value is AUTO and for AM it's set to ON. When you set this to OFF you get 25% less CPU usage
OGL_FORCE_BLIT_STRING defined only in nvidia inspector, but not present in nv control panel It's default value is OFF. When it's ON you get an additional 25% reduction in CPU usage
What I'm thinking is we could create a profile when AM starts and define those flags on nvidia equipped PCs. When we do this it's also good to enable OGL_TRIPLE_BUFFER_STRING to ON I've observed it's beneficial for the reduction of stuttering on image loading, until we find a definite way of asynchronous image loading. I'm still thinking about it and I found out that the initial problems with threads behaving irrationally were caused bu those 2 flags I mentioned set to default values. I have now more control over the OGL commands queuing.