Higher FPS in GMOD

Discussion in 'TTT Discussion' started by Santa Claus, Feb 21, 2018.

  1. Santa Claus

    Santa Claus Best Member VIP Bronze

    Hey,
    Not sure how many people are aware of this, but windows 10 fakes fullscreen mode to mimic borderless windowed. Borderless windowed causes input lag.

    Your game will feel a lot snappier if you go to your hl2.exe (gmod executable), right click, go to properties, select the compatibility tab, and check "disable fullscreen optimization"

    This is relevant with any game on windows 10

    [​IMG]
     
    • Winner Winner x 11
    • Informative Informative x 7
    • Like Like x 2
  2. Santa Claus

    Santa Claus Best Member VIP Bronze

    Last edited: Mar 21, 2018
    • Like Like x 3
    • Disagree Disagree x 1
    • Winner Winner x 1
  3. -thread does nothing, it got removed and multi core rendering does it instead
    cl_cmdrate is capped at 66 (128 in newer engine versions of Source)
    cl_updaterate is capped at 66 (128 in newer engine versions of Source), both also should be the same
    rate 20000 is way lower than the default
    All of this to be adjusted according to your internet connection: https://steamcommunity.com/sharedfiles/filedetails/?id=366151973

    If you are getting stable framerates higher than 60, then you don't need to use low settings

    Also autoexec.cfg exists
     
    • Friendly Friendly x 2
    • Informative Informative x 1
    • Useful Useful x 1
  4. Santa Claus

    Santa Claus Best Member VIP Bronze

    You'd want to though. This is about reducing input lag, not making your game look pretty.
     
    • Disagree Disagree x 2
    • Agree Agree x 1
  5. The FPS directly affects input lag, if you have stable framerates then you don't need to lower the settings
     
    • Friendly Friendly x 2
    • Agree Agree x 1
  6. Santa Claus

    Santa Claus Best Member VIP Bronze

    Getting 300fps is better than getting 200fps, yes
     
    • Like Like x 1
  7. It makes no virtual difference past 144 FPS (also depends on your montior refresh rate, if its at 66 Hz, then you dont need more than 66 FPS)
     
    • Friendly Friendly x 1
  8. Santa Claus

    Santa Claus Best Member VIP Bronze

    Yes it does.
     
    • Disagree Disagree x 1
  9. Lion

    Lion Ryan's Favorite Admin Banned VIP

    Gotta get that 165hz 1440p GSync 24" monitor then
     
    • Agree Agree x 2
  10. ThatAintFalco

    ThatAintFalco You should’ve followed the damn train CJ VIP

    This really helped me out. Though I still can’t reach 200 FPS.
     
    • Like Like x 1
    • Friendly Friendly x 1
    • Dumb Dumb x 1
  11. Any FPS higher than the refresh rate don't do anything???
     
    • Friendly Friendly x 1
    • Dumb Dumb x 1
  12. Santa Claus

    Santa Claus Best Member VIP Bronze

    Visually, no. Your CPU and GPU being able to process more frames/second will help take commands from your mouse quicker.

    edit: Having 300 frames per second will produce a frame every 3.33 milliseconds. having 100 fps will produce a frame every 10 milliseconds. when your monitor refreshes, itll have the frame which was last produced by your GPU.
     
    • Agree Agree x 2
  13. This will make a difference at miniscule levels, you won't feel/notice a difference past your monitor's refresh rate
     
    • Agree Agree x 1
    • Dumb Dumb x 1
  14. Santa Claus

    Santa Claus Best Member VIP Bronze

    ¯\_(ツ)_/¯
     
  15. Adminツ

    Adminツ VIP

    :^) 240hz
     
    • Friendly Friendly x 1
  16. Lion

    Lion Ryan's Favorite Admin Banned VIP

    At 1080 or 1440?
     
    • Friendly Friendly x 1
  17. Santa Claus

    Santa Claus Best Member VIP Bronze

    I went from 144op6o to 1o8oP144 and it's :drool:
     
    • Useful Useful x 1
    • Optimistic Optimistic x 1
  18. Adminツ

    Adminツ VIP

    1080
     
    • Friendly Friendly x 1
  19. Are you guys just saying numbers
     
    • Agree Agree x 2
    • Funny Funny x 1
  20. Santa Claus

    Santa Claus Best Member VIP Bronze

    This autoexec file helps out a lot with frame rate and input lag.
    Code:
    // Unexplained crashes? Try changing mat_queue_mode to `-1'.
    -------------------------------
    // Launch options:
    //
    //
    // Fullscreen:  -console -novid -useforcedmparms -noforcemaccel -noforcemspd
    //
    // ----------------------------------------------------------------------------
    
    // ----------------------------------------------------------------------------
    // FPS cap
    // ----------------------------------------------------------------------------
    fps_max 0
    
    // ----------------------------------------------------------------------------
    // Net settings
    // ----------------------------------------------------------------------------
    
    
    
    // Good connection
    cl_cmdrate 66 // Number of command pakets sent to the server per second.
    cl_interp 0 // Interpolate x seconds from game (0.02 = 20ms)
    cl_interp_ratio 1 // Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate).
    cl_lagcompensation 1 // Perform server side lag compensation of weapon firing events.
    cl_pred_optimize 2 // Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2)
    cl_smooth 0 // If set to 1 attempts to smooth the view after prediction errors.
    cl_smoothtime 0.01 // Time over which to smooth the view after prediction errors if cl_smooth is enabled.
    cl_updaterate 66 // Number of packets per second you are requesting from the server.
    rate 60000 // Max bytes/sec the host can receive data.
    
    
    
    // ----------------------------------------------------------------------------
    // Sound
    // ----------------------------------------------------------------------------
    dsp_enhance_stereo 1
    
    
    
    // ----------------------------------------------------------------------------
    // Misc
    // ----------------------------------------------------------------------------
    cl_forcepreload 1 // Force preloading
    
    
    
    
    // -----------------
    // Commands
    // -----------------
    
    
    
    // ---------------
    
    
    
    
    
    // -------------------------------------------------------------------
    // Optional variations (uncomment these and comment the other option found above)
    // -------------------------------------------------------------------
    
    
    threadpool_affinity "6" //8 for octa-core, 6 for hexa-core, 4 for quad-core, 2 for double-core
    fps_max 0
    
    cl_threaded_bone_setup 1
    cl_threaded_client_leaf_system 1
    
    r_threaded_client_shadow_manager 1
    r_threaded_particles 1
    r_threaded_renderables 1
    r_queued_ropes 1
    
    studio_queue_mode 1
    
    gmod_mcore_test 1
    
    // mat_queue_mode 2                // Dies
    // host_thread_mode 1                 // Causes StartCommand hook to be executed out of the main thread
    // r_queued_post_processing 1             // Dies
    // r_queued_decals 1                 // Dies
    Paste that before everything thats already in your autoexec.cfg file in (C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg)

    edit: don't listen to that Spycrab dude, these are the only noticeable frame rate improvement commands you'll need. You don't need to define every single setting in your CFG file.
     
    Last edited: Apr 23, 2018
    • Like Like x 1
    • Disagree Disagree x 1
    • Dumb Dumb x 1