[DX11] Help regarding Nvidia Profile Inspector (NPI)

Make your game even better
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

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

Post by JHTrucker » April 10th, 2020, 4:27 pm

@olaf28 - From my "poor mans" AA it was 2 options, vsync on or off.

option 1 is:
In config.cfg:
uset r_mode_refresh "60" <-- set to 60 only if your monitor has higher hz value.
uset r_mode_refresh "0" <-- leave at 0 if using 60hz monitor.
uset r_vsync "2" <-- 30 fps on 60hz monitor (no screen tearing).

In NPI set:
Vertical Sync to 'Use the 3D application setting'
Vertical Sync Tear Control to 'Adaptive'.

That should give locked 30 fps (if in game settings allow it to) and will drop as required. If fps drop below 30 the screen will tear to compensate while keeping as many fps as possible. Reduce in game settings further to maintain 30 fps if possible.

If the above gives 30 fps tear free then don't do any more.

Option 2:
If you don't care about screen tearing, just set:
NPI frame limiter to 30
Vertical Sync to 'force off'
uset r_vsync "0" <-- Disabled in game.


But to be tear free use:
uset r_vsync "2"
NPI frame limiter to 31 <-- if tear free that'll stop 45 fps and not conflict with vsync at 30.
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: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

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

Post by JHTrucker » April 10th, 2020, 4:45 pm

@clear F1 - Perhaps this is an option for you with DSR
You said:
"I set Vertical sync tear control-Adaptive in 1.37beta and set DSR coefficient to 1.78.
Changed the game to 2560x1440 and Vsync-2 I also checked, but 60fps is displayed."

Set DSR again.

In config.cfg:
uset r_mode_refresh "0" <-- leave at 0 if using 60hz monitor.
uset r_vsync "2" <-- 30 fps on 60hz monitor (no screen tearing).

In NPI set:
Vertical Sync to 'Use the 3D application setting'
Vertical Sync Tear Control to 'Adaptive'.

NPI frame limiter to 31 <-- this should stop strange 60 fps issue when using adaptive.

Do you now have 30/31 smooth fps tear free?
If you drive in "demanding area" do fps drop below 30 and tear and not stutter?
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: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

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

Post by JHTrucker » April 10th, 2020, 5:04 pm

@BenganJ
I'll have an update soon for all multimon_config.sii files to fix an error they all have.

It fixes this Q&A:
Q - When i change in game resolution the menu goes tiny in middle of screen.
A - Just accept the change and then exit game and restart. Menu will now stay fullscreen.
This can happen when changing resolutions, so no need to keep doing this once set.

So to make a more complete AA solution i need to fix this as people will mess with graphic settings whilst trying to get more fps using this AA.

What happens, when changing gfx settings (res/hdr) the game gfx have to reload back to driving screen but the multimon_config.sii file is ignored.
Single isn't too much of an issue but still has the error.
Triple reverts to 1 image stretched across all 3 screens.

Triple error:
00:00:46.954 : <ERROR> [unit] File '<C:/GAMES/DRIVING/American Truck Simulator Home/American Truck Simulator | /home>/multimon_config.sii', line 33:
00:00:46.954 : <ERROR> [unit] The unit name '_Triple.AAv4' is already taken by an existing unit (of type 'multimon_config').
00:00:46.954 : <ERROR> load_unit_tree() - Failed to load unit tree from file (/home/multimon_config.sii)
00:00:46.954 : <ERROR> Failed to load multimon configuration file, disabling it. <---- ****

Single error:
00:02:21.480 : <ERROR> [unit] File '<C:/GAMES/DRIVING/American Truck Simulator Home/American Truck Simulator | /home>/multimon_config.sii', line 9:
00:02:21.480 : <ERROR> [unit] The unit name '_Single.AA' is already taken by an existing unit (of type 'multimon_config').
00:02:21.481 : <ERROR> load_unit_tree() - Failed to load unit tree from file (/home/multimon_config.sii)
00:02:21.481 : <ERROR> Failed to load multimon configuration file, disabling it. <---- ****

I've worked out a fix, just need to mod and test them all... there's now a lot of them instead of the original 4!
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
clear F1
VIP
Posts: 1170
Joined: January 23rd, 2019, 5:32 pm
Location: Nagoya, JAPAN
Contact:

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

Post by clear F1 » April 10th, 2020, 5:10 pm

@JHTrucker

Thank you as always.
30 fps was realized in 1.37 beta, but the fps will be 20 in the same way.
(DSR coefficient x1.78 Vsync "2")

@BenganJ
Returned to 1.36 and tested Promods 2.45.
I thought it was DSF coefficient x1.78, Vsync "2" and drove from Bergen to Stavanger 430Km, almost 20fps most of the time. There was talk of map optimization, but I seem to get 20fps everywhere even in Kiev.
After all it returns to 1080p.
AMD Ryzen 7 7800X3D
ASRock X670E Taichi Carrara
DOMINATOR TITANIUM DDR5-7200 32GB
PNY RTX4070Ti 12GB VERTO LED WE
WD m.2 KIOXIA m.2
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 » April 10th, 2020, 5:21 pm

@JHTrucker

Okay, since some time I don't change my settings at all, so I haven't noticed!
Well, just tell me later what to do and we'll make the changes! :D

@clear F1

I can only tell you what I have and how it works. I have since long now DSR 1.78x
and uset r_vsync "2" giving me directly recorded videos of 2560x1440 60Hz, even
if I, when running game, have a steady 30 FPS with VERY minor drops down to min.
22 FPS, short ones, in demanding areas. And I have a very smooth experience and
no tearing.
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Ronin
VIP
Posts: 1506
Joined: October 17th, 2019, 11:16 am
Location: Gorinchem, Netherlands

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

Post by Ronin » April 10th, 2020, 5:47 pm

JHTrucker wrote:
April 10th, 2020, 4:27 pm

But to be tear free use:
uset r_vsync "2"
NPI frame limiter to 31 <-- if tear free that'll stop 45 fps and not conflict with vsync at 30.
Thanks again. I will try this when I am home again.
Proc: i7-9750H 2,6 GHz (max. 4,5 GHz)
Mem: 16GB
Graphics: ASUS ROG -STRIX-RTX2060-O6G-GAMING 6 GB GDDR6
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

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

Post by JHTrucker » April 10th, 2020, 8:42 pm

@BenganJ - Here's the mmcfg updates to replace STEP 2 files.

Deleted the files! //BenganJ
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: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

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

Post by JHTrucker » April 10th, 2020, 8:58 pm

Updated multimon_config.sii files Single & Quad V4, Double & Triple V5.

My orignal V4 files look like this:

multimon_config : _Triple.AAv4 {
normalized_ui_x: 0.334
normalized_ui_width: 0.333
monitors: 5
monitors[0]: _Center.AA
monitors[1]: _Left.AA
monitors[2]: _Right.AA
monitors[3]: _Dummy
monitors[4]: _AA.Enabler

When the game generate it's own mmcfg file, it looks like this:

multimon_config : _nameless.290.f850 {
normalized_ui_x: 0.333333
normalized_ui_width: 0.333333
monitors: 3
monitors[0]: _nameless.23c.f970
monitors[1]: _nameless.23c.f890
monitors[2]: _nameless.23c.f9e0

So my files need "nameless" adding, that way, i think, the game doesn't hold the names in memory and can therefore reload mmcfg file without conflict.
They now look like this:

multimon_config : _nameless.Triple.AAv5.100 {
normalized_ui_x: 0.334
normalized_ui_width: 0.333
monitors: 5
monitors[0]: _nameless.Center.AA
monitors[1]: _nameless.Left.AA
monitors[2]: _nameless.Right.AA
monitors[3]: _nameless.Dummy
monitors[4]: _nameless.AA.Enabler

Done.

Please replace exiting Q&A with this one:
Q - When i change in game resolution the menu goes tiny in middle of screen.
A - Re-download multimon_config.sii file from STEP 2. This should now be fixed in current version (10/04/2020).
Last edited by JHTrucker on April 13th, 2020, 5:47 pm, edited 1 time in total.
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
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 » April 10th, 2020, 9:14 pm

@JHTrucker

I deleted the files so that people will not DL here in that post. I'm just about to
edir the links now in Stepo 2. BRB!

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

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

Post by JHTrucker » April 10th, 2020, 9:35 pm

@BenganJ - Don't forget the Q&A request hidden at the bottom of my explanation post... i guess that means you didn't read it!

Please replace exiting Q&A with this one:
Q - When i change in game resolution the menu goes tiny in middle of screen.
A - Re-download multimon_config.sii file from STEP 2. This should now be fixed in current version (10/04/2020).
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
Post Reply