Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Switching Tracks Causes 100% Cpu Usage (Read 1391 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Switching Tracks Causes 100% Cpu Usage

About a year ago now i was having really bad stuttering while playing games. I couldn't figure it out for the life of me. I tried a lot of things to try and fix the problem. First i reformatted my OS drive. I thought for sure it was a windows problem. After installing what i needed to get up and running i tried to recreate the problem, which didn't take long. After that didn't work i thought it had to be a faulty motherboard. I had a problem with that Motherboard in the past so i went out and bought a completely different board. I then reinstalled windows and got it back to where it was before with all my software. I tried to recreate the problem again and it happened right away. Then i started thinking that since i only notice this when playing games, it might be the video card(which would make since). My old video card was starting to show its age so i went out and bought a new card. Well That also didn't work. I tried using a power supply from a different build, thinking that maybe the voltage was dipping too much, that also didn't work. I always listen to music while playing games, so it occurred to me that maybe it was foobar. As soon as i shut it off, all problems went away. I never noticed this in the past because i was using a different player. Since i knew what the problem was, it wasn't bothering me as much.

Fast forward a few months:
I decided to put more of my music on my computer. Foobar added the tracked to the library and i started playing some music. Then i noticed that when it would transition to a new track or if i hit next track, my computer would feel sluggish. I opened up the task manager to look at the cpu usage, it was at about 5%. I switched tracks again and it shot up to 100% for a few seconds. I defragged my music drive thinking that maybe it was just too fragmented. That didn't help at all.

Does Foobar have a database limit or something? The only reason i ask is because the problem wasn't this bad a few days ago, and i have a lot of music on my computer now.
I have been ripping my music a little at a time for about 10 years now. I was ripping to mp3's for awhile, until i found out about flac, so its all mp3 and flac.

Computer Specs:
cpu: Intel Core i5 2500k
motherboard: Asus P8Z77-V Pro
ram: Corsair 2x8gb 1600 ddr3
power supply: FSP 750w
video card: Evga gtx 780
sound card: Asus Xonar D1 (using the unified drivers)
headphone amp: Livewire ha04
headphones: Beyerdynamic DT770 Pro 80ohm

Any help would be greatly appreciated.
Thanks

Switching Tracks Causes 100% Cpu Usage

Reply #1
What kind of foobar2000 configuration are you using? With regular setup changing track shouldn't cause any extra stress. I recommend trying with a clean portable install and see if that behaves as expected. Complex configuration where third party components perform heavy tasks on each track change, having your files in compressed archives and using full file buffering are some things that would cause extra CPU usage and delay on track change but it's hard to imagine that you get all four cores to 100% usage with these.

Switching Tracks Causes 100% Cpu Usage

Reply #2
My guess: foo_uie_lyrics3
"I hear it when I see it."

Switching Tracks Causes 100% Cpu Usage

Reply #3
Thank you both. First i started with a portable copy, everything worked fine. Then i copied my theme and components to the portable version and i started lagging again. Removed foo_uie_lyrics3, loaded foobar back up and everything was good.

Switching Tracks Causes 100% Cpu Usage

Reply #4
I use that plugin and I don't get 100% usage when switching tracks. Is there any particular reason it would do that?

Switching Tracks Causes 100% Cpu Usage

Reply #5
The issue does not seem to affect the majority of users (http://www.hydrogenaud.io/forums/index.php...p;hl=cpu+spikes & http://www.hydrogenaud.io/forums/index.php...st&p=863578), but a subset of machines. Removing just Online DB: lyrics.mirkforce.net, which no longer works, from the search order box has been reported to fix the problem (http://www.hydrogenaud.io/forums/index.php...st&p=864933).