Sound quickly fades out and no microphone -- pulse audio

Message
Author
bmertz
Posts: 25
Joined: Fri Jun 17, 2022 3:29 pm

Sound quickly fades out and no microphone -- pulse audio

#1 Post by bmertz »

I have been struggling with this issue with my sound for some time, and it has made it impossible to listen to any audio/video as well as take Zoom/google meet calls in MX. All sound works as it should in Windows 11.

Whenever I go to listen to a video or play music, I get the sound for about 1-4 seconds, and then my speakers (or headphones) quickly fade away with a buzzing/fuzzy noise. Sometimes this will happen when I log in, and it will always happen when I pull up a website that has audio (for example, youtube).

In pavucontrol, I have the option of choosing between the following:
  • HDA Nvidia Digital Stereo HDMI
  • sof-hda-dsp HDMI-1 Output
  • sof-hda-dsp HDMI-2 Output
  • sof-hda-dsp HDMI-3 Output
  • sof-hda-dsp speaker + headphones
If I choose HDA Nvidia, it remains on that output. If I choose HDMI-1, 2, or 3, then my output automatically goes to speaker + headphones. Alsamixer only shows outputs under the sof-hda-dsp option (Nvidia has it's own entry, but no way to adjust volume levels).

I tried using pipewire a couple of weeks ago, but no joy as well -- completely lost all of my sound. I just did a fresh install of MX 21, so no pipewire packages currently on here. I'm open to exploring it again, but if I can find a solution via pulse, that's fine with me too.

Code: Select all

System:    Kernel: 5.18.0-4mx-amd64 [5.18.16-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.18.0-4mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.2.1_ahs_x64 Wildflower August 28  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Razer product: Blade 15 (2022) - RZ09-0421 v: 8.04 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Razer model: CH580 v: 4 serial: <filter> UEFI: Razer v: 1.09 date: 02/22/2022 
Battery:   ID-1: BAT0 charge: 77.0 Wh (95.2%) condition: 80.9/80.2 Wh (100.8%) volts: 17.2 
           min: 15.4 model: Razer Blade type: Unknown serial: <filter> status: Unknown 
CPU:       Info: 10-Core model: 12th Gen Intel Core i7-12800H bits: 64 type: MT MCP 
           arch: Alder Lake family: 6 model-id: 9A (154) stepping: 3 microcode: 41C cache: 
           L2: 24 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 112127 
           Speed: 615 MHz min/max: 400/4800 MHz Core speeds (MHz): 1: 615 2: 1044 3: 616 4: 677 
           5: 743 6: 930 7: 676 8: 1189 9: 737 10: 781 11: 624 12: 642 13: 842 14: 541 15: 901 
           16: 702 17: 496 18: 717 19: 1343 20: 710 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW sequence 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Razer USA driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300 
           Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Razer USA 
           driver: nvidia v: 510.85.02 bus-ID: 01:00.0 chip-ID: 10de:2560 class-ID: 0300 
           Device-3: IMC Networks Integrated RGB Camera type: USB driver: uvcvideo bus-ID: 1-2:2 
           chip-ID: 13d3:5279 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv display-ID: :0.0 
           screens: 1 
           Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.7x15.0") 
           s-diag: 1245mm (49") 
           Monitor-1: eDP-1 res: 2560x1440 hz: 60 dpi: 189 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           Monitor-2: HDMI-1-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8") 
           diag: 609mm (24") 
           OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Razer USA 
           driver: sof-audio-pci-intel-tgl alternate: snd_hda_intel,snd_sof_pci_intel_tgl 
           bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0401 
           Device-2: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 10de:228e class-ID: 0403 
           Sound Server-1: ALSA v: k5.18.0-4mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Alder Lake-P PCH CNVi WiFi vendor: Rivet Networks driver: iwlwifi 
           v: kernel modules: wl port: 4000 bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:5 chip-ID: 8087:0033 
           class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept 
           service-classes: rendering, capturing, audio 
Drives:    Local Storage: total: 953.87 GiB used: 198.4 GiB (20.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 model: NVMe CA6-8D1024 size: 953.87 GiB block-size: 
           physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> 
           rev: ERA0902 temp: 32.9 C scheme: GPT 
Partition: ID-1: / raw-size: 78.71 GiB size: 76.92 GiB (97.73%) used: 28.44 GiB (37.0%) fs: ext4 
           dev: /dev/nvme0n1p10 maj-min: 259:10 
           ID-2: /boot/efi raw-size: 400 MiB size: 399.2 MiB (99.80%) used: 288 KiB (0.1%) 
           fs: vfat dev: /dev/nvme0n1p9 maj-min: 259:9 
           ID-3: /home raw-size: 15.62 GiB size: 15.28 GiB (97.79%) used: 2.29 GiB (15.0%) 
           fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 22.46 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p8 maj-min: 259:8 
Sensors:   System Temperatures: cpu: 27.8 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 1944 lib: 949 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info:      Processes: 382 Uptime: 1h 53m wakeups: 2 Memory: 15.32 GiB used: 2.93 GiB (19.1%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

User avatar
Jerry3904
Administrator
Posts: 23062
Joined: Wed Jul 19, 2006 6:13 am

Re: Sound quickly fades out and no microphone -- pulse audio

#2 Post by Jerry3904 »

--You have 4 soundcards? Why? I mean do you need them all? (if not, you can disable the ones you don't use)
--When you say you choose a card, are you using the "Select sound" in MX Tools?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Huckleberry Finn

Re: Sound quickly fades out and no microphone -- pulse audio

#3 Post by Huckleberry Finn »

Jerry3904 wrote: Thu Nov 03, 2022 5:50 am --You have 4 soundcards?..
Nope, just 2 :

Device-1: Intel Alder Lake PCH-P High Definition Audio ... chip-ID: 8086:51c8

Device-2: NVIDIA ... chip-ID: 10de:228e


However the issue is "as always" sof driver (with the 1st card): sof-audio-pci-intel-tgl


Nothing to lose:

Code: Select all

echo "options snd-intel-dspcfg dsp_driver=1" | sudo tee /etc/modprobe.d/sound.conf
Reboot.

This has a known side-effect: Mic. may not work. But at least you can test if others are better or working...


In Alsamixer press F6 select card: Intel ... then F5 all, then play with the bars (M from keyboard to unmute/mute)
____________________________________________________________

You can remove the created file and turn back any time you like:

Code: Select all

sudo rm /etc/modprobe.d/sound.conf

User avatar
Jerry3904
Administrator
Posts: 23062
Joined: Wed Jul 19, 2006 6:13 am

Re: Sound quickly fades out and no microphone -- pulse audio

#4 Post by Jerry3904 »

Thanks for the correction--should have looked at QSI...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

bmertz
Posts: 25
Joined: Fri Jun 17, 2022 3:29 pm

Re: Sound quickly fades out and no microphone -- pulse audio

#5 Post by bmertz »

Thanks for the suggestion -- I created the sound.conf file, and got my speakers and headphones back. You were also correct, I lost my microphone -- the attached image of my alsamixer shows that I don't have the option to adjust my volume levels on the microphone. (Hope I attached it correctly.) Do you have some additional suggestions?
https://drive.google.com/file/d/1QX2zhB ... sp=sharing

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: Sound quickly fades out and no microphone -- pulse audio

#6 Post by davidy »

With all that I'd get a dac box for sure. Shiit makes the Fulla for $109 and it has headphone out and mic in via any usb port. Plug n play audio and has a spdif input also. USA baby.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

Huckleberry Finn

Re: Sound quickly fades out and no microphone -- pulse audio

#7 Post by Huckleberry Finn »

So glad to hear it worked.

For the mic. , you just need to play with model=... in the below formula.

model=ALC274
model=laptop
model=auto
model=laptop-amic
model=laptop-dmic (You can skip this one as you'll have tried as the 1st one)
model=headset-mic


As the 1st trial :

Code: Select all

echo "options snd-hda-intel model=laptop-dmic enable=yes" | sudo tee /etc/modprobe.d/sound2.conf
Reboot.


You can simply

Code: Select all

sudo nano /etc/modprobe.d/sound2.conf
to edit each time, save, reboot.


P.S. Sometimes, even this works on some non-Dell brands (though it sounds weird)

Code: Select all

model=dell-headset-multi
You can also try:

Code: Select all

model=razer

Huckleberry Finn

Re: Sound quickly fades out and no microphone -- pulse audio

#8 Post by Huckleberry Finn »

I was going to write this as the first thing to try , then gave up as 5.18 was also not very old.

On some distros it works with 5.19 then not again with 6.0 ...

So, you can first remove the conf file (to prevent confusions) then install them and reboot and try.

Code: Select all

sudo rm /etc/modprobe.d/sound.conf
Then: "MXPI" like this:
You do not have the required permissions to view the files attached to this post.

Huckleberry Finn

Re: Sound quickly fades out and no microphone -- pulse audio

#9 Post by Huckleberry Finn »

... If you first try 6.0 then install 5.19 later, then you'll find it in "Advanced Options" in Grub to boot with.

If it's the same with all, just boot with 6.0 , then "MX Cleanup" from menu, remove others (not a must) with "Kernel Removal Tool" below (or with MXPI same way of installation). (...Then you can try the above again, posts #3 and 7)

bmertz
Posts: 25
Joined: Fri Jun 17, 2022 3:29 pm

Re: Sound quickly fades out and no microphone -- pulse audio

#10 Post by bmertz »

Thanks again for the suggestions. I'd like to try the 6.0 kernel, but it is not currently listed in my MXPI. Do I need to switch to the sid repository to get access to it? (DIdn't see it in the MX Test Repo either.)

Just thought of an additional question in response to your previous posts as well. Why the need for two sound.conf files in my modprobe.d folder?

Post Reply

Return to “Hardware /Configuration”