[SOLVED] Persistent Static noise coming over monitor speakers when playing audio

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

[SOLVED] Persistent Static noise coming over monitor speakers when playing audio

Post by BestOrange »

Hi all,

Been using linux mint for a couple years now. Built my own PC a couple months ago and decided to keep using it as my daily-driver.

Since I have started using this computer setup, I have had random instances where the monitor speakers will emit a static... echo? Of the audio that's being played. Sometimes I can play music for several hours with no unwanted noise at all only for it to start making noise out of nowhere.

Regardless of whether the noise is happening while playing music, I cannot recall a single time I have started up the system where the chime that plays when I log into Cinnamon didn't sound garbled and staticy.

I have held off this long on making a bug report because it is so finicky and random with what triggers it or what cures it. I was hoping I could find some sort of pattern with it, but any triggers or cures only take effect some of the time.

The only consistent trigger I have noticed is the onboard voice synthesizer, which is especially problematic because I rely on the text to speech program for school.

I have noticed that having discord booted up, either the app (Flathub ver 0.0.45 atm), or the web browser (Firefox System Package 123.0.1+linuxmint1+virginia) version, will have the noise intrude shortly after.

In the past, restarting the system did remedy the persistent noise when I would play music (although again, there is always static during startup with the Cinnamon DE startup chime), but that no longer works as a solution as of a couple days ago. Maybe of Note: I did apply a host of system updates around this time.

The other day I got it to stop by opening up the display settings, lowering my frame-rate, then moving it back up to 99.98 HZ. I have not been able to replicate this.

This noise does not occur over HDMI (also through the graphics card), through audio played over my case's front headphone jack, or through integrated graphics (using the same wire). Only through DisplayPort when plugged into either GPU DP socket.

I will attach the monitor model, system info, and system-logs labeled "important" at the bottom of this. If there is any information I could provide that would be helpful, please don't hesitate to let me know. I'm a CS student, so I would say I'm not totally in the dark, but I have never meaningfully engaged with LM forums or filed a bug report before.

Any and all help, suggestions, advice appreciated. This has been driving me CRAZY.

MONITOR MODEL_______________________________
Asus VP349CGL 34.0" 3440 x 1440 100 Hz Monitor

SYSTEM INFO__________________________________

Code: Select all

System:
  Kernel: 6.1.0-1035-oem x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B650-PLUS v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 2214 date: 01/02/2024
