Buzzing sound on laptop headphone port

Hello,
I’m not anywhere close to being a Linux ‘expert’, but I’ve been dabbling in Ubuntu based distros since Ubuntu came out. I just installed Garuda Linux today, my first Arch based distro.
I installed Garuda on a Dell Latitude 7300 (i5-8265U) a few minutes ago.

When I plug into the 3.5mm headphone jack, there is only a buzzing sound, like if you hold your fingers on all the poles of a powered speaker. (basically short out the speaker connector while it’s powered on).
The buzzing sound sometimes stops after mute/unmute.
There was no sound at all so I opened Garuda Assistant → System Components → Audio and changed it from pipwire to PulseAudio. “speaker-test -c 2” now puts out sound, but that is the only sound I can get from the laptop. (speaker-test had no output until I changed to Pulse)

I googled “arch linux no sound” and that’s how I found the speaker-test command, but I’ve not found anything useful for my predicament.

When I open KDE system settings and try to test the speakers, this is the error message:

Error trying to play a test sound.
The system said: “Invalid state”

If this was a debian based distro, I would remove all the installed sound drivers in Synaptic and reinstall PulseAudio only, but I have no idea how to go about that in Arch.

Any instructions or ideas on how I can fix this would be greatly appreciated. I really like the look and feel of Garuda so far and I’d like to be able to give it a long-term try.

Thanks,
-eric79xxl

output of garuda-inxi:

System:
  Kernel: 6.5.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=26c7acbe-2d02-4952-997a-2397dc8c9b9d rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=2368f34f-1b94-47db-88f3-828a0985c168 loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Latitude 7300 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0PYRY5 v: A01 serial: <superuser required> UEFI: Dell
    v: 1.10.1 date: 08/03/2020
Battery:
  ID-1: BAT0 charge: 44.0 Wh (95.9%) condition: 45.9/60.0 Wh (76.6%)
    volts: 8.2 min: 7.6 model: SMP DELL 5VC2M85 type: Li-poly serial: <filter>
    status: discharging
CPU:
  Info: model: Intel Core i5-8265U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF8
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2934 high: 3891 min/max: 400/3900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 400 2: 3748 3: 3800
    4: 3891 5: 3749 6: 3799 7: 400 8: 3691 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 0bda:565a
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
    compositor: kwin_x11 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x562d built: 2018 res: 1920x1080
    hz: 60 dpi: 166 gamma: 1.2 size: 293x165mm (11.54x6.5") diag: 336mm (13.2")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.8-arch1.1 renderer: Mesa Intel UHD Graphics
    620 (WHL GT2) direct-render: Yes
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  API: ALSA v: k6.5.4-zen2-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.80 status: active with: 1: wireplumber
    status: active 2: pipewire-alsa type: plugin 3: pw-jack type: plugin
    tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-jack
    type: module tools: pacat,pactl
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:4
    chip-ID: 8087:0aaa class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
    lmp-v: 10 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
  Local Storage: total: 223.57 GiB used: 15.16 GiB (6.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SA1000M8240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s
    lanes: 2 tech: SSD serial: <filter> fw-rev: E8FK11.L temp: 36.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 206.39 GiB size: 206.39 GiB (100.00%)
    used: 15.16 GiB (7.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 206.39 GiB size: 206.39 GiB (100.00%)
    used: 15.16 GiB (7.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 206.39 GiB size: 206.39 GiB (100.00%)
    used: 15.16 GiB (7.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 206.39 GiB size: 206.39 GiB (100.00%)
    used: 15.16 GiB (7.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.35 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.88 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 69.0 C pch: 55.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 277 Uptime: 23m wakeups: 16899 Memory: total: 16 GiB
  available: 15.35 GiB used: 5.54 GiB (36.1%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1483 libs: 406 tools: octopi,pamac,paru Shell: fish
  v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.29
Garuda (2.6.16-1):
  System install date:     2023-09-24
  Last full system update: 2023-09-24 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            packagekit.service

Windows dual boot: Probably (Run as root to verify)

no it’s not. only Garuda is installed on the system. I secure erased the SSD before installing Garuda.

Here is the ALSA thing to try, which a good place to start: Advanced Linux Sound Architecture/Troubleshooting - ArchWiki. It seems to suggest killing the Pulse process, if it is still running.

Also try running alsamixer from the command line, and make sure the master channel is unmuted/volume is up. From AlsaMixer you can also press F6 and try switching to a different sound card.

Welcome to the community by the way. :slightly_smiling_face:

2 Likes

I’ve had a terrible experience with Dell laptops & desktops with their cheap headphone jacks going back over 30 years. Sometimes they work, sometimes not–or buzz. Sometimes it depends on the male adapter–like the kinda expensive Koss headphones I use with my Fender amp–and buzzes like heck. Versus my cheapy wired earplugs which work every time.

The last component I’ll really on with Dells are headphone jacks, but that’s the only compys I buy. Funny, that.
:wink:

1 Like

From what you describe it seems pipewire doesn’t work very well for you. That’s fine you can definitely check out pulseaudio however, having two or more sound servers is not a good idea. Especially pipewire and pulseaudio together is a no go. You can confirm it on pipewire’s wiki where they explicitly mention to disable and remove all services related to pulseaudio before using pipewire. So going with that and with convenience in mind,

From garuda assistant → system components → audio subsection:

  1. “uncheck” pipewire support
  2. “check” :white_check_mark: pulseaudio support, Alsa support and Jack support then hit apply
  3. reboot and check.

You can definitely do it all manually with pacman and systemd. (installing the packages and disabling services)

2 Likes

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