LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-26-2024, 06:25 PM   #1
bialyikar
LQ Newbie
 
Registered: Nov 2019
Location: Poland
Distribution: KDE Neon, Kubuntu
Posts: 3

Rep: Reputation: 0
Crack sound on multimedia start


Hello,
I have a problem where there is a "cracking" sound in the speakers when starting up the computer or launching multimedia applications.
I recorded a video demonstrating the issue during the computer startup and with Spotify, but the same happens with any other multimedia application.
The problem doesn't persist afterward. For example, when I start Spotify and play a song, there is a crackle, but subsequent songs are fine. However, the issue reoccurs after closing and reopening Spotify.
The same is true for YouTube tabs in the browser, video players like SMPlayer, or editors like KDENlive...

Here is a video illustrating the problem: https://youtu.be/S6JBEOCTCtw.
The crackles in the video occur at seconds: 2, 35, 58, 1:11, 1:57.

The problem arose a few years ago when I changed the motherboard to "Asrock B450 Pro4" (Realtek ALC892).
I managed to deal with it by editing the file: "/etc/modprobe.d/snd_hda_intel.conf" and adding: "options snd_hda_intel power_save=0".
Unfortunately, today the problem has resurfaced, and nothing helps.

I found a similar issue here: https://forum.manjaro.org/t/poop-sou...start/133055/5 but the solution there didn't help me.

I've already tried:
/etc/modprobe.d/snd_hda_intel.conf
options snd_hda_intel power_save=0

/etc/modprobe.d/disablePower.conf
options snd_hda_intel power_save=0

.config/pulse/daemon.conf
default-sample-rate = 48000

/etc/pulse/daemon.conf
default-sample-rate = 48000

/etc/modprobe.d/hda-no-suspend.conf
options snd_hda_intel power_save=0 power_save_controller=N

/etc/pulse/default.pa
load-module module-suspend-on-idle > #load-module module-suspend-on-idle
My system is: Kubuntu 23.10
Motherboard: "Asrock B450 Pro4"
I'm using the built-in sound card and 5.1 speakers.
 
Old 04-30-2024, 03:13 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,821

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Can you show the output from
Code:
inxi -Aa
That will provide information about your working audio environment.
 
Old 04-30-2024, 05:19 PM   #3
bialyikar
LQ Newbie
 
Registered: Nov 2019
Location: Poland
Distribution: KDE Neon, Kubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your response.
The issue has temporarily disappeared because I installed the latest version of Kubuntu 24.04.
I couldn't handle it, and, the latest version was released, so I decided to give it a try. Therefore, providing the result of the command 'inxi -Aa' will not be relevant now, but I will still provide it.

Code:
inxi -Aa
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 09:00.1 chip-ID: 10de:1aeb class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.8.0-31-generic status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active
    tools: pactl,pw-cat,pw-cli,wpctl
After installing the new system and editing
Quote:
/etc/modprobe.d/snd_hda_intel.conf
Quote:
options snd_hda_intel power_save=0
, it helped.
However, I would like to understand the root cause of this problem. The issue did not occur on the previous motherboard. After changing the motherboard to "B450 Pro4" and each system installation, I experience "popping" in the speakers.
 
Old 04-30-2024, 06:22 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,821

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
When you say "temporarily disappeared because I installed the latest version of Kubuntu 24.04.", what do you mean? Are you planning to return to the older Kubuntu version again?
 
Old 04-30-2024, 08:18 PM   #5
bialyikar
LQ Newbie
 
Registered: Nov 2019
Location: Poland
Distribution: KDE Neon, Kubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
My mistake.
I don't intend to revert to the older version or switch to a different distribution anytime soon. On the previous system version, the problem arose suddenly. I'm not sure if it was the result of any of my actions. Perhaps I installed LTP at that time, which killed some processes responsible for sound playback? But even without LTP, the problem persists on a clean system.
However, I believe that manual editing of files after a fresh system installation to fix an issue should not be necessary (I also don't consider it to be a big issue, but still ). That's why I would like to find out what is causing this sound problem Out of pure curiosity, at least.

Last edited by bialyikar; 04-30-2024 at 08:20 PM.
 
Old 04-30-2024, 08:51 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,821

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by bialyikar View Post
After changing the motherboard to "B450 Pro4" and each system installation, I experience "popping" in the speakers.
Disabling audio power saving is a commonly employed fix for affected hardware. Not distro-specific.

FWIW
https://forum.asrock.com/forum_posts...ock-b450m-pro4

Similar Manjaro thread:
https://forum.manjaro.org/t/audio-de...uration/115474

Last edited by ferrari; 04-30-2024 at 08:52 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If web browsers are multimedia programs, why don't they have multimedia controls? hedron General 4 11-04-2020 03:48 AM
LXer: How to crack a wireless WEP key using AIR Crack LXer Syndicated Linux News 1 05-09-2010 07:59 AM
How to download entire multimedia repository from debian-multimedia amrtuti Debian 4 02-20-2009 09:28 AM
LXer: Become a multimedia pro with the Vector Linux Multimedia Bonus Disc LXer Syndicated Linux News 0 10-08-2008 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration