Results 1 to 5 of 5

Thread: UT2k4/nvidia-settings Game Launch Script

  1. #1
    Join Date
    Jun 2006
    Location
    Maine, USA, Earth
    Posts
    13

    Default UT2k4/nvidia-settings Game Launch Script

    Currently I have a little script I run to set my overclock before I lauch the game:

    #!/bin/sh

    nvidia-settings -l
    nvidia-settings -a GPUOverclockingState=1
    nvidia-settings -a GPU2DClockFreqs=350,1261 -a GPU3DClockFreqs=452,1261


    Then after I'm done playing I disable the overclock manually by running:

    nvidia-settings -a GPUOverclockingState=0


    What I'd like is a script that will run nvidia-settings then run the game and on exit set my overclock state back to 0. Is this do-able?

  2. #2
    Join Date
    Jun 2006
    Location
    Rio Rancho, NM
    Posts
    35

    Default

    Quote Originally Posted by cakey
    Currently I have a little script I run to set my overclock before I lauch the game:

    #!/bin/sh

    nvidia-settings -l
    nvidia-settings -a GPUOverclockingState=1
    nvidia-settings -a GPU2DClockFreqs=350,1261 -a GPU3DClockFreqs=452,1261


    Then after I'm done playing I disable the overclock manually by running:

    nvidia-settings -a GPUOverclockingState=0


    What I'd like is a script that will run nvidia-settings then run the game and on exit set my overclock state back to 0. Is this do-able?

    I know you can rung nvidia-settings -l to just have it load your settings from ~/.nvidia-settings-rc, but I don't think the overclock settings are stored in that file.

    Joe

  3. #3
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    35

    Default

    Just edit your script to:
    Code:
    nvidia-settings -l
    nvidia-settings -a GPUOverclockingState=1
    nvidia-settings -a GPU2DClockFreqs=350,1261 -a GPU3DClockFreqs=452,1261
    ut2004
    nvidia-settings -a GPUOverclockingState=0
    It will execute the overclockingstate=0 after ut2004 exits.
    Last edited by Michael; 06-25-2006 at 03:02 PM. Reason: [CODE] tag is currently broken, investigating.

  4. #4
    Join Date
    Jun 2006
    Location
    Maine, USA, Earth
    Posts
    13

    Default

    Oooo Didnt think it would be that simple! duh. Thanks, I'll give it a try.

  5. #5
    Join Date
    Jun 2006
    Location
    Maine, USA, Earth
    Posts
    13

    Default

    Excellent! Works great thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •