The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Nvidia equivalent to AMD Game Profiles

    Discussion in 'Gaming (Software and Graphics Cards)' started by thegh0sts, Jul 30, 2017.

  1. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    hmscott likes this.
  2. don_svetlio

    don_svetlio In the Pipe, Five by Five.

    Reputations:
    351
    Messages:
    3,616
    Likes Received:
    1,825
    Trophy Points:
    231
    Not that I've found.
     
  3. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    shame because it's a good idea.
     
  4. MahmoudDewy

    MahmoudDewy Gaming Laptops Master Race!

    Reputations:
    474
    Messages:
    1,654
    Likes Received:
    744
    Trophy Points:
    131
    1- Use Nvidia Inspector and create .exe for different clocks
    2- Use microsoft task scheduler to execute the .exe file for certain clocks with the trigger being the the game you want to apply the clocks too (it's launcher or .exe or whatever).

    It's a crude way but will get the job done.
     
    Vasudev likes this.
  5. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    if i do it that way then what's the trigger condition?
     
  6. don_svetlio

    don_svetlio In the Pipe, Five by Five.

    Reputations:
    351
    Messages:
    3,616
    Likes Received:
    1,825
    Trophy Points:
    231
    Opening the game application I imagine. Though closing the game may not revert back to stock clocks meaning you'd be stuck with the OC until you launch another game or manually change the clocks.
     
    Vasudev and MahmoudDewy like this.
  7. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    I tried this and it seems to be working:

    https://superuser.com/questions/745318/how-to-start-a-program-when-another-one-is-started

    the reverse could be done for process termination. I also had to make sure the process was configured for win 10.

    EDIT: yep, i can do the reverse and revert to stock clocks on application exit. that means if an app were to be written it would need to enabled window's event auditing and monitor for specfic event IDs that pertain to a process creation or process termination.

    Process Creation

    Code:
    <QueryList>
      <Query Id="0" Path="Security">
        <Select Path="Security">
         *[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and Task = 13312 and (band(Keywords,9007199254740992)) and (EventID=4688)]]
       and
         *[EventData[Data[@Name='NewProcessName'] and (Data='D:\WindowsApps\Microsoft.OpusPG_1.0.77.2_x64__8wekyb3d8bbwe\forza_x64_release_final.exe')]]
        </Select>
      </Query>
    </QueryList>
    Process Termination

    Code:
    <QueryList>
      <Query Id="0" Path="Security">
        <Select Path="Security">
         *[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and Task = 13313 and (band(Keywords,9007199254740992)) and (EventID=4689)]]
       and
         *[EventData[Data[@Name='ProcessName'] and (Data='D:\WindowsApps\Microsoft.OpusPG_1.0.77.2_x64__8wekyb3d8bbwe\forza_x64_release_final.exe')]]
        </Select>
      </Query>
    </QueryList>
     
    Last edited: Jul 30, 2017
    hmscott, Vasudev and MahmoudDewy like this.
  8. MahmoudDewy

    MahmoudDewy Gaming Laptops Master Race!

    Reputations:
    474
    Messages:
    1,654
    Likes Received:
    744
    Trophy Points:
    131
    Yup it is done both ways opening for overclock and closing for normal clocks. One other option is to use autohotkey and set key combo for each clock profile (inspector clock.exe) and use that as switching mechanism.

    But I personally use task scheduler as it automates things for me
     
  9. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    It works with even UWP apps provided you have full access to the WindowsApps folder.

    EDIT: I've exported the tasks so I can go into the text editor and change the app and task name to any other game.

    the clock change is delayed a bit but it still changes to back to stock on exit.
     
    Last edited: Jul 30, 2017
    hmscott and Vasudev like this.
  10. thegh0sts

    thegh0sts Notebook Nobel Laureate

    Reputations:
    949
    Messages:
    7,700
    Likes Received:
    2,819
    Trophy Points:
    331
    All you need to do is follow the instructions in the link. When you get to the XML modification section, copy and paste the code samples in. Obviously you'll need to change the Data value to the file path of the exe you want it to target so you'll need two tasks per application.

    shame you can't do bulk exporting of scheduled tasks.

    EDIT: In step 5 you'll need to change the Event ID from 4688 (Process creation) to 4689 when creating the exit task. These Event IDs are in the code samples.

    Windows, by default, is not set up to check for process creation and termination events. And in order for the trigger to work you must set this to enabled. When you create the task you ask it to check for the Event ID (4688 or 4689) but it won't know what application you are specifically targeting and hence the modified XML. The modified XML adds an extra rule to search for the event ID made by the targeted app and from there you can add the trigger to run nvidia inspector and the settings generated from a saved nvidia inspector shortcut.

    I tried this with Forza Horizon 3 and it works a treat.

    I wonder if an OR condition would work so you'd only be updating two tasks.
     
    Last edited: Aug 5, 2017
    hmscott likes this.