[DX11] Help regarding Nvidia Profile Inspector (NPI)

Make your game even better
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » March 8th, 2020, 8:28 pm

@faxoli

Anytime! :D
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1350
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » March 8th, 2020, 9:15 pm

@Road Runner & BenganJ - "what other options are there?"
You'll regret asking that, as i've finally decided to say what i've used since DX11 1.35/1.36 to smooth the game out for me, as i get a strange rubber banding effect, sometimes it's like driving a frog down the road). You and many others on here won't like the solution!
The problem with DX11 in ATS/ETS2 is the lack of a vsync triple buffer.
NPI/NCP - Triple buffer - is for OPENGL only,
So, i use "D3DOverrider.exe", this provides a triple buffer for all DX 32bit apps. I've used it for years with GTR/GTL/GTR2.
Have you guessed why you won't like it?...
Run ATS/ETS2 in "32BIT MODE", you'll hear a bing sound telling you triple buffer is enabled. Keep vsync on.
Default game, you all know, this happens:
Vsync on 60Hz = 60 FPS -> game load forces dropped frames and you get 30 FPS - 60 - 30 - choppy.
With triple buffer this happens:
Vsync on 60Hz = 60 FPS -> game load forces dropped frames, 59,58,51, 47 etc but all are tear free and in sync.
Currently where i'm parked in game, here's some stats:
3840x1024 ultra no AA = 94 FPS
3840x1024 highish 2x AA = 53 FPS
3840x1024 highish 4x AA = 28 FPS
So i use vsync"2" for 30 FPS and 2xAA, i could use vsync"1" & frame limiter 40" and still be tear free but i prefer to keep enough gpu in reserve.

I don't run map mods.
I could attach the required file (100k) if allowed or wanted.
NOTE: Don't use Afterburner to monitor FPS whilst using D3DOverrider.exe as it seems to cause game start problems/crash. Steam overlay FPS works fine.
When run in 32bit mode the game has to rebuild the nav cache and so takes longer to load the first time. Running again in 64bit is the same, rebuild nav cache on first run.

Here's the start of my 32bit log for info:
************ : log created on : Sunday March 08 2020 @ 14:45:12
00:00:00.000 : [sys] running on x86 / Windows 7 x64 (version 6.1) / Service Pack 1
00:00:00.000 : [sys] DirectX version : 4.09.00.0904
00:00:00.000 : [sys] Command line: C:/GAMES/Steam/steamapps/common/Euro Truck Simulator 2 /bin/win_x86/eurotrucks2.exe -32bit -nointro -noworkshop -mm_max_resource_size 22 -
mm_max_tmp_buffers_size 336 -homedir C:\GAMES\DRIVING\Euro Truck Simulator 2 Home
00:00:00.000 : [cpu] CPU0: GenuineIntel [Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz] with 4 cores
(4 threads) at ~3300MHz.
00:00:00.000 : [sys] using 3 worker thread(s)
00:00:00.000 : [sys] and 3 worker threads for IO.
00:00:00.000 : [sys] plus 3 real-time worker threads.
00:00:00.000 : [sys] using QPC / TSC invariant timer, frequency 3223046Hz
00:00:00.000 : [mem] physical total: 8190M
00:00:00.000 : [mem] physical avail: 6449M
00:00:00.000 : [mem] virtual total: 4095M
00:00:00.000 : [mem] virtual avail: 3558M
00:00:00.000 : [mem] Trying to allocate memory pool (409600K)
00:00:00.000 : [mem] Allocated 15 temporary loading buffer(s)

x64 memory in log:
00:00:00.002 : [mem] physical total: 8190M
00:00:00.002 : [mem] physical avail: 6586M
00:00:00.002 : [mem] virtual total: 8388607M
00:00:00.002 : [mem] virtual avail: 8388055M
00:00:00.002 : [mem] Trying to allocate memory pool (819200K)
00:00:00.002 : [mem] Allocated 15 temporary loading buffer(s)
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1350
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » March 8th, 2020, 9:22 pm

@faxoli & BenganJ
I assume your saying the default game runs ok with our triple AA solution and only crashes when multiplayer is used?
The AA bit is the only non SCS part of this AA solution.
If you have added AO and all the extras, try just with step 1 NPI values to test.
Create a game shortcut on desktop and add the command lines to that instead of in steam?
Just a thought...
Have you just setup triple AA or setup when i first posted version 1 on 19th Feb? It's now version 2 from 23rd Feb with double FPS so follow step 2 if required.
I only run default game ATS/ETS2 in steam offline mode.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
faxoli
Posts: 8
Joined: March 4th, 2020, 8:26 pm

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by faxoli » March 8th, 2020, 9:59 pm

