Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

View Stats:
GUI FPS costs
Hi everyone. I am curious about something.
I see very high fps costs for the GUI. I see a difference of ~40FPS in a calmer scene between enabled and disabled GUI. While I can appreciate the effort to troubleshoot and optimize this, I believe there would be a low hanging fruit in a specific optional toggle, that I have an idea about.
Imgur link [imgur.com]
This is an example.
My gut-feeling is the fps drop is related to the construction signs and border element in the gui and maybe also the way the cursor is rendered or how often it checks for the height it is pointed at- because I can see it also renders a sphere where it is pointed to.
Also maybe something about transparency is done at the many "under construction" icons that are drawn over in progress and suspended constructions.

Was this already brought up and investigated?
Could better performance be achieved by optionally disabling the red map border and red/yellow construcion overlays?
Or does the fps cost come from rendering the icons/gui buttons?
< >
Showing 1-8 of 8 comments
Do others see this aswell, or is it a known problem that you already know won't be fixed?
no sorry, i have never seen anything like that personally. I think this is just the building ghosts tanking your fps personally. A reload usually fixes that
Playing with graphics settings i've managed to get a somewheat similar result, so i dont think its a bug on your side, still i'd try steam file verification (remember to backup manually installed mods).

But during normal gameplay the difference in frames should be much smaller. And i believe its mostly the yellow outlines plus the construction icons (might not be icons themselves but the way construction under them is rendered).

What might be tipping the scales here is ultrawide. Im running 16:9, but afaik ultrawides tend to have much higher filed of vision which depending on how the game is coded, might grab proportionally more of the heavy GUI objects to render, creating a bigger gap than what more square resolutions will see. (its a guess thou).
Of course in busier scenes the base fps are unfortunately much lower, but I still observe an almost 10 fps Jump.
Second imgur link [imgur.com]

I can try and compare the same with a lower resolution of course, but in this case I don't think its a problem of the higher FOV causing more DrawCalls- because the geometry to be drawn is the same with and without GUI;

The interface is not that complex, that it should cause such a high drop. 120 to 80 is jarring, also 58 to 47 is quite a hit.

I will try the file verification, thanks.
that's so weird (to me) which settings did you change to reproduce it ling?
What are your pc specs op?
Operating System: Arch Linux
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × Intel® Core™ i5-14600KF
Memory: 64 GiB of RAM (62,6 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4070 Ti SUPER
Mainboard: Gigabyte B760 GAMING X DDR4
Funnily enough I was always having other issue with having a significant fps drop when I turn gui off but I couldn’t do anything about it.
Originally posted by Kaia:
that's so weird (to me) which settings did you change to reproduce it ling?
What are your pc specs op?
Just the graphics, shadows, trees, grass etc. I was checking on an older PC with 1070. At max graphics, which seems close to what OP uses, the difference between gui on and off was not actually that big. Lowering the settings made the gap bigger.

I see OP is running linux, i have WRSR installed on linux with 4070ti as well, gonna check later.
edit: yeah its similar, looking at just grass i can get 220 fps gui on and improve by 250% to 730 fps gui off :)
I wonder if messing with gui image files could do something here.

Originally posted by tranqu:
The interface is not that complex
Its not that its complex its about it existing. The game engine is really old, pradating the modern resource allocation optimizations. What you are seeing was pretty common back then (alongside issues as Lex713 mentions). Still i'd love this to be optimized ofc.
< >
Showing 1-8 of 8 comments
Per page: 1530 50