Speakers picking up system noise

Is there a setting in Manjaro that can filter system electronic noise out?
Is there a setting to restore normal function of the laptop speakers?

My system has external speakers, plugged into the headphone jack and USB. They pick up sounds associated with the HD or DVD electronics.

For other reasons I just did a full reinstall of Manjaro. This moved my system back from the latest RT kernel to the default 5.15. The problem occurred before this, too. The laptop speaker sound was scratchy, so resorted to the external speakers.

Since the reinstall the laptop speakers do not work when the external speakers are unplugged.

Before the reinstall, both the external speakers and the laptop speakers would run simultaneously. Only adjusting the left-right speaker balance so output was left side only, stopped the laptop speaker noise. In the old install, I’d adjusted settings and had many programs installed.

Now, I’m in a fresh re-install of Manjaro. Everything is at the default-- excepting the volume level that had to be increased. The program being run that requires sound is Firefox. (Prior to reinstall this was FF & Falkon)

Any ideas on how I can fix this?

System:
  Host: xxxxxxx Kernel: 5.15.28-1-MANJARO x86_64 bits: 64 compiler: gcc
    v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxx   rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion g7 Notebook PC
    v: 058F100014204610000620100 serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 166A v: 08.38 serial: <superuser required>
    BIOS: Insyde v: F.63 date: 03/22/2012
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3b56 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes

I just ran:

journalctl --boot --priority=err
Mar 23 14:59:33 xxxxxx kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Mar 23 15:00:38 xxxxxx pulseaudio[847]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply>
~

A Google search brought up a solution but it is for Ubuntu… Would the solution be similar in Manjaro?

cp /usr/share/gdm/default.pa ~/.config/pulse/

As mentioned by some forum members that this can remain as is, i personally always make sure that just one sound server is running. Is up to you. By reinstalling manjaro-pulse and some of the optional dependencies (depending what you need and want) you will use only puleseaudio server. By reinstalling manjaro-pipewire and again, take a look at the optional dependencies that you might need or want, it will run only the pipewire server. After the install of whatever you decide to use, a reboot of the system is necessary.

This might come handy
https://wiki.archlinux.org/title/PulseAudio/Troubleshooting

https://wiki.archlinux.org/title/PipeWire

From what i gathered, there are quite a few members here with

in their machines and no audio issues. Have you tested a different OS to trim out the possibility that is something hardware related?

Thank you for your answer. I will read links and try your suggestions. Pipewire came to my notice at the point when my system began having sound issues.

In an old version of Knoppix, boot disk, the audio came over the laptop speakers with no static.

Since the noise now carries over to the external speakers in stereo- like when HD writes, etc, I guess it could be a major hardware malfunction that controls the audio or ports… If I get bored I’ll rip her open again test a spare set of pavilion speakers.

Thank you for your help. I’ll let you know how it goes.

Okay- I’ve reinstalled pulse and some of the dependencies, then did a reboot. During the process Pacman GUI showed a pulse conflict with some pipewire…stuff. Pulse reinstall apparently did not knock pipeware off (damnit) but the noise is not as loud on the speakers, I’d call it now “a faint noise” in comparison to just before install and reboot. I can live with that!

Thank You.

[laurie@xxxxxxxxx ~]$ journalctl --boot --priority=err
Mar 24 14:27:06 nobody kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Mar 24 14:28:17 nobody pulseaudio[912]: GetManagedObjects() failed: org.freedes>
[laurie@xxxxxx ~]$ swapon
NAME      TYPE       SIZE USED PRIO
/dev/sda1 partition 15.2G   0B   -2
[laurie@xxxxxx ~]$ inxi -Fazy
System:
  Kernel: 5.15.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion g7 Notebook PC
    v: 058F100014204610000620100 serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 166A v: 08.38 serial: <superuser required>
    BIOS: Insyde v: F.63 date: 03/22/2012
