Skip to main content
Topic: [SOLVED] Hum on the Line Out output of my sound card (Read 971 times) previous topic - next topic
0 Members and 6 Guests are viewing this topic.

[SOLVED] Hum on the Line Out output of my sound card

                   '                      jp@jp-artix
                  'o'                     -----------
                 'ooo'                    OS: Artix Linux x86_64
                'ooxoo'                   Kernel: 5.10.12-artix1-1
               'ooxxxoo'                  Uptime: 27 mins
              'oookkxxoo'                 Packages: 1263 (pacman)
             'oiioxkkxxoo'                Shell: bash 5.1.4
            ':;:iiiioxxxoo'               Resolution: 1920x1080
               `'.;::ioxxoo'              DE: Xfce
          '-.      `':;jiooo'             WM: Xfwm4
         'oooio-..     `'i:io'            WM Theme: Daloa
        'ooooxxxxoio:,.   `'-;'           Theme: Adwaita [GTK2/3]
       'ooooxxxxxkkxoooIi:-.  `'          Icons: oxygen [GTK2], matefaenzadark 
      'ooooxxxxxkkkkxoiiiiiji'            Terminal: xfce4-terminal
     'ooooxxxxxkxxoiiii:'`     .i'        Terminal Font: Roboto Mono 14
    'ooooxxxxxoi:::'`       .;ioxo'       CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz
   'ooooxooi::'`         .:iiixkxxo'      GPU: AMD ATI Radeon 540/540X/550/550X
  'ooooi:'`                `'';ioxxo'     Memory: 2412MiB / 16001MiB

----

jp-artix:[jp]:~$ cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfce60000 irq 96
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc900000 irq 98
----

jp-artix:[jp]:~$ cat /etc/asound.conf
defaults.pcm.card 1
defaults.ctl.card 1

---

jp-artix:[jp]:~$ pacman -Qs | grep alsa
local/alsa-card-profiles 1:0.3.21-1
local/alsa-firmware 1.2.4-2
    Firmware binaries for loader programs in alsa-tools and hotplug firmware loader
local/alsa-lib 1.2.4-3
local/alsa-plugins 1:1.2.2-2
local/alsa-topology-conf 1.2.4-2
local/alsa-ucm-conf 1.2.4-2
local/alsa-utils 1.2.4-2
local/alsa-utils-openrc 20200622-1 (openrc-world)
    OpenRC alsa-utils init script
local/zita-alsa-pcmi 0.3.2-3
    The successor of clalsadrv, provides easy access to ALSA PCM devices.

---

jp-artix:[jp]:~$ pacman -Qs | grep pulse
local/libcanberra-pulse 0.30+2+gc0620e4-3
local/libpulse 14.2-2
local/pulseaudio 14.2-2

---

Hello,

For some time now, I have had a hum on the Line Out output of my sound card which I connected to an amplifier.
This buzzing stops as soon as I run pavucontrol !?

I tried all the possibilities in the "Configuration" tab.
The HDMI output is off and my analog card is in use. And even if I configure it as "analog stereo output", the hum resumes a few seconds after closing pavucontrol.

At the moment, I am leaving pavucontrol open all the time to avoid this inconvenience, as I have tried unsuccessfully to work around this problem ...

Thank you in advance for your help.

Re: Hum on the Line Out output of my sound card

Reply #1
The internal sound card of the computer is most likely the problem. These onboard audio components are very cheaply made, meaning they are not designed to avoid interference from other components and power lines inside the computer and they also don't have the filtering to remove interference once it enters the audio path.

Get an external audio interface: usb or dedicated breakout cable.

but...
this problem can cause alsa settings too. please see https://askubuntu.com/questions/220223/constant-noise-in-speakers-and-headphones

Re: Hum on the Line Out output of my sound card

Reply #2
The internal sound card of the computer is most likely the problem.../...
but...
this problem can cause alsa settings too. please see https://askubuntu.com/questions/220223/constant-noise-in-speakers-and-headphones
Thank you for your proposed solution.

I have tried all possible settings in alsamixer and pavucontrol. I disabled Auto-mut, Loopback, Line Boost and Micro Boost. Nothing stops this buzzing except when I run pavucontrol ...

I am willing to believe that these integrated sound cards are not great. But what I don't understand is that everything was working fine under Artix open-rc and suddenly this problem appeared a few weeks ago.

It seems to me it was after the pulse and alsa updates ...

Re: Hum on the Line Out output of my sound card

Reply #3
if it stops humming after starting pavucontrol, then it will probably be a problem with some settings , i guess

Re: Hum on the Line Out output of my sound card

Reply #4
if it stops humming after starting pavucontrol, then it will probably be a problem with some settings , i guess
I've been thinking this for a while, but I believe I've tried everything and even checked my cables. I have nothing connected to the microphone inputs.

On the other hand, I just booted an Artix XFCE Open-RC USB key and there, no buzzing!

Okay, I'm not going to bother you with that; I automatically launch pavucontrol at startup.

Re: Hum on the Line Out output of my sound card

Reply #5
I found a solution to remove this hum on audio output 1 thanks to this page:
https://wiki.gentoo.org/wiki/Power_management/Soundcard

So, I did this :
sudo touch /etc/modprobe.d/audio_powersave.conf
sudo mousepad /etc/modprobe.d/audio_powersave.conf

And I put this:
# For HD audio cards:
options snd_hda_intel power_save=0

Thus power saving of this audio card is deactivated when the system is started.
The audio card is therefore constantly activated and the hum has disappeared.  8)

N.B. This problem appeared one day, when I had not modified the sound parameters and even less the system parameters ...
P.S. And finally to top it off, I deleted pulseaudio  8)