Jump to content


Photo

32-bit or 64-bit


  • Please log in to reply
22 replies to this topic

#1 CountMorillonite

CountMorillonite

    Member

  • Member
  • PipPip
  • 46 posts

Posted 09 June 2018 - 12:43 AM

Just a quick question and I apologize if it's been answered plenty of times.

 

I updated from 2.05 to 2.06. When I started the game, the opening menu denotes at the bottom left side that I'm running 2.06/32. I'm assuming that means 32-bit. How do I get the 64-bit build. The executable to install  (tdm_update.exe) doesn't have a 64-bit version. Was there a choice somewhere during the install asking if I wanted 64-bit and i missed it ? 



#2 s.urfer

s.urfer

    Member

  • Member
  • PipPip
  • 65 posts

Posted 09 June 2018 - 02:53 AM

I did run the normal update from 2.05 with tdm_update.exe and got an TheDarkModx64.exe...


  • jaxa likes this

#3 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1517 posts

Posted 09 June 2018 - 02:53 AM

In your main folder you will now find tow exe-files: TheDarkMod.exe and TheDarkMod64.exe. If you use shortcuts just refer to the latter and you will always start the 64-bit version.


  • chakkman, jaxa and Petike the Taffer like this

#4 CountMorillonite

CountMorillonite

    Member

  • Member
  • PipPip
  • 46 posts

Posted 09 June 2018 - 06:46 AM

In your main folder you will now find tow exe-files: TheDarkMod.exe and TheDarkMod64.exe. If you use shortcuts just refer to the latter and you will always start the 64-bit version.

Thanks to both of you. If I had opened my eyes a bit more I would have seen TheDarkModx64.exe file immediately below TheDarkMod.exe file (which was pinned to the taskbar). Delete old shortcut with new shortcut and problem solved. I should have figured that one out myself  :unsure: :D    



#5 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 09 June 2018 - 06:55 AM

I will recommend you test both.

Some have found the 64-bit executable is consistently smoother.

In my testing, however, the most pathological shadow casting scene ( corner view in he mission Rightful Property ) is 17% slower on the 64 bit executable.
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#6 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 943 posts

Posted 09 June 2018 - 08:29 AM

In my testing, however, the most pathological shadow casting scene ( corner view in he mission Rightful Property ) is 17% slower on the 64 bit executable.

Post a screenshot and I'll look into it  :D



#7 Filizitas

Filizitas

    Member

  • Member
  • PipPip
  • 48 posts

Posted 09 June 2018 - 10:26 AM

I tried x64 and my results are poorly.

Its extremly laggy.

 

But thats ok, this will help other peole <3 

My pc may be too old by now...


Can we have more scary Zombie Horror maps?


#8 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 09 June 2018 - 01:08 PM

Post a screenshot and I'll look into it  :D

post-3763-0-40647300-1497586062.jpg
 

Old post with the location (internal dev forum):

http://forums.thedar...e-2#entry407807

 

Edit:

 

Some details:

 

Current 32-bit = 48FPS

Current 64-bit = 39FPS

 

Both with "Shadow Mapping" at 1024 resolution = 70 to 80FPS...


  • stgatilov likes this
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#9 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1264 posts

Posted 09 June 2018 - 01:14 PM

 

Old post with the location (internal dev forum):

http://forums.thedar...e-2#entry407807

Curiously on Intel it's not the slowest view. Looking at the main street from its end so that the fancy mansion is on the left is even slower



#10 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 09 June 2018 - 01:21 PM

I tried x64 and my results are poorly.

Its extremly laggy.

 

But thats ok, this will help other peole <3 

My pc may be too old by now...

 

Did you try our performance tuning guide:

 

http://wiki.thedarkm...formance_Tweaks

 

?


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

http://www.indiedb.c...ds/the-dark-mod

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

#11 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 943 posts

Posted 10 June 2018 - 08:19 AM

Both with "Shadow Mapping" at 1024 resolution = 70 to 80FPS...

Tracked as #4832.

 

The tragedy of shadow volumes is not that they are slow per se, but that their implementation is covered with ifs/branches which are slow on current hardware :o


  • nbohr1more likes this

#12 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1264 posts

Posted 23 June 2018 - 06:11 AM

 

Old post with the location (internal dev forum):

http://forums.thedar...e-2#entry407807

 

Edit:

 

Some details:

 

Current 32-bit = 48FPS

Current 64-bit = 39FPS

 

Both with "Shadow Mapping" at 1024 resolution = 70 to 80FPS...

You might want to check revision 75057506 (but it only affects stencil shadows FWIW)

What is your CPU btw?



#13 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 23 June 2018 - 08:09 AM

OK this is pretty nice:

 

64-bit with r_ignore 0 = 47 to 50FPS

64-bit with r_ignore 1 = 57 to 60FPS

 

32-bit with either r_ignore mode = 38 to 41FPS 

 

32-bit has been lower in SVN for awhile so this is not new change.

I think this slowed the 32-bit side after we branched from 2.06: http://bugs.thedarkm...iew.php?id=4681

 

It would be cool if we could keep performance as high as possible in both but I think the point here is

"considering dropping 32-bit"?

 

I have an i3-2130 3.4ghz CPU with a Geforce GTX 1050 GPU.


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

http://www.indiedb.c...ds/the-dark-mod

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

#14 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1264 posts

Posted 23 June 2018 - 10:08 AM

I have an i3-2130 3.4ghz CPU with a Geforce GTX 1050 GPU.

Hey, that's like the absolute minimum for AVX :rolleyes:  One generation back, and you're out of luck.

I should add the SSE version of it now.

...

Please try revision: 7507. It looks like the data align might have been a problem.



#15 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 23 June 2018 - 05:31 PM

Latest SVN revision with com_tempAllowAVX, both 32-bit and 64-bit have about 55FPS. Nice. :)


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

http://www.indiedb.c...ds/the-dark-mod

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

#16 MayheM

MayheM

    Member

  • Member
  • PipPip
  • 26 posts

Posted 29 June 2018 - 01:05 PM

may i ask what r_ignore is ? Because the 64-bit one seems to be working well (not getting the shitty opengl error) on my pc unlike the 32 bit, which doesn't make sense... :D



#17 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8866 posts

Posted 29 June 2018 - 01:48 PM

may i ask what r_ignore is ? Because the 64-bit one seems to be working well (not getting the shitty opengl error) on my pc unlike the 32 bit, which doesn't make sense... :D

 

r_ignore is just a placeholder cvar.

 

The change has been replaced by com_tempAllowAVX.

 

Requires this build:

 

https://www.moddb.co...tex-buffer-beta

 

What does com_tempAllowAVX do?

 

Replaced standard math routines with "vectorized" (SIMD) AVX math that can perform more operations in parallel.


  • MayheM likes this
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

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

#18 kano

kano

    Member

  • Member
  • PipPip
  • 313 posts

Posted 30 June 2018 - 12:50 AM

TDM as of 2.06 seems to require some DLLs that aren't part of Windows 7. I think it is a C runtime or something. One thing that'd be great is to put a blurb about this on the download page with the correct link to the needed files, as searching for and downloading random DLLs online is a good way to get in trouble (malware).


  • stgatilov likes this

#19 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 943 posts

Posted 30 June 2018 - 01:19 AM

TDM as of 2.06 seems to require some DLLs that aren't part of Windows 7. I think it is a C runtime or something. One thing that'd be great is to put a blurb about this on the download page with the correct link to the needed files, as searching for and downloading random DLLs online is a good way to get in trouble (malware).

It requires only MSVC 2013 redistributable package.

 

Both 32-bit and 64-bit installers of it are automatically downloaded by tdm_updater into your directory. They are named vcredist_x86.exe and vcredist_x64.exe.

Moreover, tdm_update actually runs them silently during installation, although for some people it does not succeed. I would be glad if someone points me out why.

If you have some DLLs missing, simply run these two exe files already present in your TDM directory and make sure they succeed.

 

Never download separate DLLs from internet, you can get into great trouble. Aside from a chance of getting a potentially compromised DLL, you also create DLL hell which will surely bite you in future.

If you want to install the package yourself, go to Microsoft site and download MSVC 2013 redistributable package. Do not download anything from any other site except Microsoft (and TheDarkMod).

 

P.S. Do we have a popular installation FAQ/troubleshooting instructions? We should add an advice to run vcredist_x86.exe and vcredist_x64.exe installers in TDM directory if TDM does not start after install/update, asking for a DLL.



#20 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 943 posts

Posted 30 June 2018 - 01:28 AM

kano, I suggest deleting every single DLL which you have downloaded.

 

If TDM still asks for a DLL after you do it, then:

1. Run tdm_update again, perform a normal update.

2. Attach here the tdm_update.log file located in your TDM installation directory.

3. Go to Windows's %TEMP% directory. It is at C:\Users\GatilovUser\AppData\Local\Temp in my case. You can locate it by opening explorer, and entering %TEMP% into address bar.

   Then find files with name like dd_vcredist_x86_20180630132840.log which were created recently. Attached them/it here too.

4. In order to fix the problem, run the redist executables as suggested above. But I hope you will do steps 1-3 before that --- then hopefully I'll fix the problem for future.



#21 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 643 posts

Posted 30 June 2018 - 04:29 AM

Shall i update my tdm installer and put this  visual c++ package as a checker and requirment?
(info:  topic, moddb)

Edited by freyk, 30 June 2018 - 04:35 AM.


#22 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 943 posts

Posted 30 June 2018 - 10:03 AM

Shall i update my tdm installer and put this  visual c++ package as a checker and requirment?
(info:  topic, moddb)

Yes.

Starting from TDM 2.06, MSVC runtime is consumed as DLLs, which must be distributed separately.

For TDM 2.06, you should install MSVC 2013 runtime.

For TDM 2.07, runtime of MSVC 2017 will be required.



#23 kano

kano

    Member

  • Member
  • PipPip
  • 313 posts

Posted 30 June 2018 - 10:42 AM

Ah, okay. I didn't see the file in there. I just took the TDM installation that I did within Linux and ran it on Windows (to pit the performance of the Linux version against Windows), and was wondering what to do when it said it couldn't find a DLL. That explains why TDM Updater couldn't prompt me to install them. thanks


Edited by kano, 30 June 2018 - 10:47 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users