System:
Dell XPS 13 9305
Intel i7-1166-g7 (Tiger Lake)
Tumbleweed + KDE
Kernel 5.12.0-2-default
Problem:
Only analog sound, no sound over USB-C.
Did a lot of testing, and at some point it started working after a reboot after not having worked on it for a bit, not sure what happened.
After a second reboot, it stopped working again.
By ‘working’ I mean there is an option in the Plasma audio settings for audio out over the usb port (forget what it was called) and by ‘not working’ I mean I get Analog output/input/duplex options only.
Trying to configure the card in YaST, I get:
The kernel module snd-sof-pci-intel-tgl for sound support
could not be loaded. This can be caused by incorrect
module parameters, including invalid IO or IRQ parameters.
What I’ve done:
Tried with pipewire instead of pulseaudio, got no audio output at all, no audio devices available.
Tried with pulseaudio, which gives analog sound only. Rebooting between changes.
**Related info:
**Have had a lot of trouble with USB-C on tumbleweed + KDE. My setup is two external Dell U27xx monitors, the first connected by USB-C to the laptop, then daisy chained to the next one by DP-DP. This gives dual monitor video, audio, usb (hub), ethernet (on screen 1, but not in use atm), and audio. Disconnecting the cable causes all kinds of problems when replugging, as the system fails to recognize the monitors often, and I have to fiddle a bit, like putting the computer to sleep etc. Perhaps the USB-C woes are related.
**Packages installed:
**I went a bit overboard installing packages.
Packages sof-firmware and alsa-firmware are installed, along with the following packages matching ‘alsa’, ‘pulseaudio’ and pipewire’:
# Status Package | Summary | Installed (Available) | 5
[Keep] alsa | Advanced Linux Sound Architecture | 1.2.4-3.3 | 1.3 MiB
[Keep] alsa-firmware | Firmware Data Files for ALSA | 1.2.4-3.2 | 10.5 MiB
[Keep] alsa-oss | LD_PRELOAD-able library that translat... | 1.1.8-3.3 | 92.1 KiB
[Keep] alsa-plugins | Extra Plug-Ins for ALSA Library | 1.2.2-3.4 | 25.8 KiB
[Keep] alsa-plugins-oss | Plug-Ins for ALSA Library to Access O... | 1.2.2-3.4 | 64.2 KiB
[Keep] alsa-plugins-pulse | Pulseaudio Plug-In for ALSA Library | 1.2.2-3.4 | 104.0 KiB
[Keep] alsa-plugins-speexrate | Rate Converter Plug-In for ALSA Libra... | 1.2.2-3.4 | 55.1 KiB
[Keep] alsa-plugins-upmix | PCM Up-mix Plug-In for ALSA Library | 1.2.2-3.4 | 46.1 KiB
[Keep] alsa-plugins-usb-stream | PCM I/O Plug-In for ALSA Library to a... | 1.2.2-3.4 | 45.0 KiB
[Keep] alsa-ucm-conf | ALSA UCM Profiles | 1.2.4-5.1 | 155.3 KiB
[Keep] alsa-utils | Advanced Linux Sound Architecture Uti... | 1.2.4-5.1 | 2.1 MiB
[Keep] apulse | PulseAudio emulation for ALSA | 0.1.13-2.5 | 148.1 KiB
[Keep] libatopology2 | ALSA Topology Library | 1.2.4-3.3 | 124.5 KiB
[Keep] pamix | "alsamixer" for pulseaudio | 1.6-1.14 | 121.2 KiB
[Keep] pipewire-alsa | PipeWire media server ALSA support | 0.3.26-1.1 | 151.0 KiB
# Status Package | Summary | Installed (Available) | 5
[Keep] alsa-plugins-pulse | Pulseaudio Plug-In for ALSA Library | 1.2.2-3.4 | 104.0 KiB
[Keep] apulse | PulseAudio emulation for ALSA | 0.1.13-2.5 | 148.1 KiB
[Keep] libKF5PulseAudioQt2 | Qt bindings for PulseAudio | 1.2-1.8 | 310.3 KiB
[Keep] libpulse-mainloop-glib0 | GLIB 2.0 Main Loop wrapper for PulseA... | 14.2-6.1 | 21.4 KiB
[Keep] libpulse0 | Client interface to PulseAudio | 14.2-6.1 | 935.4 KiB
[Keep] pamix | "alsamixer" for pulseaudio | 1.6-1.14 | 121.2 KiB
[Keep] paprefs | PulseAudio Preferences | 1.1-2.7 | 145.9 KiB
[Keep] pulseaudio | A Networked Sound Server | 14.2-6.1 | 3.9 MiB
[Keep] pulseaudio-bash-completion | PulseAudio Bash completion | 14.2-6.1 | 15.3 KiB
[Keep] pulseaudio-module-bluetooth | Bluetooth support for the PulseAudio ... | 14.2-6.1 | 209.3 KiB
[Keep] pulseaudio-module-gsettings | GSettings module for PulseAudio | 14.2-6.1 | 41.2 KiB
[Keep] pulseaudio-module-x11 | X11 module for PulseAudio | 14.2-6.1 | 72.7 KiB
[Keep] pulseaudio-module-zeroconf | Zeroconf module for PulseAudio | 14.2-6.1 | 179.5 KiB
[Keep] pulseaudio-system-wide | Support for running PulseAudio daemon... | 14.2-6.1 | 247 B
[Keep] pulseaudio-utils | PulseAudio utilities | 14.2-6.1 | 232.4 KiB
# Status Package | Summary | Installed (Available) | 5
[Keep] gstreamer-plugin-pipewire | Gstreamer Plugin for PipeWire | 0.3.26-1.1 | 124.1 KiB
[Keep] libpipewire-0_3-0 | A Multimedia Framework designed to be... | 0.3.26-1.1 | 703.7 KiB
[Keep] libpipewire-0_3-0-32bit | A Multimedia Framework designed to be... | 0.3.26-1.1 | 606.7 KiB
[Keep] pipewire | A Multimedia Framework designed to be... | 0.3.26-1.1 | 381.9 KiB
[Keep] pipewire-alsa | PipeWire media server ALSA support | 0.3.26-1.1 | 151.0 KiB
[Keep] pipewire-modules | Modules For PipeWire, A Multimedia Fr... | 0.3.26-1.1 | 1.6 MiB
[Keep] pipewire-spa-plugins-0_2 | Plugins For PipeWire SPA | 0.3.26-1.1 | 2.4 MiB
[Keep] pipewire-spa-tools | The PipeWire SPA Tools | 0.3.26-1.1 | 387.8 KiB
[Keep] pipewire-tools | The PipeWire Tools | 0.3.26-1.1 | 621.4 KiB
Some (possibly) helpful output:
alsamixer
cannot open mixer: Host is down**
**
[FONT=monospace]
sudo dmesg | grep -i audio
0.085475] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-**Audio**)
29.705377] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_**audio**_component_bind_ops [i915])
30.512667] usbcore: registered new interface driver snd-usb-**audio**
32.784745] snd_hda_codec_realtek hd**audio**C0D0: autoconfig for ALC3271: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
32.784750] snd_hda_codec_realtek hd**audio**C0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
32.784752] snd_hda_codec_realtek hd**audio**C0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
32.784753] snd_hda_codec_realtek hd**audio**C0D0: mono: mono_out=0x0
32.784754] snd_hda_codec_realtek hd**audio**C0D0: inputs:
32.784756] snd_hda_codec_realtek hd**audio**C0D0: Headset Mic=0x19
32.784757] snd_hda_codec_realtek hd**audio**C0D0: Headphone Mic=0x1b
32.784758] snd_hda_codec_realtek hd**audio**C0D0: Internal Mic=0x12
[/FONT]
**[FONT=monospace]
[/FONT]**
[FONT=monospace]aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3271 Analog [ALC3271 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
[/FONT]
[FONT=monospace]sudo lspci | grep -i audio
00:1f.3 **Audio** device: Intel Corporation Tiger Lake-LP Smart Sound Technology **Audio** Controller (rev 20)[/FONT]**[FONT=monospace]
[/FONT]**