Page 2 of 2

Re: spring 95 + BA 7.84 and video memory

Posted: 25 Nov 2013, 13:26
by Silentwings
As far as I know, in most cases this is connected to lua memory usage and its only a few cases where it isnt. So I suspect more than one bug here.

Re: spring 95 + BA 7.84 and video memory

Posted: 25 Nov 2013, 14:21
by nixtux
Neonstorm there is if you have a semi recent NVIDIA gpu use
watch nvidia-smi
For me and my 9800gfx I just get basic usage but iirc more recent gpu get a more detailed output

Re: spring 95 + BA 7.84 and video memory

Posted: 25 Nov 2013, 16:12
by jamerlan
I tryed to use gDebugger :-) but it crashes on start for me. Even amd version of gdebugger had the same crash.

But actually Beherith helped me :-)
He suggested to set these options:
AllowDeferredMapRendering = 0
AllowDeferredModelRendering = 0

and I got -200mb to video memory usage (like 700mb with antialiasing set to 4 + enabled LuaShaders support + Bump Mapped water etc). That works for me!

Only BAR uses these features. So I will enable them when I will decide to play BAR or when I will buy better Video card.

Thanks Beherith!

Re: spring 95 + BA 7.84 and video memory

Posted: 25 Nov 2013, 16:36
by luckywaldo7
That is still kind of odd; I am playing with a 560 Ti on Kubuntu and I have no troubles playing at max settings including all deferred rendering enabled.

Re: spring 95 + BA 7.84 and video memory

Posted: 25 Nov 2013, 17:11
by Kloot
The amount of GPU memory used by AllowDeferred*Rendering largely depends on screen resolution. If both are enabled, the total footprint in bytes minus driver overhead is 2 * (6 * sx * sy * 4) which yields 80MB at 1680x1050.

A "Dell U2713H" monitor has a native resolution of 2560x1440, so the raw footprint there would be 168MB when running Spring in fullscreen mode. Subtracting that and other known vidmem consumers still leaves a rather large chunk unaccounted for.