Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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)

Posted

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...)

  • 1 year later...
  • 2 years later...
Posted (edited)

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
Posted

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
Posted (edited)

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 v21H2

Favorite online apps you may like too 😉

Posted

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 v21H2

Favorite online apps you may like too 😉

Posted
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
Posted (edited)
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
Posted

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...)

Posted (edited)
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
Posted
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...)

Posted (edited)
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 v21H2

Favorite online apps you may like too 😉

Posted (edited)

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
Posted
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?

Posted

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...)

  • 2 years later...
Posted (edited)

In the "Max FPS" selection in Settings/Video/Advanced, can we have caps lower than 60 FPS? For example, 30 FPS? This would probably allow for smoother gameplay at the low-end. Other possibilities: 40/48 (factors of 120/144).

I'm guessing this can be done in the config file, but it could be nice to have in the menu.

Edited by jaxa
  • Like 1
Posted

Yes, should be easy enough to modify the GUI. There is no hard-coded limit on the com_maxFPS cvar.

BTW: You don't need to edit the config file, you can just open the console and invoke com_maxFPS 30.

Rev 16795

  • Thanks 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...)

  • 2 years later...
Posted

Just did some testing of my WIP (BHM) and at the one of the worst spots for perf,  @1080p with all settings set to normal and colour bit depth set to 32, I am getting nearly 100fps. other bas spots the FPS is over 144 and inside Im seeing 200+ So this bodes well for low end users I would think.

Test system:

CPU - core i5 4430@3.2ghz
GPU - 2080ti limited to 80% power (only loosing 5-10% fps but saving 70W)
Mem - 16GB DDR3-1333
OS - Win11 24h2

If I had some spare SSD's I would install CatchyOS or Bazzite and see if the perf was any better.

 

  • Like 1

bhm_banner.jpg

Posted (edited)
3 hours ago, Bikerdude said:

If I had some spare SSD's I would install CatchyOS or Bazzite and see if the perf was any better.

Well I think you don't have to install Linux to run TDM. You can just boot (with Linux Live usb) into a Windows pc and run tdm from that Windows ntfs disk. The Windows version of tdm includes the Linux executable I think. At least that's the way on the Linux version, but I thought I tested this method on a Windows pc in the past. Otherwise you could use the standalone version, which is for both systems.

It runs it of the disk (not usb) so should be fast.

Edited by datiswous
Posted
38 minutes ago, datiswous said:

Well I think you don't have to install Linux to run TDM. You can just boot (with Linux Live usb) into a Windows pc and run tdm from that Windows ntfs disk.

Ah yes, I forgot about this!

bhm_banner.jpg

Posted (edited)

So tested 3 distro via ventoy - 

- Bazzite, same fps as windows (100)
- Nobara, same fps as windows (100)
- CatchyOS, more fps then windows (115)

The little i5 4430 is preventing the 2080ti from stretching its legs, but its a reasonable low end perf base to aim for (100fps @ 1080p. The 2080Ti is about the same as a 3070 or a 6800 XT, but the i5 4430 is holding back the 2080ti, so its more like a 3060 12gb etc.

Edited by Bikerdude
  • Like 1

bhm_banner.jpg

  • 2 months later...
  • 1 month later...
Posted (edited)

The best performance tweak so far for me has been upgrading to Linux 7.0!

My main computer setup is about 13 years old, with an AMD Phenom II X6 1090T CPU and an ATI Radeon R9 270X GPU. Starting from Linux kernel 6.19 the legacy 'radeon' drivers for the AMD GCN 1.0 "Southern Islands" or GCN 1.1 "Sea Islands" graphics cards (like the R9) have been replaced by modern 'amdgpu' drivers, with lots of optimizations.

Resource-heavy missions like The Painter's Wife and The Year of the Rat were barely, if at all, playable to me. After I did the OS upgrade today (Ubuntu 25.10 to 26.04), The Painter's Wife seems to run smoothly now. The Year of the Rat still has some lagging but overall the performance has certainly improved.

Heck, I can now even watch TDM playthroughs on YouTube on 4K without stuttering! 😉 Before only a miserable 720p was about the limit...

Thus, if you happen to have a legacy Linux pc with an old Radeon GPU: upgrading to Linux 7.0 is strongly recommended!

Edited by Kaaiman
  • Like 2

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.

  • Recent Status Updates

    • datiswous

      So on a regular basis I try to start building something in Darkradiant but very quickly I loose interest and give up.
      I tend to
      create a room, position an ai in it (or first ai, then room, probably better) put a light in it Put some stuff in it test the room in tdm Now I had this new idea:
      Start of with a gigantic room. To skip the importance of sealing for the time being and to think broader than one room. Then just use ground without wall, just to visualise the structure of the level.  Then just use prefab walls and other elements (arches, etc.). Just building area's that aren't enclosed. I can always close them at a later point. Maybe this is all very logical from a mappers perspective, but tdm is the first game where I have done any kind of real mapping and I always stop at the start. It just takes too long to make something exciting.
      I want to build something at some point, because over time I accumulated lots of ideas.
      · 1 reply
    • MayheM

      It would be nice to have a link to the forum thread of a mission in download section, rather than having to search for it manually, like on Thief Guild.
      · 1 reply
    • taffernicus

      Anaglypta , floral and damask wallpaper look great in older homes 
      It’s rare to see anyone using “shader not found” wallpaper in their house

       
      · 0 replies
    • Ansome

      Terribly difficult juggling map designing with work, but I'm still alive and chipping away at something very special. I'm actually making a collaboration of sorts with a friend, I make the map itself and he acts as my "Chief Scope Creep Consultant" that checks in every so often to make sure this project isn't getting out of hand. It's a good system!
      · 1 reply
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 6 replies
×
×
  • Create New...