Well this is frustrating. I lost the sound again, even after generating the sound.conf that initially worked. So generating a second sound.conf to handle the microphone isn't going to move the needle much since I don't have any output sound. I'll try upgrading to 6.0 (currently in kernel 5.19). And I'll try rebooting into kernel 5.18 to see if that at least fixes the speaker issue.
UPDATE: I'm a doofus, didn't think to look for the kernel in the regular repos or in synaptic. Installing kernel-6.0 now.
Sound quickly fades out and no microphone -- pulse audio
Re: Sound quickly fades out and no microphone -- pulse audio
Just an update & upgrade with the updater will make it appear (or in a terminal: sudo apt update ; sudo apt dist-upgrade -y )bmertz wrote: Thu Nov 03, 2022 4:55 pm...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.)...
In fact, the reason I gave up suggesting a newer kernel: there was just 5.19 and 6.0 is "so new".. it was announced (and appeared to me) just those minutes ...
We could make them in the same file (previosly I was suggesting the command that way). This is just to make it easy or tidy.. Cause one is to make it use the older snd-hda-intel driver rather than sof-... and the other is to tell the system use this or that option about snd-hda-intel ..bmertz wrote: Thu Nov 03, 2022 4:55 pm...Why the need for two sound.conf files in my modprobe.d folder?
Consequently: First remove the files as mentioned, then see what happens with just the kernel(s) 5.19 or 6.0 (with the driver: sof-audio-pci-intel-tgl ).. Then if it's not ok: Create the sound.conf, then the other one (sound2) and play with the model=... part only )...
Re: Sound quickly fades out and no microphone -- pulse audio
Update: sound for speakers/headphones is now working natively in kernel 6.0. I created a sound.conf file for the mic with the first option you suggested, and it works (!), I just need to adjust my volume level manually in pavucontrol panel. Before I mark this solved though, I wanted to understand the issue better.
- How do I find out more about the sof-audio-pci-intel-tgl driver? Is this a recently new driver compared to the snd-hda-intel driver?
- What are the drawbacks/benefits of dropping down to the older snd-hda-intel driver for handling my microphone?
- Should I expect the driver firmware for the microphone to eventually catch up with newer kernels so that I don't need to continue to use snd-hda-intel?
Re: Sound quickly fades out and no microphone -- pulse audio
bmertz wrote: Fri Nov 04, 2022 7:46 am Update: sound for speakers/headphones is now working natively in kernel 6.0.

Just to make it clear: Was mic not working natively (and then you decided to create the sound2.conf file?) (... Otherwise you don't need both files)
1- Yes, it's an open-source firmware (one can also manually install/upgrade but generally that doesn't work, too)
2- You can use whichever you like, sound may be better or noisy or weak etc. with this or that one. The only con about the older one is that you may need to find such (aforementioned) workarounds to make mic. work, too.
3- You can (actually: do ) install newer kernels (just occasionally check the MXPI) whenever they're available, as your hardware is new. (Though 6.x will be LTS it won't be auto-upgraded.. you can simply install, say 6.1 or 6.2 when you see them).
You can see which driver is in use at the moment in QSI or simply in a terminal: inxi -Aa
(If the sound.conf is staying there, then it's snd-hda-intel )
P.S. When everything's according to your liking , all working fine: don't forget to run "MX Snapshot" from menu and create "your own" iso. That's one of the best things any user can do :)
Re: Sound quickly fades out and no microphone -- pulse audio
Sorry for the late response. Two steps forward and one step back -- I lost my sound again, even after creating the sound.conf file to drop down to the older intel firmware. Here's the output of my system again -- I did an apt-get upgrade in the last week, but didn't think to look to see if the pulse libraries were updated as well. Is there a plan B you can think of?
Code: Select all
System: Kernel: 6.0.0-3mx-amd64 [6.0.5-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.0.0-3mx-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.2 Wh (95.4%) condition: 80.9/80.2 Wh (100.8%) volts: 17.1
min: 15.4 model: Razer Blade type: Unknown serial: <filter> status: Not charging
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: 855 MHz min/max: 400/4800 MHz Core speeds (MHz): 1: 855 2: 799 3: 2800 4: 2800
5: 2800 6: 1108 7: 2800 8: 2800 9: 2800 10: 2437 11: 2800 12: 2800 13: 949 14: 2800
15: 1468 16: 2800 17: 1158 18: 2800 19: 439 20: 2800
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: 240 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: snd_hda_intel v: kernel alternate: 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: k6.0.0-3mx-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: down bt-service: N/A rfk-block:
hardware: no software: no address: <filter>
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept
Drives: Local Storage: total: 953.87 GiB used: 223.1 GiB (23.4%)
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: 33.9 C scheme: GPT
Partition: ID-1: / raw-size: 78.71 GiB size: 76.92 GiB (97.73%) used: 33.4 GiB (43.4%) 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: 3.38 GiB (22.1%)
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: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: Packages: note: see --pkg apt: 2161 lib: 1086 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: 379 Uptime: 8m wakeups: 2 Memory: 15.32 GiB used: 3.17 GiB (20.7%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI
Re: Sound quickly fades out and no microphone -- pulse audio
You can see latest (all) changes (upgraded/installed/removed/purged) with
(in case you know / guess what day it began not working)
Or: Right-click on the updater icon: "History".
Code: Select all
apt-history
Or: Right-click on the updater icon: "History".
Re: Sound quickly fades out and no microphone -- pulse audio
Most likely culprits from apt-history:
I can put in the full list but figured this was the best place to start.
Code: Select all
2022-11-15 09:16:41 upgrade mx-system-sounds:amd64 22.10.01 22.11.01
2022-11-07 11:38:23 remove libsdl-mixer1.2:amd64 1.2.12-16+b1 <none>
2022-11-07 11:38:23 remove libmikmod3:amd64 3.3.11.1-6 <none>
2022-11-07 11:34:19 upgrade libswscale5:amd64 7:4.3.5-0+deb11u1 7:4.3.5-0.1+mx21+1
2022-11-07 11:34:19 upgrade libswresample3:amd64 7:4.3.5-0+deb11u1 7:4.3.5-0.1+mx21+1
2022-11-07 11:34:19 upgrade libavformat58:amd64 7:4.3.5-0+deb11u1 7:4.3.5-0.1+mx21+1
2022-11-07 11:34:19 upgrade libavfilter7:amd64 7:4.3.5-0+deb11u1 7:4.3.5-0.1+mx21+1
2022-11-07 11:34:19 upgrade libavcodec58:amd64 7:4.3.5-0+deb11u1 7:4.3.5-0.1+mx21+1