Bugzilla – Bug 1214780
Internal microphone not detected
Last modified: 2023-09-06 09:55:56 UTC
I'm using an AMD processor and internal microphone is not detected. If can be useful, I also have an NVidia dedicated GPU. ``` System: Kernel: 6.4.11-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.11-1-default root=UUID=2d9a47d5-5be0-49cd-9781-59b44916cea3 splash=silent mitigations=auto quiet security=apparmor nosimplefb=1 Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1 Distro: openSUSE Tumbleweed 20230823 Machine: Type: Laptop System: Alienware product: Alienware m16 R1 AMD v: 1.5.2 serial: <superuser required> Chassis: type: 10 v: 1.5.2 serial: <superuser required> Mobo: Alienware model: 0P9TF1 v: A00 serial: <superuser required> UEFI: Alienware v: 1.5.2 date: 08/08/2023 Battery: ID-1: BAT0 charge: 32.7 Wh (38.8%) condition: 84.3/84.3 Wh (100.0%) volts: 12.0 min: 11.4 model: SMP-COS3.82 DELL 70N2F32 type: Li-poly serial: <filter> status: charging cycles: 2 CPU: Info: model: AMD Ryzen 7 7745HX with Radeon Graphics bits: 64 type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x61 (97) stepping: 2 microcode: 0xA601203 Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB L3: 32 MiB desc: 1x32 MiB Speed (MHz): avg: 2145 high: 5140 min/max: 1500/5150 boost: enabled scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1500 2: 1500 3: 3424 4: 3600 5: 1500 6: 1500 7: 1500 8: 1500 9: 1500 10: 3600 11: 2056 12: 1500 13: 5140 14: 1500 15: 1500 16: 1500 bogomips: 115035 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Vulnerabilities: Type: gather_data_sampling status: Not affected 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_rstack_overflow mitigation: safe RET, no microcode 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 / Automatic IBRS, IBPB: conditional, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Dell driver: N/A alternate: nouveau, nvidia_drm, nvidia non-free: 530.xx+ status: current (as of 2023-05) arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022-23+ pcie: gen: 4 speed: 16 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:28e0 class-ID: 0300 Device-2: AMD Raphael vendor: Dell driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 09:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 52.0 C Device-3: Microdia Integrated_Webcam_FHD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 7-1:2 chip-ID: 0c45:6a1b class-ID: 0e02 Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2 compositor: gnome-shell driver: X: loaded: modesetting dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 2560x1600 s-size: <missing: xdpyinfo> Monitor-1: eDP-1 model: BOE Display 0x0af9 built: 2022 res: 2560x1600 dpi: 188 gamma: 1.2 size: 345x215mm (13.58x8.46") diag: 407mm (16") ratio: 16:10 modes: max: 2560x1600 min: 640x480 API: OpenGL v: 4.6 Mesa 23.1.5 renderer: AMD Radeon Graphics (raphael_mendocino LLVM 16.0.6 DRM 3.52 6.4.11-1-default) direct-render: Yes Audio: Device-1: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Dell driver: snd_rpl_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 09:00.5 chip-ID: 1022:15e2 class-ID: 0480 Device-2: AMD Family 17h/19h HD Audio vendor: Dell driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 09:00.6 chip-ID: 1022:15e3 class-ID: 0403 API: ALSA v: k6.4.11-1-default status: kernel-api with: aoss type: oss-emulator tools: alsactl,alsamixer,amixer Server-1: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl Network: Device-1: Qualcomm QCNFA765 Wireless Network Adapter vendor: Foxconn driver: ath11k_pci v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 17cb:1103 class-ID: 0280 IF: wlp6s0 state: up mac: <filter> Device-2: Realtek RTL8125 2.5GbE vendor: Dell driver: r8169 v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 2000 bus-ID: 08:00.0 chip-ID: 10ec:8125 class-ID: 0200 IF: enp8s0 state: down mac: <filter> Bluetooth: Device-1: Foxconn / Hon Hai driver: btusb v: 0.8 type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-1.2:4 chip-ID: 0489:e0e3 class-ID: e001 Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block: hardware: no software: yes address: see --recommends Drives: Local Storage: total: 961.33 GiB used: 35.72 GiB (3.7%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: PM9A1 NVMe 1024GB size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 36310229 temp: 43.9 C scheme: GPT ID-2: /dev/sda maj-min: 8:0 model: USB DISK 2.0 size: 7.46 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: PMAP scheme: GPT SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? Partition: ID-1: / raw-size: 200 GiB size: 200 GiB (100.00%) used: 8.16 GiB (4.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:5 ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 5.2 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p8 maj-min: 259:7 ID-3: /home raw-size: 343.36 GiB size: 336.9 GiB (98.12%) used: 27.55 GiB (8.2%) fs: ext4 dev: /dev/nvme0n1p9 maj-min: 259:8 ID-4: /opt raw-size: 200 GiB size: 200 GiB (100.00%) used: 8.16 GiB (4.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:5 ID-5: /var raw-size: 200 GiB size: 200 GiB (100.00%) used: 8.16 GiB (4.1%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:5 Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default) ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:6 Sensors: System Temperatures: cpu: N/A mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 421 Uptime: 0h 9m wakeups: 18225 Memory: available: 14.79 GiB used: 2.55 GiB (17.2%) Init: systemd v: 253 default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 13 Packages: pm: rpm pkgs: N/A note: see --rpm tools: gnome-software,yast,zypper pm: flatpak pkgs: 0 Shell: Bash v: 5.2.15 running-in: gnome-terminal inxi: 3.3.27 ```
Is it a regression from the earlier releases? If yes, which kernel worked? In anyway, please give alsa-info.sh output. Run the script with --no-upload option, and attach the generated file (don't paste) to Bugzilla. Also, please give the output of dmesg after boot, too.
Created attachment 869154 [details] dmesg output
Created attachment 869155 [details] alsa_script output
I'm sorry, I've not well understood the bugzilla comments system :) Anyway, I think I have uploaded the two requested output, thanks.
Thanks. I suppose it's no regression, but the built-in mic never worked, right? If so, it's possibly supported by the ASoC SOF driver, and it might work in the newer kernel (either 6.5 or the latest Linus tree). At first, let's try 6.5 kernel. You can use the kernel from OBS Kernel:stable repo now. The problem with 6.5 kernel might be the Nvidia stuff. Try without Nvidia at first.
Yes, I confirm that it's not a regression. I've installed the new kernel-default right now from obs, now I've the 6.5.0.2 but the situation seems the same, microphone still not to be detected.
OK, thanks. I'm building a test kernel with a patch to apply the quirk in OBS home:tiwai:bsc1214780 repo. Once after the build finishes (takes an hour or so), the test package will appear at http://download.opensuse.org/repositories/home:/tiwai:/bsc1214780/standard/ Please give it a try later.
Created attachment 869291 [details] Error at boot after installed new kernel 6.5.1
Turn off Secure Boot on BIOS. It's an unofficial build, hence it won't boot with Secure Boot.
No changes, the microphone doesn't work and is not detected in gnome settings or pavucontrol.
Please give alsa-info.sh output from the test kernel.
Created attachment 869293 [details] alsa-info.sh after new kernel 6.5.1
Hi Takashi, thanks for your time, but I'm having other firmware related issues, also on other distros, and I'll return the product to the vendor, so I can't test other code anymore..
OK, no problem. It's a pity that we couldn't sort this problem out, but hopefully this will be fixed later in the upstream.
Sure, I think this hardware was too new, surely in next upstream updates will be supported. Thanks again