LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2011, 11:38 PM   #1
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Rep: Reputation: Disabled
crackling audio at all volumes


Hello, this is my first post on this or any Linux forum. I've been using Linux for about two years, but until now I've always been able to solve my problems by using Google to search the various forums. I am using Gentoo and Gnome.

The problem I'm having now is that I'm getting a crackling/sizzling noise from my speakers and headphones. It happens whenever there is a program open which plays audio: foobar2000 (wine), vlc, hulu desktop, the youtube player, etc. It makes the noise regardless of whether or not the programs are playing anything, but stops when all such programs are closed. The volume of this noise remains constant when I turn the volume up and down, even if I turn the volume all the way to zero. It does however stop when I use "mute". As far as I know this started happening on its own, and not because of something I changed. I'm putting this in "software" instead of "hardware" because I do not have this problem when I log in as root, which is the only other user on this machine.

I found two threads here that seem related:

http://www.linuxquestions.org/questi...sounds-304930/

http://www.linuxquestions.org/questi...-audio-141221/

These indicate that my problem is related to pci card interference or overusage, but neither provides a solution and as far as I know that doesn't explain why this only happens for one user. All other audio crackling related threads that I could find say that it is related to the volume, which mine is not.

Any help is appreciated and of course pointers on forum etiquette are also welcome, this being my first post and all.

Last edited by -Thomas-; 06-05-2011 at 02:15 PM.
 
Old 06-05-2011, 05:00 PM   #2
darthaxul
Member
 
Registered: Aug 2008
Distribution: Devuan; Gentoo; FreeBSD
Posts: 236

Rep: Reputation: 19
em noise

Try a diferent player like mplayer, or even an entirely different backend like xine or pulseaudio
 
Old 06-05-2011, 05:09 PM   #3
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Original Poster
Rep: Reputation: Disabled
Thank you for your reply. I am about to leave the house and won't have time to try switching out software until late tonight, but I'll give it a shot. If you have a chance, could you please explain why you think that might work?

Edit:

I should explain that the reason I haven't tried what you suggested before is that I understand very little about the way Linux handles audio. What exactly would xine or pulseaudio be replacing? And I should have worded my question differently: Do you suspect that this is the solution to my problem, or is it just the first step in diagnosing the problem?

Last edited by -Thomas-; 06-05-2011 at 05:19 PM.
 
Old 06-05-2011, 09:04 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Try creating a new user and testing as the new user. This might help zero in on the scope of the problem.

If they work just fine for new user, this would indicate that something was screwy specifically with old user's config files, but for the life of me I have no idea what it might might be.
 
1 members found this post helpful.
Old 06-05-2011, 09:41 PM   #5
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Original Poster
Rep: Reputation: Disabled
Good idea, Frank, thanks. I'm currently logged in as a new user called "test" and the aduio is crystal clear, or as clear as this little netbook is capable of, anyway. So, the problem is most likely a configuration error that's specific to my user. That's interesting. Does anyone have any idea what it could be?

EDIT:

The noise is now gone as my normal user as well. I I probably should have included in my first post that a week or two ago it made this noise for about ten minutes and then stopped. More recently the noise was there for several days, and so I assumed (incorrectly, it looks like) that an intermittent problem had become permanent. During the several days, though, the root user was not having the problem.

It's difficult to troubleshoot a problem I'm not having, but I don't know whether or not it's going to come back. How should I mark this thread?

Last edited by -Thomas-; 06-05-2011 at 09:53 PM.
 
Old 06-06-2011, 07:24 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Intermittent problems are the worst kind.

You have my sympathy.

Is there a source of interference anywhere near, like, maybe, a refrigerator on the other side of the wall? Admittedly it's a long shot, but a new refrigerator on the other side of the wall killed the RS-232 serial comm of one of my ex-company's access control servers once.

Last edited by frankbell; 06-06-2011 at 07:32 PM. Reason: punctuation
 
Old 06-06-2011, 09:00 PM   #7
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Original Poster
Rep: Reputation: Disabled
The computer that's having the issue is a laptop. I didn't try taking it out of the house while I was having the problem, but I did have it in several rooms. Next time it happens I'll try using it somewhere away from the house. Thanks for your help.
 
Old 06-08-2011, 11:43 PM   #8
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Original Poster
Rep: Reputation: Disabled
The issue came back for a couple of hours earlier today, but was behaving differently. It was only there when something was playing instead of whenever any software was running that could play sound, and I got it to go away by muting and unmuting a bunch of times. I'm still hoping someone has seen something like this before...
 
Old 06-09-2011, 03:39 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What I recommend is that you clean off all the dust from all the connectors and from inside the case. I've also found that any voltage variation in the case can cause noise in the speakers, and that noise is much more common with bad speakers and a bad sound card.
 
Old 06-09-2011, 08:35 PM   #10
-Thomas-
LQ Newbie
 
Registered: Jun 2011
Location: Texas
Posts: 25

Original Poster
Rep: Reputation: Disabled
I took the access panel off the bottom and blew the case out with an air duster. Some dust did some out of a vent near the audio ports. I can't get to any of the connectors without taking the case apart a lot more than I've ever attempted to. I have an Ubuntu bootable flash drive ready so that if it happens again I can try it from a different OS.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HVR 1600 Crackling Audio Richard Rahl Linux - Hardware 6 11-19-2010 05:41 PM
my audio makes crackling and scratching sounds newbiesforever Linux - General 4 08-13-2008 12:08 AM
Crackling audio Ryknow215 Linux - General 1 02-01-2004 10:45 PM
AC'97 Crackling Ken Ju-On Linux - Hardware 10 08-27-2003 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration