by Elias79 » Tue May 21, 2019 7:10 am
phantombeta wrote:
Nope. Slowness with mods like Brutal Doom has nothing to do with rendering, it's because those mods have to use actors for effects like gore and casings, and actors are extremely expensive. For example, the time taken by the sector-relinking code alone very likely far outweighs the time taken up by rendering all the sprites in the map. Remember, GPUs are made to draw millions of polygons.
GZDoom is CPU-bottlenecked by things like the sector relinking code and the BSP. Unless you enable things like shadowmaps, or have thousands of dynamic lights at once, the GPU barely does anything while the CPU does a ton of work.
Well if this is true, why did someone say that the Open Gl renderer is very very inefficient compared to the software renderer and when i have tested brutal doom etc on a self made map and got more than double the fps in software mode compared to hardware, and while you may be right
to 99% even if the GPU was nearly unused i wrote that the CPU had to work MORE when using the GPU due to having to convert data and prepare it for the GPU, if i misunderstood then please correct me but i know from my own test that software always is faster using some mods, my assumtion is the CPU overhead using the hardware mode as the GPU can't handle doom raw data.
TLDR: Open GL creates more work for CPU
[quote="phantombeta"]
Nope. Slowness with mods like Brutal Doom has nothing to do with rendering, it's because those mods have to use actors for effects like gore and casings, and actors are extremely expensive. For example, the time taken by the sector-relinking code alone very likely far outweighs the time taken up by rendering all the sprites in the map. Remember, GPUs are made to draw millions of polygons.
GZDoom is CPU-bottlenecked by things like the sector relinking code and the BSP. Unless you enable things like shadowmaps, or have thousands of dynamic lights at once, the GPU barely does anything while the CPU does a ton of work.[/quote]
Well if this is true, why did someone say that the Open Gl renderer is very very inefficient compared to the software renderer and when i have tested brutal doom etc on a self made map and got more than double the fps in software mode compared to hardware, and while you may be right
to 99% even if the GPU was nearly unused i wrote that the CPU had to work MORE when using the GPU due to having to convert data and prepare it for the GPU, if i misunderstood then please correct me but i know from my own test that software always is faster using some mods, my assumtion is the CPU overhead using the hardware mode as the GPU can't handle doom raw data.
TLDR: Open GL creates more work for CPU