1. If you're looking for help-related things (for example, the key rebinding tutorial), please check the FAQ and Q&A forum! A lot of the stickies from this forum have been moved there to clean up space.
    Dismiss Notice

VSYNC on by default - here's how to turn it off

Discussion in 'Starbound Discussion' started by Semus, Dec 6, 2013.

  1. Semus

    Semus Star Wrangler

    For those of you that are having FPS issues that are related to VSYNC, here's how to disable it even when you've disabled it in the NVIDIA control panel. Starbound will still enable VSYNC by default.

    Open the Starbound config file located in your Starbound default directory. Mine was (E:\Program Files (x86)\Steam\SteamApps\common\Starbound). Obviously yours will be something else.

    Look for the line that says: "vsync" : true,

    Change the "true" to "false" and that will ensure that VSYNC will not be enabled when Starbound is started.

    VSYNC was causing my FPS to go down to 30 when at zoom level 2 or below. Now, after I made this change, my FPS is at a constant 60 no matter what.

    WARNING: This will introduce screen tearing, so if that's not something you like to see, don't mess with this setting.

    Just figured I would help those that are having VSYNC issues.


    Cheers
     
    Monkeybiscuit likes this.
  2. Poseidon

    Poseidon Big Damn Hero

    Helped a little, and with no screen tearing. Thanks mate.
     
  3. Semus

    Semus Star Wrangler

    You're welcome =)
     
  4. I do this but with Nvidia Inspector available at guru3d, basically in most games where I don't risk screen tearing I set with it vsync OFF, and a fps limit to -1 below my refresh rate this completely get ride of input lag.

    But for a game like Skyrim I find it better to let vsync on to eliminate tearing and I set Max pre-rendered frames to 1, I find it slightly lower the input lag

    good tool to manage all your game profiles , import/export features, much more useful than the default nvidia 3d settings from the cp

    [​IMG]
     
  5. Semus

    Semus Star Wrangler


    The only problem with doing it this way is that Starbound turns VSYNC on again after the game is loaded. Even if you turn it off in Nvidia Inspector, it gets turned on again by the game. The only way to turn it off completely is through the config file.
     
  6. No because even if the game request a vsync , the display app will apply the settings you have set, it is called function hooking, that's how app overlays like fraps persist on the display device, even if the game is not aware of it.
     
  7. spliffiam

    spliffiam Aquatic Astronaut

    in mine config file there is only this:
    {
    "fullscreen" : false,
    "maximizedResolution" : [ 1920, 1018 ],
    "musicVol" : 10,
    "sfxVol" : 15,
    "title.connectionString" : "25.208.242.82",
    "maximized" : true,
    "windowedResolution" : [ 1904, 1042 ]
    }
     
  8. GamerHound

    GamerHound Space Spelunker

    mine doesnt say true or false its just has a "0" should i change the number or maybe just remove the number?
     
  9. tarkz

    tarkz Space Spelunker

    Um i cant find the config folder! Please help! am i in the right file?
     

    Attached Files:

  10. Mackinz

    Mackinz The Waste of Time

    Probably has something to do with the thread being almost exactly two years old. Anyway, said config file is now under /Starbound/giraffe_storage/.

    The contents of the file as of the latest Nightly update:

    Code:
    {
      "allowAdminCommands" : true,
      "allowAdminCommandsFromAnyone" : false,
      "allowAnonymousConnections" : true,
      "anonymousConnectionsAreAdmin" : false,
      "audioChannelSeparation" : [ -25, 25 ],
      "audioChannels" : 2,
      "bannedIPs" : [  ],
      "bannedUuids" : [  ],
      "bindings" : {
          "CameraShift" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "RCtrl"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "LCtrl"
              } ],
          "ChatBegin" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Return"
              } ],
          "ChatBeginCommand" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "/"
              } ],
          "ChatNextLine" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Down"
              } ],
          "ChatPageDown" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "PageDown"
              } ],
          "ChatPageUp" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "PageUp"
              } ],
          "ChatPreviousLine" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "ChatSendLine" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Return"
              } ],
          "ChatStop" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ],
          "CinematicNext" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Right"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Return"
              } ],
          "CinematicSkip" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ],
          "CockpitDown" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "S"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Down"
              } ],
          "CockpitLeft" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Left"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "A"
              } ],
          "CockpitRight" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Right"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "D"
              } ],
          "CockpitUp" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "W"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "EmoteAnnoyed" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Right"
              } ],
          "EmoteBlabbering" : [ {
                  "mods" : [ "LCtrl", "LShift" ],
                  "type" : "key",
                  "value" : "Right"
              } ],
          "EmoteBlink" : [ {
                  "mods" : [ "LCtrl" ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "EmoteEat" : [ {
                  "mods" : [ "LCtrl", "LShift" ],
                  "type" : "key",
                  "value" : "Down"
              } ],
          "EmoteHappy" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "EmoteLaugh" : [ {
                  "mods" : [ "LCtrl" ],
                  "type" : "key",
                  "value" : "Left"
              } ],
          "EmoteNeutral" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Left"
              } ],
          "EmoteOh" : [ {
                  "mods" : [ "LCtrl" ],
                  "type" : "key",
                  "value" : "Right"
              } ],
          "EmoteOooh" : [ {
                  "mods" : [ "LCtrl" ],
                  "type" : "key",
                  "value" : "Down"
              } ],
          "EmoteSad" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Down"
              } ],
          "EmoteShouting" : [ {
                  "mods" : [ "LCtrl", "LAlt" ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "EmoteSleep" : [ {
                  "mods" : [ "LCtrl", "LShift" ],
                  "type" : "key",
                  "value" : "Left"
              } ],
          "EmoteWink" : [ {
                  "mods" : [ "LCtrl", "LShift" ],
                  "type" : "key",
                  "value" : "Up"
              } ],
          "EssentialBar1" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "R"
              } ],
          "EssentialBar2" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "T"
              } ],
          "EssentialBar3" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Y"
              } ],
          "GuiClose" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ],
          "GuiShifting" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "RShift"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "LShift"
              } ],
          "InterfaceBar1" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "1"
              } ],
          "InterfaceBar10" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "0"
              } ],
          "InterfaceBar2" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "2"
              } ],
          "InterfaceBar3" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "3"
              } ],
          "InterfaceBar4" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "4"
              } ],
          "InterfaceBar5" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "5"
              } ],
          "InterfaceBar6" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "6"
              } ],
          "InterfaceBar7" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "7"
              } ],
          "InterfaceBar8" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "8"
              } ],
          "InterfaceBar9" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "9"
              } ],
          "InterfaceBarNPos" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "-"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "`"
              } ],
          "InterfaceCodex" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "L"
              } ],
          "InterfaceCrafting" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "C"
              } ],
          "InterfaceDeselectHands" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "X"
              } ],
          "InterfaceEscapeMenu" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ],
          "InterfaceHideHud" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "F1"
              } ],
          "InterfaceInspectCursor" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "N"
              } ],
          "InterfaceInventory" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "I"
              } ],
          "InterfaceQuest" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "J"
              } ],
          "InterfaceReload" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "F8"
              } ],
          "InterfaceRepeatCommand" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "P"
              } ],
          "InterfaceShowHelp" : [ {
                  "type" : "null"
              } ],
          "InterfaceSwapHands" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Z"
              } ],
          "InterfaceToggleFullscreen" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "F11"
              } ],
          "KeybindingCancel" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ],
          "KeybindingClear" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Del"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Backspace"
              } ],
          "PlayerDown" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "S"
              } ],
          "PlayerDropItem" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Q"
              } ],
          "PlayerInteract" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "E"
              } ],
          "PlayerJump" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Space"
              } ],
          "PlayerLeft" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "A"
              } ],
          "PlayerRight" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "D"
              } ],
          "PlayerShifting" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "RShift"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "LShift"
              } ],
          "PlayerTechAction1" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "F"
              } ],
          "PlayerTechAction2" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "G"
              } ],
          "PlayerTechAction3" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "H"
              } ],
          "PlayerUp" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "W"
              } ],
          "ShowLabels" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "RAlt"
              }, {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "LAlt"
              } ],
          "TitleBack" : [ {
                  "mods" : [  ],
                  "type" : "key",
                  "value" : "Esc"
              } ]
      },
      "checkAssetsDigest" : false,
      "clearPlayerFiles" : false,
      "clearUniverseFiles" : false,
      "configurationVersion" : 422,
      "crafting.filterHaveMaterials" : false,
      "fullscreen" : false,
      "fullscreenResolution" : [ 1920, 1080 ],
      "gameServerBind" : "*",
      "gameServerPort" : 21025,
      "maxFrameSkip" : 3,
      "maxPlayers" : 8,
      "maximized" : false,
      "maximizedResolution" : [ 1600, 837 ],
      "musicVol" : 0,
      "playerBackupFileCount" : 3,
      "queryServerBind" : "*",
      "queryServerPort" : 21025,
      "rconServerBind" : "*",
      "rconServerPassword" : "",
      "rconServerPort" : 21026,
      "rconServerTimeout" : 1000,
      "renderSleep" : true,
      "runQueryServer" : false,
      "runRconServer" : false,
      "safeScripts" : true,
      "sampleRate" : 44100,
      "serverName" : "A Starbound Server",
      "serverUsers" : {
      },
      "sfxVol" : 50,
      "speechBubbles" : true,
      "title.connectionAddress" : "",
      "title.connectionPort" : "",
      "upnpPortForwarding" : true,
      "vsync" : true,
      "windowTitle" : "Starbound - Beta",
      "windowedResolution" : [ 1536, 821 ],
      "zoomLevel" : 3
    }
    
     
  11. LilDemon

    LilDemon Void-Bound Voyager

    Go Into Giraffe Storage/ Storage Then Starbound.Config.
     
  12. Fofrons

    Fofrons Orbital Explorer

    hi guys i have starbound pirate :V and i just do thta of put vsync false but my archive is like this now: this will work?
    upload_2016-12-18_20-14-47.png
     
  13. Fofrons

    Fofrons Orbital Explorer

     
  14. Fofrons

    Fofrons Orbital Explorer

    sorry for grammar xd
     

Share This Page