The sound distorts and fades

Hello,

I have a problem with the audio, when something starts playing, it sounds distorted (as if it were underwater) and after a couple of seconds the audio fades out and doesn’t play again

I’m using an ASUS UX581GV laptop with openSUSE Tumbleweed

uname -a
Linux arantinga 6.7.7-1-default #1 SMP PREEMPT_DYNAMIC Fri Mar 1 13:51:21 UTC 2024 (1ff84c5) x86_64 x86_64 x86_64 GNU/Linux

journalctl -b | grep firmware

mar 08 11:43:54 localhost kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
mar 08 11:43:58 localhost kernel: iwlwifi 0000:3d:00.0: loaded firmware version 77.ad46c98b.0 cc-a0-77.ucode op_mode iwlmvm
mar 08 11:43:59 localhost kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
mar 08 11:43:59 localhost NetworkManager[1872]: <info>  [1709894639.8828] manager[0x55c658490e90]: monitoring kernel firmware directory '/lib/firmware'.
mar 08 11:44:00 localhost.localdomain kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
mar 08 11:44:00 localhost.localdomain kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
mar 08 11:44:01 localhost.localdomain kernel: Bluetooth: hci0: Waiting for firmware download to complete
mar 08 11:44:02 localhost.localdomain systemd[1]: Startup finished in 5.719s (firmware) + 11.270s (loader) + 899ms (kernel) + 3.891s (initrd) + 6.169s (userspace) = 27.950s.

rpm -q alsa alsa-utils alsa-firmware

alsa-1.2.11-1.1.x86_64
alsa-utils-1.2.11-2.1.x86_64
alsa-firmware-1.2.4-4.5.noarch

inxi -Aa

Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  API: ALSA v: k6.7.7-1-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k6.7.7-1-default.

cat /proc/asound/modules
0 snd_hda_intel

cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x6044118000 irq 194

Thanks in advance
Andres

TW 20240306 included updates to pipewire etc. that appears to have changed some setup.
Open a terminal, issue “alsamixer” and check that all relevant volume levels are OK (100%?), just to exclude the obvious.

Looks fine:

Thanks for your quick response

@aahahocevar if you install qpwgraph and run that to observe what is happening with audio connections, also post the output from wpctl status

To me 40% looks pretty low (barely audible in a silent room with a pretty loud ASUS of mine), I wonder if “underwater” describes a low volume or, for instance, a sound lacking treble tones, or both, or …?
Did you see the problem after an update? Or that laptop always performed poorly with Tumbleweed? And did you try other operating systems or other Linux distributions?
As a side note, that UX581GV like many ASUS hi-end laptops features “Audio optimized by xxx” (HK in that case) and that might mean that special software tuning was included with the original setup and a standard Linux config might sound “dull” or “poor” unless you provide an equivalent equalization.
That the sound “fades away” after a few seconds looks like a different problem though.
You may try to issue:

aplay /usr/share/sounds/alsa/test.wav

in a terminal and play with the master volume and/or the sound control panel in your desktop looking for a decent sound (like an organ and drum playing…).

1 Like

I’ll take a look of qpwgraph.

wpctl status

PipeWire 'pipewire-0' [1.0.3, coicoi@localhost.localdomain, cookie:764470238]
 └─ Clients:
        32. xdg-desktop-portal                  [1.0.3, coicoi@localhost.localdomain, pid:2874]
        33. WirePlumber                         [1.0.3, coicoi@localhost.localdomain, pid:3276]
        41. WirePlumber [export]                [1.0.3, coicoi@localhost.localdomain, pid:3276]
        67. pipewire                            [1.0.3, coicoi@arantinga, pid:3573]
        68. Plasma PA                           [1.0.3, coicoi@arantinga, pid:2980]
        69. wpctl                               [1.0.3, root@arantinga, pid:5472]
        70. Firefox                             [1.0.3, coicoi@arantinga, pid:4132]
        72. Firefox                             [1.0.3, coicoi@arantinga, pid:4132]
        73. Thunderbird                         [1.0.3, coicoi@arantinga, pid:4645]
        74. Thunderbird                         [1.0.3, coicoi@arantinga, pid:4645]

Audio
 ├─ Devices:
 │      42. Audio Interno                       [alsa]
 │  
 ├─ Sinks:
 │  *   43. Audio Interno Estéreo analógico   [vol: 0.54]
 │  
 ├─ Sources:
 │  *   44. Audio Interno Estéreo analógico   [vol: 1.00]
 │  
 ├─ Filters:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      48. USB2.0 HD IR UVC WebCam             [v4l2]
 │      49. USB2.0 HD IR UVC WebCam             [v4l2]
 │      50. USB2.0 HD IR UVC WebCam             [v4l2]
 │      51. USB2.0 HD IR UVC WebCam             [v4l2]
 │      55. USB2.0 HD IR UVC WebCam: USB2.0     [libcamera]
 │      56. USB2.0 HD IR UVC WebCam: USB2.0     [libcamera]
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *   61. USB2.0 HD IR UVC WebCam (V4L2)     
 │      63. USB2.0 HD IR UVC WebCam (V4L2)     
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.usb-Razer_Razer_BlackShark_V2_Pro-00.analog-stereo

Thanks

Hello,

Is more like a sound lacking treble tones, volume is OK, but it fades out for 2 seconds until you hear nothing.

I suppose the problem has always been there, it is difficult to know, it is intermittent, there are times when it works and others it doesn’t, even restarting several times. I normally use wireless USB headphones that always work well.

I have not tried with another Linux distribution, but on Windows it works fine.

I’ll try this aplay /usr/share/sounds/alsa/test.wavlater, I’m away from home.

Thanks.

Looks OK to me, maybe @malcolmlewis will be more specific.

You are using KDE/Plasma, there are other reports of sound glitches in the forums recently.
Check in System Settings, Audio > Devices >Ports
or
System Settings, Audio > Advanced
and check if another port or profile works better; you may also test speakers there.
You are using Firefox and Pipewire, maybe the speech dispatcher is keeping pipewire to its lowest sample rate and resolution; not sure this is actually related to your problem, but if you don’t need assistive technology I would disable that.
Type “about:config” in the Firefox address bar, accept the “risk”, then search for media.webspeech.synth.enabled and set it to “false”, then restart firefox.
Let’s see if “sound fading away” is solved after those changes, then we will address the “underwater” feeling, keeping in mind that a “tuned” ASUS laptop will never sound as good with Linux as with the original (expertly tuned) Win* config.

An example of recent plasma sound glitch:

According the other threads and the bugreport, this issue seems not related to plasma but gstreamer-plugins-bad

Hello all,

I did this:

zypper in alsa-firmware

echo "options snd-hda-intel model=asus-zenbook" > /etc/modprobe.d/50-sound.conf

After rebooting, it’s working, the sound is a little tinny, but good enough. I’ll try it this week, if I have a problem I’ll let you know.

Thank a lot for your support!.

2 Likes

Thanks, nice to know they added a quirk for the Zenbooks!

Hello,

Unfortunately the problem came back again :sob:

aplay /usr/share/sounds/alsa/test.wav

its sounds like:
https://paste.opensuse.org/pastes/db63ccd5359c

qpwgraph output:

And has the same problem in all 8 profiles:

Any idea?

Thanks in advance.

Does this happen after a period of inactivity? Only when on battery?

Hello,

Right now is working and is using battery, could be after a period of inactivity, I’ll try and reply here.

Thanks a lot.

Hello,

So far it has worked, I have had long and short period of inactivity and it hasn’t failed yet, it seems to be unrelated to the period of inactivity.

Thanks

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