Battery:
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A status: N/A
CPU:
  Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP smt: enabled arch: Zen 3 rev: 2
    cache: L1: 512 KiB L2: 8 MiB L3: 96 MiB
  Speed (MHz): avg: 3013 high: 3836 min/max: 3000/5012 boost: enabled cores: 1: 3739 2: 2877
    3: 2874 4: 2872 5: 2790 6: 2870 7: 2869 8: 3000 9: 3836 10: 2740 11: 3000 12: 2868 13: 2869
    14: 2863 15: 3368 16: 2788 bogomips: 134393
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD vendor: Sapphire driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-1 empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300
  Device-2: AMD vendor: ASUSTeK driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
    active: none empty: DP-3,HDMI-A-3 bus-ID: 0e:00.0 chip-ID: 1002:164e class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 910x381mm (35.8x15.0") s-diag: 987mm (38.8")
  Monitor-1: DisplayPort-0 mapped: DP-1 model: ASUS VP349CGL serial: <filter> res: 3440x1440
    dpi: 109 size: 800x345mm (31.5x13.6") diag: 871mm (34.3") modes: max: 3440x1440 min: 720x400
  OpenGL: renderer: GFX1100 (gfx1100 LLVM 15.0.7 DRM 3.49 6.1.0-1035-oem)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 03:00.1
    chip-ID: 1002:ab30 class-ID: 0403
  Device-2: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0e:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0e:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k6.1.0-1035-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: e000 bus-ID: 0a:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 0b:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp11s0 state: up mac: <filter>
  IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-8:3 chip-ID: 8087:0029
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 237e hci-v: 5.2 rev: 237e
Drives:
  Local Storage: total: 1.82 TiB used: 805.16 GiB (43.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 5B2QGXA7 temp: 36.9 C scheme: GPT
Partition:
  ID-1: / size: 1.79 TiB used: 402.58 GiB (22.0%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-6:4 info: Apple iPhone 5/5C/5S/6/SE type: Still Imaging driver: usbfs
    interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 05ac:12a8 class-ID: 0601
    serial: <filter>
  Device-2: 1-7:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Device-3: 1-8:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Cherry GmbH Corded Device type: Keyboard,HID driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 100mA chip-ID: 046a:c098 class-ID: 0300
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 7-1:2 info: SHARKOON GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
    type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 1ea7:0064 class-ID: 0301
  Hub-8: 8-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 48.0 C mem: 51.0 C fan: 0 watts: 17.00 device: amdgpu temp: 41.0 C
Repos:
  Packages: 2820 apt: 2785 flatpak: 35
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
    1: deb https: //repo.radeon.com/amdgpu/6.0.1/ubuntu jammy proprietary
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https: //repo.radeon.com/amdgpu/6.0.1/ubuntu jammy main
    2: deb-src https: //repo.radeon.com/amdgpu/6.0.1/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.fcix.net/linuxmint-packages virginia main upstream import backport
    2: deb http: //mirrors.accretive-networks.net/ubuntu jammy main restricted universe multiverse
    3: deb http: //mirrors.accretive-networks.net/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //mirrors.accretive-networks.net/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/6.0.1 jammy main
  Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 430 Uptime: 1h 9m wakeups: 1 Memory: 30.56 GiB used: 5.01 GiB (16.4%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13

SYSTEM LOGS_______________________________

Code: Select all

Error opening PCM device front:2: No such file or directory

gkr-pam: unable to locate daemon control file

Failed to start casper-md5check Verify Live ISO checksums.

hub 8-0:1.0: config failed, hub doesn't have any ports! (err -19)
Last edited by BestOrange on Sat Mar 16, 2024 2:30 pm, edited 2 times in total.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Wed Mar 13, 2024 3:51 pmThe only consistent trigger I have noticed is the onboard voice synthesizer, which is especially problematic because I rely on the text to speech program for school.
Welcome to the forum, BestOrange.

What do you mean by "the onboard voice synthesizer"? What is that?

Have you tried the Bad Sound Fix Tips #1 about disabling the timer-based scheduling pulseaudio now uses? (Scroll down the page to the Bad Sound Fix Tips.)
BestOrange wrote: Wed Mar 13, 2024 3:51 pmThis noise does not occur over HDMI (also through the graphics card), through audio played over my case's front headphone jack, or through integrated graphics (using the same wire). Only through DisplayPort when plugged into either GPU DP socket.[/b]
And you have tried a different DP cable?

As a start, I suggest you upgrade to the 6.5 kernel available in Update Manager. A 7000 series Ryzen needs to be using the newest available kernel.

I also recommend you run

Code: Select all

sudo update-pciids
to get the latest names available for your GPUs.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by BestOrange »

And you have tried a different DP cable?
I have not. Money is tight, and I am inclined to think the cable is okay since it works fine when I plug into my MoBo and use integrated graphics. However I do intend to try it if software fixes prove ineffective.
What do you mean by "the onboard voice synthesizer"? What is that?
It's listed as "screen reader" under accessibility options. I primarily use it to speak text from PDF using Okular.

The program it starts up is called "speech-dispatcher' under system monitor.

If the voice synthesizer so much as speaks a word, the audio issue is amplified by a couple orders of magnitude for any audio playing until I manually kill "speech-dispatcher," even if the voice synthesizer is not reading anymore.


Following along one step at a time to pinpoint the solution in case of success.

As a start, I suggest you upgrade to the 6.5 kernel available in Update Manager.
Done. Rebooted. System info notes Linux Kernel 6.5.0-25-generic.

I also reccomend you run ... to get the latest names available for your GPUs.
Done. Thank you for that. That was annoying me lol.

Have you tried the Bad Sound Fix Tips #1 about disabling the timer-based scheduling pulseaudio now uses?
Thank you for pointing me towards this. Attempted to implement these with varying levels of success:

*Tip #1
Done, although it did output a warning:

Code: Select all

** (xed:7641): WARNING **: 18:38:40.693: The specified location is not mounted

*Tip # 2
N/A

*Tip #3
Done, with a similar warning as above.

Code: Select all

** (xed:7847): WARNING **: 18:42:28.920: The specified location is not mounted

*Tip #4
The terminal did not like this one. Couldn't even fine the config file.

Code: Select all

** (xed:8040): WARNING **: 18:45:10.662: The specified location is not mounted

   ** (xed:8040): CRITICAL **: 18:45:18.963: xed_conversion_error_info_bar_get_encoding: assertion 'menu' failed
I do not understand fully what those warnings mean, but they seem significant, no?
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Wed Mar 13, 2024 9:52 pm
Have you tried the Bad Sound Fix Tips #1 about disabling the timer-based scheduling pulseaudio now uses?
Thank you for pointing me towards this. Attempted to implement these with varying levels of success:

*Tip #1
Done, although it did output a warning:

Code: Select all

** (xed:7641): WARNING **: 18:38:40.693: The specified location is not mounted
#1 was the only one I suggested doing. I did not suggest trying all four tips. I specifically said #1.

At what point did you get that warning? I would need to see the entire output to get an idea of what you are referencing.
BestOrange wrote: Wed Mar 13, 2024 9:52 pm*Tip #4
The terminal did not like this one. Couldn't even fine the config file.

Code: Select all

** (xed:8040): WARNING **: 18:45:10.662: The specified location is not mounted

   ** (xed:8040): CRITICAL **: 18:45:18.963: xed_conversion_error_info_bar_get_encoding: assertion 'menu' failed
You said you are using speech-dispatcher so I don't understand why you would try to disable it.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by BestOrange »

I did not suggest trying all four tips. I specifically said #1.
I understood your suggestion. However, the other fix tips seemed adjacent enough to my particular issue that it felt prudent to rule those out.


At what point did you get that warning?
Immediately after typing the command.

Code: Select all

 ~$ xed admin:///etc/pulse/default.pa

** (xed:4751): WARNING **: 10:22:59.839: The specified location is not mounted
It is the next immediate output after that particular input. Above is trying it on a fresh boot.


The scenario is the same when I try to access the speech-dispatcher:

Code: Select all

~$ xed admin:///etc/default/speech-dispatcher

** (xed:3394): WARNING **: 10:09:53.924: The specified location is not mounted
Only the txt file that opens up after issuing this command gives me a "file not found" error.

However it does not give me the "critical" error from my last post after trying again with a fresh boot.


You said you are using speech-dispatcher so I don't understand why you would try to disable it.
Two answers:
  • 1 - To isolate the problem. I still don't know what triggers it. If I disabled speech-dispatcher and the sound issue went away, I would be able to ask better, more pointed questions as well as let future people with my problem follow the same steps.
  • 2 - Expanding on my previous post: The sound issue becomes so terribly severe the second I attempt to perform any text to speech action on my computer that the speech-dispatcher application is functionally non-existent. If disabling it worked, I would at least have clear sound coming from my speakers while I explore other accessibility options.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Thu Mar 14, 2024 1:29 pm
At what point did you get that warning?
Immediately after typing the command.

Code: Select all

 ~$ xed admin:///etc/pulse/default.pa

** (xed:4751): WARNING **: 10:22:59.839: The specified location is not mounted
It is the next immediate output after that particular input. Above is trying it on a fresh boot.
Please go to File Manager and check to see if you have /etc/pulse/default.pa in your File System (root) directory.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by BestOrange »

Please go to File Manager and check to see if you have /etc/pulse/default.pa in your File System (root) directory.

Code: Select all

/etc/pulse$ ls
client.conf    daemon.conf  default.pa.d
client.conf.d  default.pa   system.pa
I think I do, if I understood you properly. It seems to open with no problem as far as I can tell too.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Fri Mar 15, 2024 1:08 am
Please go to File Manager and check to see if you have /etc/pulse/default.pa in your File System (root) directory.

Code: Select all

/etc/pulse$ ls
client.conf    daemon.conf  default.pa.d
client.conf.d  default.pa   system.pa
I think I do, if I understood you properly. It seems to open with no problem as far as I can tell too.
It looks like to me that you do as well. I do not have any guesses at this time why you received the warning message.

You have completely removed and reattached both ends of the DP cable to see if that helps, correct?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by BestOrange »

You have completely removed and reattached both ends of the DP cable to see if that helps, correct?
I have.

Frustratingly, it only does it when receiving input from the display-ports on my graphics cards. The motherboard DP port works perfectly noiselessly.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Fri Mar 15, 2024 7:47 pmFrustratingly, it only does it when receiving input from the display-ports on my graphics cards. The motherboard DP port works perfectly noiselessly.
I don't expect it will help this issue, but it shouldn't cause problems to update to the latest amdgpu linux-firmware. Instructions are here.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
BestOrange
Level 1
Level 1
Posts: 6
Joined: Wed Mar 13, 2024 3:06 pm

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by BestOrange »

update to the latest amdgpu linux-firmware.
I don't want to call it too soon, but it seems to have worked! The sound is crystal clear!

Ran speech-dispatcher, and it is all good! First time I've been able to get good sound out of my GPU display port since I put the thing together a few months ago.

GPU firmware update seems to be all that was missing! Thank you for suggesting it!

Feel free to mark this as resolved now.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Persistent Static-ish noise coming over monitor speakers when playing audio

Post by SMG »

BestOrange wrote: Sat Mar 16, 2024 3:44 amI don't want to call it too soon, but it seems to have worked! The sound is crystal clear!
Good to hear. :)
BestOrange wrote: Sat Mar 16, 2024 3:44 amFeel free to mark this as resolved now.
You as the topic creator get to do that. Please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title and submit the revised post so others know you are no longer seeking help on this issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Sound”