Announcement

Collapse
No announcement yet.

UT2k4/nvidia-settings Game Launch Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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; 25 June 2006, 02:02 PM. Reason: [CODE] tag is currently broken, investigating.

      Comment


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

        Comment


        • #5
          Excellent! Works great thanks again.

          Comment

          Working...
          X