Jump to content
The Dark Mod Forums

Performance Tweaks: for low end PC's


Recommended Posts

One simple thing you could try is to investigate why the linux version performs worse that the windows version on wine. That ain't right. Maybe it's a misconfiguration? Anyway, count me out of testing, i don't want to be bothered, but if you aren't aware of it, well, try it yourself on a old pc (mobile 2008 core 2 duo here)

Link to post
Share on other sites

I think I know the answer to the Window vs Linux disparity. The SIMD assembly doesn't work in Linux as I recall. Tels was gonna address that but he quit the project. Stgatilov did some SIMD fixes for 2.06 so perhaps things will be better in the next release. Ideally we would want to move anything that requires SIMD to the GPU (eg. Skinning )

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to post
Share on other sites
  • 1 year later...

For historical purposes, these cvar changes cause problems with 2.06

 


seta cm_backFaceCull "1"
seta image_useNormalCompression "0"
seta s_force22kHz "1"

Please do not use these changes.
  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to post
Share on other sites
  • 2 years later...

how to disable soft Shadows?

or how to make  soft shadows poor quality?

I found only one variable. which degrades the quality of these shadows, but does not disable them

seta r_softShadowsQuality = 0

but how do I turn them off? I don't see any beauty. I need my graphics card to work faster with the game

Edited by Gadavre
Link to post
Share on other sites

If quality is 0, that is literally soft shadows disabled. There's no further step down, you are already on hard shadows. You could only disable shadows entirely, which will make the gameplay rather difficult...

You can experiment between stencil and shadow maps mode and see which one gives you better performance overall. For shadow maps, there's also an experimental mode by setting r_shadowMapSinglePass 1 that potentially improves their performance.

  • Like 1
Link to post
Share on other sites

Apart from low game settings and tweaks, it should be remembered that if it is Windows, that by default it loads a lot of services that are not necessary, such as drivers for peripherals that do not exist and certain services such as the ability to Hibernate and Index files, among others. Disabling these services can drain a lot of RAM and speed up the system considerably.
Especially Hibernate and Indexing are real RAM and speed eaters.

Years ago I have played TDM and DOOM III in a low end PC, without problems of any kind, naturally in a minimal settings.
It is always preferable to optimize the OS, than to have to do DIY in the game itself, this should only be the last option.

Edited by Zerg Rush
  • Like 1

Sys Specs Laptop Lenovo V145 15AST, AMD A9- 9425 Radeon R5 - 5 cores 3,1 GHz  RAM 8Gb, GPU 1+2 Gb -Win10 64 v1909

Favorite online apps you may like too 😉

Link to post
Share on other sites

I forgot before, in old PCs with few resources, Windows ultimately offers a function called Ready Boost, which allows you to expand the RAM, using a pendrive. It is a feature included since Vista.

https://www.flashbay.com/support/faq/windows-readyboost

This can considerably increase performance on PCs with limited resources, on PCs with more than 4Gb, however the difference is only minimal.

(Disable this function before removing the pendrive, if not, it causes a system crash)

 

Sys Specs Laptop Lenovo V145 15AST, AMD A9- 9425 Radeon R5 - 5 cores 3,1 GHz  RAM 8Gb, GPU 1+2 Gb -Win10 64 v1909

Favorite online apps you may like too 😉

Link to post
Share on other sites
10 hours ago, Zerg Rush said:

It is always preferable to optimize the OS, than to have to do DIY in the game itself, this should only be the last option.

My system is optimized and clean. I recently installed it. That's not the point. The point is to remove unnecessary load for my graphics card. since the card heats up quickly. it is from the Silent category.

  • Like 1
Link to post
Share on other sites
12 hours ago, cabalistic said:

If quality is 0, that is literally soft shadows disabled. There's no further step down, you are already on hard shadows. You could only disable shadows entirely, which will make the gameplay rather difficult...

