Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-16-2022, 08:03 PM
|
#1
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 171
Rep:
|
Interference noise when using external amp through line-out
Hi there, I hope someone can help with this problem. I have my pc outputting audio via the line-out of the motherboard (Asus Z370P) into an amp (Pioneer A-400). There is interference which I don't really understand. When I have the volume up at listening level maybe 4 there is a horrible resonant interference from both speakers. I have some Rega Ara speakers connected. They work flawlessly with the amp when used with other sources so it's not them or the amp.
When I connect the amp to the pc via the RCA to 3.5mm jack, and play a music file it works perfectly. It's when nothing is playing that the interference comes. When I am on the desktop or browsing there is the interference all the time. It sort of feels like a fan. Maybe the PSU fan or a chassis fan. It seems to be when the sound hardware is being used there is no interference, it works perfectly. And when the operating system tells the sound hardware to turn off it allows the interference to come out.
What I am doing now to deal with it now is turning the volume knob on the amp all the way down until I want to listen to something and then I turn it up when there is music or sound playing and it works but it is not ideal.
I can play a music file in VLC and play it or mute it and there is no interference whatsoever but once I press pause or stop, the interference returns in about 3 seconds.
I'm using Linux Mint 20 Ulyana, I don't think this has any bearing on the interference but maybe if there was something I could do with the realtek chipset it might help.
Up until today I was using a Dell Soundbar with USB audio which caused no problems but the sound quality from the Pioneer and Rega speakers is so much better and I would love to keep using them. - thanks
|
|
|
09-16-2022, 08:08 PM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Hard to tell, description points to some electrical feedback from output to input, have you tried to relocate the cable, another cable maybe. Are there any cables involved inside of case or you plug it directly into motherboard? Have you tried muting all inputs in mixer?
|
|
1 members found this post helpful.
|
09-16-2022, 08:18 PM
|
#3
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 171
Original Poster
Rep:
|
I have it plugged straight into the motherboard so at the back of the pc case. I have tried relocating the cable. It doesn't make any difference. There is only so much relocating I can do with it but I did keep it away from any power cables. I don't know how to get to a sound mixer. Is there one I can install? I just have the basic one that comes with Linux Mint and there is an input tab but it just says there are no input sources. Is there a command line tool to check microphone inputs? I don't have a microphone connected but it could be something like that.
|
|
|
09-16-2022, 08:36 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,009
|
These commands might provide some clues about input devices and their levels..
If you have pavucontrol (graphical mixer for pulseaudio) installed, you could check settings using that.
|
|
2 members found this post helpful.
|
09-16-2022, 08:36 PM
|
#5
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
ALSA has command line tool 'amixer' which can display all inputs and their state. Mint uses PulseAudio, I have no experience with it. Basically, PulseAudio sits on top of ALSA and commands it, so there should be a full mixer application you can install from Mint repos.
Edit: ferrari knows better and types faster.
|
|
1 members found this post helpful.
|
09-17-2022, 12:43 AM
|
#6
|
Senior Member
Registered: Jul 2020
Posts: 1,560
|
Quote:
Originally Posted by breadbin
When I connect the amp to the pc via the RCA to 3.5mm jack, and play a music file it works perfectly. It's when nothing is playing that the interference comes.
|
And it starts about 5 seconds after music stops, right? It happens because when nothing is played pulse turns off the sound hardware to conserve a miniscule amount of electricity; amplifier, not detecting any input, winds AGC to the max and starts amplifying whatever is left - interference. Disable powersave in all pulse configuration files /etc/pulse/*.pa (usually there are two of them: default.pa and system.pa) by deleting or commenting out 'load-module module-suspend-on-idle' line and restart pulse.
|
|
1 members found this post helpful.
|
09-17-2022, 04:47 AM
|
#7
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 317
Rep: 
|
PulseAudio mixer is started with pavucontrol in your GUI.
Mute everything except used audio output. Normally used audio output is something like "HD Audio Controller Analog Stereo" (PC: "line out", light green 3,5 mm jack at rear side) for connection with an amplifier.
|
|
|
09-17-2022, 06:57 AM
|
#8
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 171
Original Poster
Rep:
|
Quote:
Originally Posted by lvm_
And it starts about 5 seconds after music stops, right? It happens because when nothing is played pulse turns off the sound hardware to conserve a miniscule amount of electricity; amplifier, not detecting any input, winds AGC to the max and starts amplifying whatever is left - interference. Disable powersave in all pulse configuration files /etc/pulse/*.pa (usually there are two of them: default.pa and system.pa) by deleting or commenting out 'load-module module-suspend-on-idle' line and restart pulse.
|
This worked...but now I have another interference problem in that the mouse and keyboard are making funny noises, actually I don't think it is the mouse itself but when I do something it increases the cpu effort or something. Scrolling through a website produces constant noise, even with the mouse or arrow keys. It sort of sounds like the hard disk accessing but it is an SSD. Something to do with the video card maybe? I had a terminal open and there was a constant popping and when I looked at the cursor I noticed the sound was corresponding to the cursor in the terminal flashing and stopped when it stopped. Weird. Same here now I can hear popping when I type a letter and even the little cursor in this page is causing a sound. I don't know. Thanks for the help so far.
Update:
Well it's not the HDMI cable. I disconnected it and used the keyboard to scroll this page and the noise was still there even though there was no connection. I removed all other usb devices so it is literally just the keyboard and mouse plugged in. I actually disconnected the monitor and it made no difference. Tried different inputs on the amp, Tape 1, Tape 2 and Line and all the same. Headphones plugged into the back of the PC work perfectly and walkman plugged into amp works perfectly too.
Here is the output from 'amixer' maybe someone can see something funny.
Quote:
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 45 [70%] [-19.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [off]
Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 254 [100%] [-0.20dB]
Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 28 [61%] [12.00dB] [on]
Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Line'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
|
Last edited by breadbin; 09-17-2022 at 07:46 AM.
|
|
|
09-17-2022, 08:05 AM
|
#9
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 171
Original Poster
Rep:
|
Well I decided to check another amp and it works perfectly. A similarly aged one and same Pioneer brand, the A-441.
I didn't think it was a Linux issue at all but maybe some other people had a similar problem here. I did check it in the BIOS too and it was making the noise so I guess the A-400 I have is just not compatible or too sensitive or whatever. Pity but it works perfectly fine with other sources. Thanks for all the help. Glad I had another amp on hand to check before spending money on filters and cables and what not 
|
|
|
All times are GMT -5. The time now is 03:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|