BenganJ wrote:
March 8th, 2020, 8:15 pm
@faxoli

To get a possibility to see why your Steam Launch Options doesn't work,
I would like you to post your latest game log here. MP is in many ways
on it's own, so there I don't know if those options work. Maybe someone
else knows. Please, game log to get started!
here is the game log
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » March 8th, 2020, 10:22 pm

@faxoli

Okay, I did probably not ask you specifically for the game log from a non-MP session,
but that's what I actually needed. I can't see any reference to the normal execution
of ATS's EXE, so there's NO indication whether MP will get and use the Steam Launch
Options and what's worse, I can't see them at all. So, if you haven't got one already,
please generate a normal session game log and post here.

One other thing though. Checking the MP game log, I can see that you should do the
following change to your global config.cfg file.

Code: Select all

From:
uset r_buffer_page_size "10"
To:
uset r_buffer_page_size "30"
So, first do that change, then generate game log and post again, please!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Road Runner
PPM
Posts: 158
Joined: December 15th, 2018, 1:10 pm
Location: Stafford UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by Road Runner » March 8th, 2020, 11:23 pm

@JHTrucker
Thank you for the information above. First impression is that the actions are fairly similar to Fast Sync in that 'out of sync/incomplete rendered frames' are discarded. Need to think further before a more constructive response. :D
System: Windows 11
Processor: Intel Core i9-9900K @ 4.80GHz
Motherboard: Gigabyte Z390 Aorus Pro
Memory: 32GB DDR4 3200MHz Dual Channel
Graphics: GeForce RTX 2080 Ti
Drives: Samsung 970 EVO Polaris 1TB & 2TB M.2 2280 PCI-e 3.0 x4 NVMe
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » March 8th, 2020, 11:58 pm

@JHTrucker

Check out what I had as NPI settings under DX9 here:

viewtopic.php?p=1100#p1100
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1350
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » March 9th, 2020, 1:25 am

@Road Runner & BenganJ
I've already tried fastsync on x64 but it's rough FPS to me, like it does sync but perhaps every 2 frames... hard to describe. It may be better at 60 FPS with a few drops but not at 30 (with no drops) which is where i'm at "happily" using proper AA and D3DOverrider.
But i'm not looking for a solution whlist x86 is still available.
I get no gains from using x64 over x86, just choppy frames.
I just wanted to "chip in" with a solution that nobody will ever want!
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
faxoli
Posts: 8
Joined: March 4th, 2020, 8:26 pm

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by faxoli » March 9th, 2020, 3:17 am

BenganJ wrote:
March 8th, 2020, 10:22 pm
@faxoli

Okay, I did probably not ask you specifically for the game log from a non-MP session,
but that's what I actually needed. I can't see any reference to the normal execution
of ATS's EXE, so there's NO indication whether MP will get and use the Steam Launch
Options and what's worse, I can't see them at all. So, if you haven't got one already,
please generate a normal session game log and post here.

One other thing though. Checking the MP game log, I can see that you should do the
following change to your global config.cfg file.

Code: Select all

From:
uset r_buffer_page_size "10"
To:
uset r_buffer_page_size "30"
So, first do that change, then generate game log and post again, please!
ok nw log offline didnt crash got memory upto 14gb then seems to go down slowly
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » March 9th, 2020, 3:33 am

@faxoli

Thanks, but honestly, the memory used shouldn't grow to 14GB due to this game.
Can you check at what memory level you start the game? And mind you, you asked
from the beginning about the Steam Launch Options and MP. As you're not using any
of these at all, was that a question if it could be a solution to the crashing problem?
The editing of r_buffer_page_size I always ask people to do, because that default
value of "10" pretty much ONLY works for a PLAIN SCS Vanilla game. As soon as you
add other maps and stuffs to your profile, you will get random crashes.

I sincerely recommend that you add Steam Launch Options as per the first post in
this topic! Also to ETS2 if you are running that game too. Do that and then run the
the game for some time, keep an eye on performance, and then report back here
about the result. BUT, do that check of memory level before start of game and tell
me that figure before you do anything at all.

EDIT: I took another look at the game log and noticed that it was from a session with
ONLY SCS Vanilla and NO other mods. If possible, run with some map combo too and
post the game log after that session. From what I said above the r_buffer_page_size
problem would NOT be present here now.

EDIT2: Checking the 2 game logs I also notice that you are using 2 different computers,
or at least 2 different graphics cards, GTX1080Ti in the first log and a RTX2070 in the
second!!! How do you expect me to be able to compare results then?
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
Post Reply