Some bug(?) affecting my entire computer

FerretFerret

Terrarian
Hey, so... this is a bit tricky to explain, but I'll do my best, starting from the beginning of the problem.

First I'd just like to say this may very well not be a problem with terraria, but my computer. However, this does specifically happen when I play Terraria.

Recently I've been hosting a server for my friends through my laptop. My laptop is by no means suboptimal in terms of running Terraria (though it does run windows 10), and whenever I check how much CPU it is using, both the server and the actual game don't use much.

Now's where the problem just.. happens.

1) I'll be playing for however long with the server running via Steam Host & Play, sometimes with friends on, sometimes without, and out of the blue, my keyboard will seize up. This seems to commonly happen while I'm running, because it will result in me stuck going in a direction. The keyboard responds to nothing once this happens. My mouse works fine, but that's it. Unless I have the crafting UI open, there's no means for me to exit the game besides forcing a shutdown.

2) Learning from this a handful of times, I set up a macro on my mouse so that I could alt-tab out of the game and investigate the problem further. Closing terraria doesn't fix my keyboard, which despite it's lack of responsiveness, my computer believes is fine. It's interesting to note that this problem seems to seize up everything else, including the option to shut down. One time I tried restarting Windows Explorer, only to be met with a black screen. I'll fiddle around with this for 5 minutes, before...

3) The computer blue-screens. It doesn't waste time besides a second or two on the actual blue-screen before it moves on to restart the computer. I haven't tried snapping a shot of what it says on that blue-screen either, but I'll try in the future. Upon an automated restart leading me to a menu for bootup options (all of which I can only navigate and select via keyboard), I find I still can't use my keyboard, leaving me no choice but to force-shutdown.

4) Once it has recovered, everything is fine persay. Keyboard is fine, everythings fine.. and for the life of me I don't know what to pinpoint as the problem.

Searches have lead me to similair yet not so similair problems. I know for sure I wouldn't get this problem on a desktop, which leads me to believe this is just the computer's fault, but I'm by no means sure. Again, this only happens on terraria.

Any help would be nice. Thanks in advance.
 
You need to give us proper information about what you are doing, description won't help without the resources.

Hi,

Welcome to PC Support Section.

Helpful Links (READ BEFORE POSTING)
Bug Reports | Technical Issues

WARNING
Please make sure you have 4.6.1 .NET Framework (Recommended) or later installed for Terraria on your System! It is mandatory for the latest version.

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). You may also use the available and recommended Third Party Software to gain your full system specifications for our technicians.

How to improve your support thread
  • Post screenshots of errors
    • You can use the
      Rth9Tcm.png
      key on your keyboard to paste your current monitor to the clipboard.
      • Click the window that you want to copy.
      • Press ALT+PRINT SCREEN. Important The text you see on your keyboard might be PrtSc, PrtScn, or PrntScrn. The other text on the Print Screen key is usually SysRq.
      • Paste (CTRL+V) the image into a Microsoft Office program or other application.
  • Provide your system specifications
  • Provide your current mandatory dependencies versions (XNA & .NET)

Be reminded this post is intended to simplify 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, 10 / MAC / Linux
  • Processor: 2.0 Ghz (Single Core)
  • Memory: 2.5 GB
  • Hard Disk Space: 200 MB
  • Video Card: 128 MB Video Memory, Shader Model 2.0+ Support
  • DirectX®: 9.0c or Greater
Recommended System Requirements (Max Settings)
  • OS: Windows XP, Vista, 7, 8.1, 10 / MAC / Linux
  • Processor: Dual Core 3.0 Ghz
  • Memory: 4 GB
  • Hard Disk Space: 200 MB
  • Video Card: 256 MB Video Memory, Shader Model 2.0+ 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.

Deleting the JSON files to clear Terraria Settings
Before proceeding any further, please delete the config.json 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.json file from this location.
    • You can also delete the Favorites/Profile files as well, just in case.
Mal2RvM.png

Installing / Re-Installing XNA and .NET Framework 4.5.2 or Better
You may be experiencing these issues with a faulty installation, and even worst your system might the be problem to this. Attempt to uninstall both XNA and .NET Framework from your machine, be advised, do not uninstall the pre-installed versions of .NET Framework that came with your system! Once you have successfully re-installed your XNA and .NET Framework you may attempt to try Terraria again.
Verify Terraria's Steam Cache
If your game is unresponsive at times it is recommended you do a Verify Steam Cache with the game provided for Steam (This does not include GOG Version).
  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.

Q: I am experiencing low frame rate for Terraria, but the machine passes as recommended?
A: If you are using nVidia Control Panel, you can select Terraria.exe process and change the specifications on how your graphic card handles the game. Follow these instructions:
  1. Open nVidia Control Panel.
  2. Select Manage 3D Settings.
  3. Choose Program Settings Tab.
  4. Select Terraria as current program.
  5. Turn Triple buffering and Vertical sync to On.
  6. Run Terraria and turn Frame Skip to Off.
  7. The application should be running better than your current setup.
zAJ2XvE.png

Alternate Solution (The Aero Mode Bug)
  1. Goto your Desktop.
  2. Right Click and Select Personalize.
  3. Enable Aero Mode by selecting an Aero Background Option.
  4. You can also go Fullscreen Mode while Disabled Aero Mode.
Q: Experiencing an XAudio Driver Issue?
A: Check this out about the error: http://forums.terraria.org/index.ph...out-due-to-xaudio2_6-dll-on-windows-10.32894/

Q: Missing XInput Driver for the game?
A: You can download Microsoft DirectX Web Installer and fix this issue properly. We do not recommend searching for the driver (DLL) manually. Download it here.

Q: Where can I find my world and player files?
A: You can find your world and character files based on your system here:
  • Windows: <home folder>\Documents\My Games\Terraria\Players
  • Mac: ~/Library/Application Support/Terraria/Players
  • Linux: ~/.local/share/Terraria/Players
However, if you're using Steam Cloud Sync, the files will be in a different location.
  • <Steam directory>/userdata/<Steam3 ID>/105600/remote/players
 
Thanks for the reply. When I initially made the post, I wasn't in the position to provide any sort of specs, so here's them now:

OS: Windows 10 Home 64-Bit (10.0, Build 14393)
CPU: Intel Core i7-6700HQ CPU @ 2.6GHz
RAM: 8 GB
GPU: NVIDIA GeForce GTX 960M
My .NET & XNA are up to date, and my game is not pirated.

Using the TerrariaServer.exe gives me no issues, the server loads normally.

I went ahead and deleted my .json files, so those have been reset.

I verified my steam cache, and all files were successfully validated.​

If you need more specs or information, I'll gladly give a full list via the third-party software you mentioned.

There is no error message through Terraria because the game doesn't actually crash, and if there was, prnt screen won't function, because my keyboard is unresponsive during the problem. I'll be able to snap some screenshots from my phone the next time I encounter the problem, as clunky as that might be..

For now, I'll go ahead and play to try and run into the problem again.

Edit: Here's some pictures you may or may not find useful.

upload_2016-9-1_15-11-4.png


upload_2016-9-1_15-10-55.png


Edit 2: Just and update, but the problem hasn't happened since. Mightve gotten fixed by reseting my .json files, but we'll see. No clue where the heck it went. Also, I'm running at a consistent 60 fps, unlike the pictures I, sent. Also unexplainable.
 
Last edited:
Perfectly explainable actually.

The json files specifically the Profiles and the Config are the vital problem sometimes for some users:
  • Profiles handles the controller settings, which may also be related to the keyboard settings. In any case, the issue to this is that when an update came out, it is always smart to delete these files as they will collect data from your machine to obtain optimal settings. When you upgrade, change hardware or other system information this might help too.
  • Config collects information regarding your hardware as well as the general settings of what graphic cards to use and so forth. If these settings are old and not updated they tend to go wonky. By deleting these, the game can start an up to date clean version.
Chances are, all your issues you previously had may be resolved. On a normal basis, they should be since I see this being the issue.

If anything comes up, just up date us here.
 
Huh, I see. Thanks for the help and info; I'll keep in touch for the weekend, and if the problem still doesn't happen I'll give you the 'ok'!
 
As of 2:23 today, It happened again. Terraria acted normally, and I could save and quit out. I went to restart my computer and as it was, it crashed. Didn't react quick enough to take a picture. Should I send copies of my current .json files?
 
As of 2:23 today, It happened again. Terraria acted normally, and I could save and quit out. I went to restart my computer and as it was, it crashed. Didn't react quick enough to take a picture. Should I send copies of my current .json files?

I rather you catch the error message. You can disable the auto restart here.
 
Alright, it just happened again.

The error code it gave me was: DRIVER_POWER_STATE_FAILURE

So it looks like this is a problem with my keyboard drivers, or simply the keyboard itself.

Edit: I reinstalled my keyboard drivers, though something tells me that's not going to be the end of it.
 
Last edited:
Alright, it just happened again.

The error code it gave me was: DRIVER_POWER_STATE_FAILURE

So it looks like this is a problem with my keyboard drivers, or simply the keyboard itself.

Edit: I reinstalled my keyboard drivers, though something tells me that's not going to be the end of it.

One or more of your drivers are failing to work, should try updating them all.
 
Is there a screen after this?
20160903_124830.jpg
If there is, I didn't navigate to it. I could set a mouse macro to 'enter' and when the problem happens again see what's up, I suppose.
 
Is there a screen after this?
View attachment 137683
If there is, I didn't navigate to it. I could set a mouse macro to 'enter' and when the problem happens again see what's up, I suppose.

Did you upgrade to Windows 10 from a previous version? I feel that the computer seems to be confused with older drivers for another operating system. You should consider doing a clean installation.
 
As far as I know, the laptop came with Windows 10. Would a clean installation need me to move my files before the installation?
 
Back
Top Bottom