CPU:
  Info: model: Intel Core i3 M 380 bits: 64 type: MT MCP arch: Westmere
    family: 6 model-id: 0x25 (37) stepping: 5 microcode: 0x7
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1441 high: 1463 min/max: 933/2533 scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1463 2: 1463 3: 1409
    4: 1432 bogomips: 20224
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Core Processor Integrated Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel ports: active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0046 class-ID: 0300
  Device-2: Chicony HP Webcam-101 type: USB driver: uvcvideo bus-ID: 2-1.5:4
    chip-ID: 04f2:b293 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: modesetting alternate: fbdev,vesa gpu: i915 display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.7x9.4")
    s-diag: 485mm (19.1")
  Monitor-1: LVDS-1 model: LG built: 2009 res: 1600x900 hz: 60 dpi: 106
    gamma: 1.2 size: 382x215mm (15.0x8.5") diag: 438mm (17.3") ratio: 16:9
    modes: 1600x900
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3b56 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter vendor: Hewlett-Packard
    driver: rtl8192ce v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000
    bus-ID: 02:00.0 chip-ID: 10ec:8176 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: eno1 state: down mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 16.12 GiB (3.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000BPKX-22HPJT0 size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 302.09 GiB size: 296.28 GiB (98.08%)
    used: 16.12 GiB (5.4%) fs: ext4 dev: /dev/sda3 maj-min: 8:3
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 15.23 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda1 maj-min: 8:1
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 183 Uptime: 11m wakeups: 1 Memory: 3.64 GiB
  used: 1.28 GiB (35.3%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1182 lib: 327 flatpak: 0
  Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.13

pipewire does not have to be removed, just the sound server to be stopped, and that should have happened already … hmm - they are still both running.
I will ping @nikgnomic and kindly ask if has some idea, because i don’t, especially if that noise is still present …

THANKS!
Just to keep you updated of what I’m changing- right at the moment, i’m experimenting with a couple modifications from your arch pulse audio troubleshooting link (under Glitches…) I’ve added load-module module-udev-detect tsched=0 and restarted the server. The result seems okay with external. The laptop spkrs have muffled, one-side sound, not scratchy but not nice/ clear. And I’ve just added /etc/modprobe.d/sound.conf options snd-hda-intel vid=8086 pid=8ca0 snoop=0 but need to reboot I think to see any results.

1 Like

nothing new to report after reboot…

Might have found something-- I wondered what program used pipewire - so looked at dependencies. Found difference between pipewires— manjaro-pipewire 20220217 is available but was not installed and just plain pipewire 1:03.8-1 is installed.

the plain pipewire will be always installed, is required for other packages.
the manjaro-pipewire is a metapackage to properly switch to use the pipewire server.

Thank you for the solution.
I tried to get rid of pipewire- it ran due to pipewire.sockets. It would not uninstall. But, it’s no longer running :slight_smile:

systemctl --user disable pipewire pipewire.socket
systemctl --user mask pipewire pipewire.socket

reboot

inxi -Fazy
<relevant audio output only>
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3b56 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: no

The sound in my external speakers is working; none to only very faint noise.
The only problem now was pre-existing: the laptop speaker sound. But it’s great not to have to listen to the HD chirp if I forget to mute the external speakers!

This is what i tried/did & set back to defaults.

restored changes I tried based on Arch Pulse audio page

restored the timer-based schedule /etc/pulse/default.pa
to load-module module-udev-detect
(removed my edit: tsched=0 )

removed the options line added to
/etc/modprobe.d/sound.conf
(options snd-hda-intel vid=8086 pid=8ca0 snoop=0)
and
commented back 2 lines in /etc/pulse/daemon.conf so it’s at the default state
I’d tested at 3, 5.(this might have had slight positive effect on the laptop spkrs)

; default-fragments = 4
; default-fragment-size-msec = 25

This doesn’t look so good though:
journalctl --boot --priority=err

Mar 24 20:17:48 xxxxx kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Mar 24 20:18:53 xxxxx pulseaudio[886]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include>
Mar 24 20:31:27 nobody pulseaudio[886]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Mar 24 20:31:27 xxxxx pulseaudio[886]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Mar 24 20:31:27 xxxxx pulseaudio[886]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avai>
~

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.