Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Computer stuttering  (Read 1267 times)

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Computer stuttering
« on: April 17, 2015, 02:37:58 pm »

My computer, a high-end laptop that cost me almost 1500 euros a year ago, is getting stuttery.
Playing BYOND causes stuttering, and TF2 too. I don't know why, it started recently. Everything is on my Geforce GTX 860M card, I have an internal intel gpu but it is, afaik, disabled.
What could cause this and how can I solve it?
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: Computer stuttering
« Reply #1 on: April 17, 2015, 03:33:02 pm »

My computer, a high-end laptop that cost me almost 1500 euros a year ago, is getting stuttery.
Playing BYOND causes stuttering, and TF2 too. I don't know why, it started recently. Everything is on my Geforce GTX 860M card, I have an internal intel gpu but it is, afaik, disabled.
What could cause this and how can I solve it?

Background processes eating up CPU can do it. Run MSCONFIG from the windows start menu and see what's loading on startup.

A fragmented harddrive can do it. Defragment it from the Hard Drive properties page.

An overworked/overheating GPU can do it. With a laptop they're harder to clean, but dust does eventually build up. Putting a fan pointed at it, elevating from the surface it's sitting on, can both improve circulation and therefore cooling.

Windows doing shit like downloading an update while you're doing something can definitely cause stuttering.

Anti-virus that is running a hard drive scan most definitely can cause stuttering in other applications.

You might also try updating your video card drivers.
« Last Edit: April 17, 2015, 08:00:02 pm by nenjin »
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

acetech09

  • Bay Watcher
  • Bay Watcher
    • View Profile
Re: Computer stuttering
« Reply #2 on: April 17, 2015, 04:54:01 pm »

First place to check would be Windows. Your hardwire might be good, but don't underestimate windows' capability to bring it down to econo-box level.
Logged
I challenge you to a game of 'Hide the Sausage', to the death.

Sensei

  • Bay Watcher
  • Haven't tried coffee crisps.
    • View Profile
Re: Computer stuttering
« Reply #3 on: April 19, 2015, 01:51:30 am »

Heat would be my first guess. There's a number of pieces of software like CoreTemp that can tell you if something is overheating. If you think software might be a problem, try running in safe mode and testing your performance.
Logged
Let's Play: Automation! Bay 12 Motor Company Buy the 1950 Urist Wagon for just $4500! Safety features optional.
The Bay 12 & Mates Discord Join now! Voice/text chat and play games with other Bay12'ers!
Add me on Steam: [DFC] Sensei

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: Computer stuttering
« Reply #4 on: April 19, 2015, 04:06:47 am »

I did a system refresh. Currently reinstalling a bunch of stuff. Hopefully this will help.
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

heydude6

  • Bay Watcher
    • View Profile
Re: Computer stuttering
« Reply #5 on: April 19, 2015, 08:10:16 pm »

I'm suffering from this problem as well actually. In my case, it was caused by trying to listen to sounds at frequencies that are higher/lower than the human ear can hear (specifically the Talos Hum). In case you don't know, speakers, are designed to only play sounds that the human ear can hear in order to save memory. What that means is that your cat hears that bit of classical music the exact same way as you do.

But I digress, listening to these forbidden sounds damaged my audio card and caused my computer to suffer from "Hardware interrupts" (that is the technical term for your stuttering) and now I need to get it replaced.

Re-downloading everything is not going to solve it, it's a hardware problem, you're going to need to pay for repairs.

Of course before you do that, download a program that checks for hardware interrupts, run it, disable a specific driver for your sound (the specific one can be found ala Google), restart computer, run the program again and check if there are any improvements. If this stops your hardware interrupts then that means that your sound card is indeed the problem and that you do indeed need to fix it.

I would not recommend keeping the sound driver off since it causes instability in the computer (also disables speakers)
Logged
Lets use the ancient naval art of training war parrots. No one will realize they have been boarded by space war parrots until it is to late!
You can fake being able to run on water. You can't fake looking cool when you break your foot on a door and hit your head on the floor.

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Computer stuttering
« Reply #6 on: April 19, 2015, 08:49:41 pm »

what?


A hardware interrupt is exactly THIS:

Hardware has a direct line to the CPU, which it can raise to say 'HEY! Pay attention to me and what *I* need to get done!"  That's a hardware interrupt. x86 based computers have historically had 8 interrupts in old 8bit computers, then 16 interrupts in 16bit and 32bit designs. The new 64bit system expanded this further.

