garrysmod-issues
garrysmod-issues copied to clipboard
GPU load exploaded since the last update
Details
Garry´s Mod increased gpu load a lot since the last update for some models.

Steps to reproduce
Install metrostroi addon to the game. place a 10 signals in render distance.
these models dont have many vertexes or hq textures but even 2 of these props in view can increase gpu load by 5-10 percent AMD Radeon RX 5700 XT 8GB VRAM 1750MHZ
Nothing about the rendering has changed to my knowledge, but okay, what is this "metrostroi addon"? What is the model path I need to spawn?
Possibly related/duplicate? https://github.com/Facepunch/garrysmod-issues/issues/5129
Nothing about the rendering has changed to my knowledge, but okay, what is this "metrostroi addon"? What is the model path I need to spawn?
use the signalling tool to spawn the entites
https://www.mediafire.com/folder/r2njung69jlaa/signals there are the lua files if you wanna check them
https://steamcommunity.com/sharedfiles/filedetails/?id=261801217&searchtext=metrostroi
when one area with those entites is rendered(arround 20 of them (low number of vertexes per model))
when the enites are removed
I am fairly certain its not that model, if there's a GPU load increase.

Like there's next to no difference for me on a 1060 between hundreds of those and 0:

I don't have an AMD GPU to test.
It´s not the models. It´s the entities. check the signalling tool when you have metrostroi installed and spawn a few on the map gm_metrostroi_b50 with the following config :

I am fairly certain its not that model, if there's a GPU load increase.
Like there's next to no difference for me on a 1060 between hundreds of those and 0:
I don't have an AMD GPU to test.
It may be because of a change in how one of the functions in the entites script runs with garry´s mod or it uses outdated methods that are very inefficent since the last update.
I can't get those addons to work, I installed everything and it still errors every time:
