Hi everyone!
I'm new to Mint and pretty newbie to Linux. I've been using Ubuntu for some years and switched this year. I have a M-Audio Delta66 audio card. I had the same issues in Ubuntu in the past but somehow I got them sorted. Now I'm having this problem in Mint, and I can't find any solution. I've tried many of the suggested tweaks in Pulseaudio, such as setting "tsched=0" or making a fixed sample rate, with no luck.
However I found that the distortion stops if I put Mint on Suspend and wake her. The distortion starts again if I play a sound or music of a different rate, such as playing an audio in 44.100hz in XPlayer and then watching a video in 48.000hz on YouTube. So... I believe there is some residue or module, or something that doesn't get cleaned or updated every time the sample rate changes, something that DOES when waking Mint from suspension.
I'm not a Linux savvy, but I can get things done. Any help is pretty welcome, and thanks in advance!!!
Pulseaudio distortion, pops and crackles... still...
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Pulseaudio distortion, pops and crackles... still...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Pulseaudio distortion, pops and crackles... still...
I honestly can't say if this will help or not, but increasing the default sample rate might be the fix. This site has the details.
Re: Pulseaudio distortion, pops and crackles... still...
Hi el_octogono,
Welcome to the wonderful world of Linux Mint and its excellent forum!
It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
1.) You can try deleting the hidden pulse audio user configuration folder (~/.config/pulse/) from your file manager or from the console terminal prompt, then rebooting which will recreate the pulse audio configuration folder. I did this to correct some audio issues after some updates and it worked.
2.) If problem still exists, see post below. I would not recommend removing pulse audio like the last comment in the post below, but editing the pulse audio file to add "tsched=0" to the one line may help.
[SOLVED] Logictech Z313 speakers popping/crackling when not playing audio - Linux Mint Forums
viewtopic.php?f=48&t=269976&sid=04c15d3 ... 6c198725f4
This uses the "xed" text editor to edit the pulse audio default file.
Locate "load-module module-udev-detect" (line 55 on mine) and add a space and " tsched=0" to the end of that line, save the file, exit the file, restart.
The line should like the one below
Hope this helps ...
Welcome to the wonderful world of Linux Mint and its excellent forum!
It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
1.) You can try deleting the hidden pulse audio user configuration folder (~/.config/pulse/) from your file manager or from the console terminal prompt, then rebooting which will recreate the pulse audio configuration folder. I did this to correct some audio issues after some updates and it worked.
Code: Select all
rm -r ~/.config/pulse/
[SOLVED] Logictech Z313 speakers popping/crackling when not playing audio - Linux Mint Forums
viewtopic.php?f=48&t=269976&sid=04c15d3 ... 6c198725f4
This uses the "xed" text editor to edit the pulse audio default file.
Code: Select all
sudo xed /etc/pulse/default.pa
The line should like the one below
Code: Select all
load-module module-udev-detect tsched=0
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Re: Pulseaudio distortion, pops and crackles... still...
AFAIK Pulse doesn't resample unless there's software mixing involved. You can see if a media player is resampling easily, just play the file and while it's playing run this in the terminal:
Code: Select all
cat /proc/asound/card?/stream0 | grep Momentary
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Re: Pulseaudio distortion, pops and crackles... still...
Hi! PHD21, thanks for your time.
Here is the output of inxi -Fxzd
Code: Select all
System: Host: pato-desktop Kernel: 4.13.0-43-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASRock model: FM2A55M-HD+
Bios: American Megatrends v: P1.50 date: 11/20/2013
CPU: Quad core AMD A8-6600K APU with Radeon HD Graphics (-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 31144
clock speeds: max: 3900 MHz 1: 2074 MHz 2: 2476 MHz 3: 1895 MHz
4: 1896 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8570D]
bus-ID: 00:01.0
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1440x900@59.89hz
GLX Renderer: AMD ARUBA (DRM 2.50.0 / 4.13.0-43-generic, LLVM 5.0.0)
GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio: Card-1 VIA ICE1712 [Envy24] PCI Multi-Channel I/O Controller
driver: snd_ice1712 ports: d040 d070 d060 d000 bus-ID: 02:05.0
Card-2 Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller
driver: snd_hda_intel bus-ID: 00:01.1
Card-3 KYE Systems (Mouse Systems)
driver: USB Audio usb-ID: 001-003
Sound: Advanced Linux Sound Architecture v: k4.13.0-43-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.0
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 2660.6GB (34.4% used)
ID-1: /dev/sda model: WDC_WD1600AABS size: 160.0GB
ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
ID-3: /dev/sdc model: WDC_WD5000AAKS size: 500.1GB
ID-4: USB /dev/sdd model: 10EAVS_External size: 1000.2GB
Optical: /dev/sr0 model: HL-DT-ST DVDRAM GH22NS40
rev: NL02 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 48x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 143G used: 41G (30%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 3.95GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 0.0C mobo: N/A gpu: -4.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 189 Uptime: 3 min Memory: 1040.3/3620.3MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
Code: Select all
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0458:708f KYE Systems Corp. (Mouse Systems)
Bus 001 Device 002: ID 1058:1100 Western Digital Technologies, Inc. My Book Essential Edition 2.0 (WDH1U)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I'll try deleting the folder an report back.1.) You can try deleting the hidden pulse audio user configuration folder (~/.config/pulse/) from your file manager or from the console terminal prompt, then rebooting which will recreate the pulse audio configuration folder. I did this to correct some audio issues after some updates and it worked.Code: Select all
rm -r ~/.config/pulse/
I've already tried adding "tsched=0" with no luck.2.) If problem still exists, see post below. I would not recommend removing pulse audio like the last comment in the post below, but editing the pulse audio file to add "tsched=0" to the one line may help.
[SOLVED] Logictech Z313 speakers popping/crackling when not playing audio - Linux Mint Forums
viewtopic.php?f=48&t=269976&sid=04c15d3 ... 6c198725f4
The line should like the one belowHope this helps ...Code: Select all
load-module module-udev-detect tsched=0
I'll try your suggestions and post any changes. Thanks!
Re: Pulseaudio distortion, pops and crackles... still...
Hi again. I deleted the folder. Something changed because I now have a "welcome" sound when starting Mint... but everything else is the same.phd21 wrote: ⤴Mon May 28, 2018 10:39 pm 1.) You can try deleting the hidden pulse audio user configuration folder (~/.config/pulse/) from your file manager or from the console terminal prompt, then rebooting which will recreate the pulse audio configuration folder. I did this to correct some audio issues after some updates and it worked.
I tried again adding "tsched=0" but nothing changed...phd21 wrote: ⤴Mon May 28, 2018 10:39 pm 2.) If problem still exists, see post below. I would not recommend removing pulse audio like the last comment in the post below, but editing the pulse audio file to add "tsched=0" to the one line may help.
Locate "load-module module-udev-detect" (line 55 on mine) and add a space and " tsched=0" to the end of that line, save the file, exit the file, restart.
I even disabled the on board HDMI audio, which i wasn't aware of... but got nothing...