The smaller the number on the interrupt, the more prioritized it is.  Interrupt 0 is the system timer's RTC, which gives the timing signal for the CPU's instruction cycle.  Etc.

Since the PCI era, peripheral cards are no longer tied directly to the CPU, like they were with VESA, EISA, ISA, and MCA architectures. Instead, the PCI bus itself has a series of PCI interrupts that talk to the PCI bridge controller, which THEN talks to the CPU.  This allows cards on the PCI bus to raise the bridge controller, which can do stuff for the CPU without interrupting the CPU.  Things like hard disk IO transfers, copying memory in and out of expansion card memory windows, etc.  These cards get allocated a PCI interrupt, and when the PCI bridge needs to signal the CPU to stop what it is doing, the PCI bridge controller raises the real hardware interrupt. PCIe is an evolution on the PCI bus concept, and works similarly. (It used to be, back in the ancient days of the 8086 and pals, that disk access was basically a dance between the hard disk interface card sitting historically on IRQ7 or IRQ15, and communicating using memory address region D8000 or C8000.  The CPU would send messages to the hard disk controller using its IO address, the card would fetch data from the disk, present it at the memory address above, then raise its IRQ to tell the CPU the fetch was complete.  It would do this for every read or write operation, which is why disk access would slow the computer to a crawl. The CPU was CONSTANTLY being interrupted. That changed with bus-mastering disk controllers, that could be instructed to fetch multiple words from the disk, then instead of presenting it to the CPU through a tiny window and forcing the CPU to do the memory copy operation to get data in and out-- the bus mastering disk controller could grab ahold of a chunk of system memory all by itself (when instructed to do so by the CPU beforehand), and populate it with the requested data, leaving the CPU free to do whatever.  That's where the DMA mode disk IO schemes came into being.  It started with 16bit ISA DMA, and has been improved upon ever since-- but true bus-mastering disk IO only came into being on MCA, VLB, and PCI buses. On the PCI bus, the PCI bridge controller can move around huge chunks of memory to and from the disk without ever involvling the CPU at all! Hundreds of megabytes even!)

It sounds to me more that you had an incorrectly configured PCI card configuration, which caused IRQ conflicts. Those used to happen ALL THE DAMN TIME back in the 286 and 386 era, but stopped in the post 486 era with the vastly improved PCI bridge controllers.

However, it STILL happens on the PCI bus itself.

The way PCI works, is-- as I said-- the bus controller has its own private set of IRQs that it uses to communicate with card slots.  Each slot has a PCI IRQ associated with it.  By specification, there are 4 PCI IRQs.  A, B, C, and D.  If you have more than 4 slots in your machine, then some slots are sharing PCI IRQs. This INCLUDES things like the built-in USB port controller, the built-in soundcard, the built-in ethernet card-- etc. The PCI bridge assigns a real hardware IRQ to each of its PCI IRQs, and then works as a kind of proxy/traffic warden.

However, if your device likes to own that IRQ, it can and will cause problems with other devices sharing that PCI IRQ.  Chronic offenders in the past have been serial ports/modems, NICs, USB controllers, and HDD interfaces. Cards that had to try to share with them were usually soundcards, LPT ports, PS/2 mouse and keyboard port, and video cards. Contentions on the PCI IRQ dont cause the system to hang and refuse to power on, like hardwired IRQ conflicts back in the stone age did.  Instead, they cause the PCI bus controller to have to work VERY hard to synchronize the traffic on the bus, causing some cards to wait while the other is talking, etc.  For devices that demand immediate service, this causes the system to stutter or act "Goofy".

The PCI bridge controllers have improved TREMENDOUSLY since their first introduction in the early 90s-- Back then, you HAD to know about PCI IRQs, and be mindful about what slots you put what cards into, to have your system not act like it had a concrete enema.  These days, you can just about jam any old card into any old slot, and have a system that works reliably.

If you are experiencing goofy behavior, consider freeing up the PCI IRQ that is being conflicted with by other cards, by moving a card or two into another unpopulated slot, and leaving the old slot unpopulated.



But hardware interrupts being a source of permanent damage?  Not unless your PCI bridge controller got toasted trying to field all the traffic control it was having to do!  That kind of thing is ancient history these days!  Seriously, just move your sound card into a different slot.  Just try it. :D


Logged