You can experiment between stencil and shadow maps mode and see which one gives you better performance overall. For shadow maps, there's also an experimental mode by setting r_shadowMapSinglePass 1 that potentially improves their performance.

Thank Cabalistic. I'll experiment with shadows...

 I Set the big mission William Steele 4: The Warrens

and began to play. a play in a big city. For half an hour of the game, the temperature of the video card increased to 70 degrees. I stopped playing because I'm afraid the video card will stop working....  Video card for a quiet computer, no fans.... So I want to disable the effects that I don't notice in the game anyway....

Edited by Gadavre
  • Like 1
Link to post
Share on other sites

r_shadowMapCullFront also improves performance and "sometimes" it even makes things look better because it behaves more like stencil.

Most missions you won't notice the difference except the performance jump.

It has a few quirks with hair-line light leaking from some corner areas but it mostly fine to use.

Just to be clear, both of these suggestions are for the "Maps" mode of shadows ( r_shadows 2 ).

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to post
Share on other sites
5 minutes ago, nbohr1more said:

r_shadowMapCullFront also improves performance and "sometimes" it even makes things look better because it behaves more like stencil.

Most missions you won't notice the difference except the performance jump.

It has a few quirks with hair-line light leaking from some corner areas but it mostly fine to use.

Just to be clear, both of these suggestions are for the "Maps" mode of shadows ( r_shadows 2 ).

Then to optimize the shadows for weak graphics cards, I write in autocommands.cfg:

seta r_softShadowsQuality "0"

seta r_shadows "2"

seta r_shadowMapSinglePass "1"

seta r_shadowMapCullFront  "1"

Is that right?

Edited by Gadavre
  • Like 2
Link to post
Share on other sites
Just now, Gadavre said:

Then to optimize the shadows for weak graphics cards, I write in autocommands.cfg:

seta r_shadows "2"

seta r_shadowMapSinglePass "1"

seta r_shadowMapCullFront  "1"

Is that right?

Yes

  • Like 2

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to post
Share on other sites
8 hours ago, Gadavre said:

My system is optimized and clean. I recently installed it. That's not the point. The point is to remove unnecessary load for my graphics card. since the card heats up quickly. it is from the Silent category.

Precisely when it is newly installed, the first task is always to throw out a lot of garbage and unnecessary things 'to improve the user experience' that always come by default with Windows. Freshly installed Windows is never 'clean'.  Really clean up Windows can increment the performance up to 20-30%, trust me.

A recomended tool (by MS itself) https://wpd.app (free, portable)

Edited by Zerg Rush

Sys Specs Laptop Lenovo V145 15AST, AMD A9- 9425 Radeon R5 - 5 cores 3,1 GHz  RAM 8Gb, GPU 1+2 Gb -Win10 64 v1909

Favorite online apps you may like too 😉

Link to post
Share on other sites

I turned off the soft shadows

r_softShadowsQuality 0

maybe it makes sense to also disable these variables?  After all, they are only needed if soft shadows are enabled

r_nvidiaOverride 1

Note: forces r_useFBO if you have nvidia hardware and soft shadows enabled

 

r_useGLSL 1

note: Default on. Enables the GLSL backend. If off, it is automatically enabled when enabling Soft Shadows.

 

I hope there will be no problems with the game after disabling?

Edited by Gadavre
Link to post
Share on other sites
Just now, cabalistic said:

FBO and GLSL are always active as the old fallbacks have been deprecated.

That is, in version 2.09, they can not be disabled?

How do they affect the performance of the game?

Link to post
Share on other sites

As of 2.07 and newer, FBO and GLSL perform as well or better than ARB and direct render did.

Here is performance comparison for one of the heaviest missions that runs on both old and new TDM versions ( the original un-optimized Return to the City ).

In 2.06 GLSL was slower. In 2.07 GLSL is faster. In 2.08 ARB is gone but GLSL is faster than 2.07 GLSL ...

 

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...