PC apparent input lag/delay

RealGForce

Terrarian
My fellow Terrarians,

After quite a while of lurking at the forums and learning about all the amazing stuff Re-Logic and Engine Software are preparing for us, I came to the conclusion that I couldn't possibly wait for the 1.3 update till June and decided to start playing again.
New character, new map, a priceless feeling of excitement and adventure that only occurs when you make a fresh start after a long break.
And all went well from the beginning, or all seemed well should I say...
First I thought the reason was my Terrarian skills being a little rusty after 5+ months of not playing, but after I got myself a blowpipe it became obvious.
I couldn't aim for shìt because every keypress, every mouse movement was being delayed. Literally, when I press space, I jump after half a second, when I click to shoot, it happens after half a second. And the cursor moves like a rolling billiard ball.
Never before have I experience a problem like this in Terraria. I know possible input lag should appear when you turn frame-skip off, but I have it enabled.

Then I started researching and came across a couple of threads about this issue, dating from 2014 all the way back to 2011, but none provided a solution really. No matter what I tried, the delay remained an issue, which is why I'm writing this. I hope someone with a better insight than me will find out what's causing this input delay.

--------------------------------------------------------------------------------------------------------------------------------
TL;DR: I can't seem te fix the input lag/delay (mouse+keyboard) I'm recently experiencing with Terraria.
What I tried already:

  • turning frameskip on/off
  • switching between windowed/fullscreen
  • changing resolution, graphics quality and color modes
  • switching between multicore lighting set to off, 2,3 and 4
  • fiddling with my nvidia settings (turning VSync off, changing maximum pre-rendered frames, etc...)
  • messing with process priority and affinity settings through Task Manager
Some important notes:
  • I don't experience this issue with any other game
  • It's never been an issue until I started playing again after 5+ months
  • I'm 99% sure the problem doesn't lie with my hardware specs
  • I'm not running on Windows 8.1
 
Delete your config.dat file, and try again.

Hi,

Welcome to PC Support Section.

In order to further assist you, please verify the following information below before proceeding. Please, we remind you that Terraria has certain requirements in order to function properly on your system. If you fail to check these requirements you may encounter errors or issues.

To avoid errors or mistakes, please consider posting your System Specifications. You can obtain this information by Right-Clicking My Computer on your system. You will get basic information about your Processor and RAM. If you wish to get a full detailed list, you can use third party software to determine your specifications or salvage the information from the Device Manager (Advanced Users).

Be reminded this post is intended to simply your next reply and ease our troubleshooting. If you fail to provide detailed information, it becomes a tedious task to determine what caused your problem. Please be kind enough to follow these simple steps and helpful tips!

NOTE: If you are using an illegal copy of the game, you will receive no support, this process determines if you are using a legal copy.

Before you ask, check in these threads to solve your issues:


Available Third Party Software
System Requirements
  • OS: Windows XP, Vista, 7, 8.1
  • Processor: 1.6 Ghz (Single Core)
  • Memory: 512 MB
  • Hard Disk Space: 200 MB
  • Video Card: 128 MB Video Memory, Shader Model 1.1 Support
  • DirectX®: 9.0c or Greater
Game Dependencies (MUST Install)
Troubleshooting Your Problem with TerrariaServer.exe
In order to figure out what your problem is with the game, we require that you run the Terraria Server Client (TerrariaServer.exe). This will display any errors or successes on launch. Should there be any errors from the program itself, use the command prompt and copy the error to display it here.
  1. Right click within the Command Prompt.
  2. In the drop-down menu, select Mark.
  3. Once you made a selection, Right Click or Press Enter to copy.
  4. Paste your results in your thread.
If you have trouble with the above instructions, your system might be showing "Not Responding" or your System may need to be rebooted to start clean.

Before proceeding any further, please delete the config.dat file located in your Terraria Folder under My Documents/My Games. Then start Terraria again, this may fix some unexplained issues, but we wish to make sure you are running a nice and clean installation:
  1. Locate My Documents Folder.
  2. Open My Games Folder.
  3. Open Terraria Folder.
  4. Delete Config.dat file from this location.
Verify Terraria's Steam Cache
If your game is unresponsive at times, it is recommened you do a Verify Steam Cache with the game provided for Steam (This does not included GOG).
  1. Goto My Library on Steam.
  2. Right-Click Terraria and Select Properties.
  3. Goto Local Files Tab.
  4. Now Select Verify Integrity of Game Cache.
If you have trouble with the above instructions, you may be using a different provider or retailer.
Frequently Asked Questions

Q: My world has corrupted somehow and will not load properly, what can I do?
A: You may have corrupted the world by using modded clients, computer shutdown before the world could complete the save, or system failure within Terraria that caused the problem. You can try attempting to load your world using TEdit (Download).

Q: My game is not launching, or I get errors regarding XNA/.NET Framework!
A: You can attempt to make sure you have all Game Dependencies first, then try attempting this solution:

If you don't feel like sifting through all that, it's basically to do with the framework permissions.

This is how you change the right to use Framework/XNA:
  1. Right-Click the specific directory (Listed Below).
  2. Select Properties.
  3. Select the Security Tab
  4. Click on Advanced Option
  5. Select the Owner Tab
  6. Click on the bottom button to Edit.
  7. On this window select the Administrator in the row and make sure to select the Checkboxes below.
  8. Hit Apply and close all the windows.
  9. Try running the game again.
Do the above for all of the following FOLDERS:

C:\Windows\Microsoft.NET\assembly\GAC_32:
Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Game\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Graphics\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Xact\v4.0_4.0.0.0__842cf8be1de50553

C:\Windows\Microsoft.NET\assembly\GAC_MSIL:
Microsoft.Xna.Framework.Avatar\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.GamerServices\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Input.Touch\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Net\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Storage\v4.0_4.0.0.0__842cf8be1de50553
Microsoft.Xna.Framework.Video\v4.0_4.0.0.0__842cf8be1de50553

Q: Steam has reported that one (1) file has failed verification and was downloaded?
A: This file is known as the serverconfig.txt file. Originally this file shouldn't be packed with the game as Terraria should create this file automatically on launch if it is missing or out of date. Due to it being changed and updated by server owners, the file will constantly fail the verification process. This has no effect on playing the game, and can be ignored.
 
Delete your config.dat file, and try again. (...)

Hi, thanks for the quick reply

I'll make this as efficient as possible for you to read through, and for simplicity's sake:
  • I have deleted my config.dat: as expected, it reset all my settings, but the input delay remains
  • I re-checked the current system requirements: nothing problematic there, but since you asked, here are my hardware specs:
- OS: Windows 7 Pro (x64)
- Processor: Intel i5 3570K @ 3.4 GHz
- Memory: 12 GB
- Hard disk space: 1.05 GB on the C drive (where also Terraria is installed on)
- Video card: NVidia GTX 660 with 2GB GDDR5 VRAM (pixel shader 5.0 support)
- DirectX®: 11​
  • Game dependencies: everything re-installed where possible; input delay still present
  • Troubleshooting: ran TerrariaServer.exe, loaded my world and all. No errors occured
  • Steam cache verification: "1 file failed to validate and will be reacquired.", everytime I run it, but FAQ says it can be ignored
That's about it.. hope I didn't miss anything
 
So,

From reading your posts, the issue is that any actions you put into the computer, are delayed and lagging behind from the actual activity that you expect to be executed in-game (EG: Shoot Arrow from Bow with mouse takes 2 Seconds instead of instantly). Is this about right?

What are your current version of .NET and XNA?
 
Just updated to 347.88; didn't help anything

I think I'm gonna call it a day and stop worrying about it. It's not that bad either so I can live with it.
My conclusion is that there's no solution to this unless:
- some kind of 'raw input' is implemented in the source code
- the rendering engine is adjusted in such a way that it's not bound to VSync for proper rendering​
but I don't have a clue about the possibilities of any of these in XNA

Anyway, thanks for the continuing support, Marcus
 
I have the same problem as you but i can`t find solution how to fix input lag in terraria 1.4(P.S.i had it in 1.3 too)Can enyone help me?And also i had done everything

RealGForce had done:(

 
Back
Top Bottom