Sound issues kernel 5.14

Hi … I’ve a new computer and tried everything to get the sound to work and hoping someone might see a clue in my alsa-info.sh
http://alsa-project.org/db/?f=0e2f9527fab36bc5d628e40590653c6036d0efba

Both the speakers and microphone show moving gauges indicating sound is being processed. Also the speakers work in Windows (installed on a different ssd, not dual boot).
Any help would be appreciated. Thanks!

PS. I’ve already tried many things including:
1, The procedure in the opensuse audio troubleshooting guide at https://en.opensuse.org/SDB:Audio_troubleshooting
2. An snd_hda_intel force-probe fix that used to work with the same Realtek ALC1220 on an older computer https://forums.linuxmint.com/viewtopic.php?t=327629
sudo tee /etc/modprobe.d/snd-hda-intel-fix.conf <<<‘options snd-hda-intel probe_mask=1’
3. Blacklisting ALC1220 (which didn’t work on my previous computer) from https://forums.linuxmint.com/viewtopic.php?f=49&t=335013&p=1925366#p1925366
sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<‘blacklist snd_hda_codec_realtek’
4. An sof-firmware fix from http://www.reddit.com/r/archlinux/comments/g3s2bq/snd_hda_intel_not_loading/
sudo tee /etc/modprobe.d/intel_dspfix.conf <<<‘options snd_intel_dspcfg dsp_driver=1’

The first thing I noticed from a quick skim through the diagnostic output was that both pipewire and pulseaudio are active. Only one should be active.

!!Sound Servers on this system
!!----------------------------

PipeWire:
      Installed - Yes (/usr/bin/pipewire)
      Running - Yes

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

Start by showing which packages are installed…

zypper se -si pulse pipe

These might yield useful info as well…

systemctl --user list-unit-files | grep -i "pipe|pulse"
pactl info | grep - i server

Many thanks for your reply … I’ve tried now removing the pulse rpms & rebooting … audio hasn’t returned … the new alsa-info is http://alsa-project.org/db/?f=c40f7857685edd54745952fd0efb55ba2d1f7625

Start by showing which packages are installed…

zypper se -si pulse pipe

The rpms are now …
S | Name | Type | Version | Arch | Repository
—±--------------------------±--------±-----------±-------±---------------------
i+ | gstreamer-plugin-pipewire | package | 0.3.39-2.3 | x86_64 | Packman Repository
i+ | libKF5PulseAudioQt3 | package | 1.3-1.2 | x86_64 | Main Repository (OSS)
i+ | libKF5PulseAudioQt3 | package | 1.3-1.2 | x86_64 | openSUSE-20211105-0
i | libpipeline1 | package | 1.5.3-1.5 | x86_64 | Main Repository (OSS)
i | libpipeline1 | package | 1.5.3-1.5 | x86_64 | openSUSE-20211105-0
i | libpipewire-0_3-0 | package | 0.3.39-2.3 | x86_64 | Packman Repository
i+ | libpulse-mainloop-glib0 | package | 15.0-4.1 | x86_64 | Main Repository (OSS)
i+ | libpulse-mainloop-glib0 | package | 15.0-4.1 | x86_64 | openSUSE-20211105-0
i+ | libpulse0 | package | 15.0-4.1 | x86_64 | Main Repository (OSS)
i+ | libpulse0 | package | 15.0-4.1 | x86_64 | openSUSE-20211105-0
i | pipewire | package | 0.3.39-2.3 | x86_64 | Packman Repository
i+ | pipewire-alsa | package | 0.3.39-2.3 | x86_64 | Packman Repository
i+ | pipewire-lang | package | 0.3.39-2.3 | noarch | Packman Repository
i | pipewire-media-session | package | 0.4.0-1.1 | x86_64 | Main Repository (OSS)
i | pipewire-media-session | package | 0.4.0-1.1 | x86_64 | openSUSE-20211105-0
i | pipewire-modules | package | 0.3.39-2.3 | x86_64 | Packman Repository
i | pipewire-pulseaudio | package | 0.3.39-2.3 | x86_64 | Packman Repository
i | pipewire-spa-plugins-0_2 | package | 0.3.39-2.3 | x86_64 | Packman Repository
i | pipewire-spa-tools | package | 0.3.39-2.3 | x86_64 | Packman Repository
i | pipewire-tools | package | 0.3.39-2.3 | x86_64 | Packman Repository

These might yield useful info as well…

These weren’t immediately helpful …

systemctl --user list-unit-files | grep -i "pipe|pulse"

result: Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=@.host --user to connect to bus of other user)

systemctl --machine=stuart@localhost --user list-unit-files | grep -i "pipe|pulse" 

result: Failed to connect to bus: Host is down
Failed to list unit files: Transport endpoint is not connected

pactl info | grep - i server

result: Not installed and not available in standard repositories

Don’t run this as root. I also made a small mistake… it should have been egrep…

systemctl --user list-unit-files | egrep -i "pipe|pulse"
pactl info | grep - i server

result: Not installed and not available in standard repositories

This is because “pulseaudio-utils” is missing.

Thanks!

systemctl --user list-unit-files | egrep -i "pipe|pulse"

result:
pipewire-media-session.service enabled enabled
pipewire-pulse.service disabled disabled
pipewire-session-manager.service alias -
pipewire.service disabled disabled
pipewire-pulse.socket enabled enabled
pipewire.socket enabled enabled

This is because “pulseaudio-utils” is missing.

pactl info | grep - i server

[FONT=arial]result with pulsaudio-utils installed:

[/FONT]Server String: /run/user/1000/pulse/native
Server Protocol Version: 35
Server Name: PulseAudio (on PipeWire 0.3.39)
Server Version: 15.0.0

Ok, that looks better.

Check that the sound output device is as desired. If pavucontrol is installed, you can use that to check the configuration profile and output device settings.

Thanks … however the situation seems to be unchanged with no sound at the speakers … in pavucontrol the output and microphone gauges continue to respond to audio … and they appear to lack automatic level control … hitting 100% constantly with small audio

Nothing muted?

Try the following alsa audio test…

speaker-test -c2 -l5 -twav

Do you hear sound?

Reference
https://en.opensuse.org/SDB:Audio_troubleshooting#STEP-1:_How_to_test_your_sound

If you can get sound with that (or a suitable variation) we can eliminate low-level audio issues at least.

Also, let’s see what this returns…

pactl list sinks

Here’s these results :slight_smile:

speaker-test -c2 -l5 -twav

result: test runs but no sound at speakers

pactl list sinks

[/QUOTE]
Result:
Sink #44
State: RUNNING
Name: alsa_output.pci-0000_00_1f.3.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 48287 / 74% / -7.96 dB, front-right: 48287 / 74% / -7.96 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
object.path = “alsa:pcm:0:front:0:playback”
api.alsa.path = “front:0”
api.alsa.pcm.card = “0”
api.alsa.pcm.stream = “playback”
audio.channels = “2”
audio.position = “FL,FR”
device.routes = “2”
alsa.resolution_bits = “16”
device.api = “alsa”
device.class = “sound”
alsa.class = “generic”
alsa.subclass = “generic-mix”
alsa.name = “ALC1220 Analog”
alsa.id = “ALC1220 Analog”
alsa.subdevice = “0”
alsa.subdevice_name = “subdevice #0
alsa.device = “0”
alsa.card = “0”
alsa.card_name = “HDA Intel PCH”
alsa.long_card_name = “HDA Intel PCH at 0x6203178000 irq 174”
alsa.driver_name = “snd_hda_intel”
device.profile.name = “analog-stereo”
device.profile.description = “Analog Stereo”
card.profile.device = “4”
device.id = “41”
factory.name = “api.alsa.pcm.sink”
priority.driver = “1009”
priority.session = “1009”
media.class = “Audio/Sink”
node.nick = “HDA Intel PCH”
node.name = “alsa_output.pci-0000_00_1f.3.analog-stereo”
device.description = “Built-in Audio Analog Stereo”
device.icon_name = “audio-card-analog”
device.bus = “pci”
device.bus_path = “pci-0000:00:1f.3”
device.form_factor = “internal”
node.pause-on-idle = “false”
factory.id = “18”
client.id = “32”
node.driver = “true”
factory.mode = “merge”
audio.adapt.follower = “”
library.name = “audioconvert/libspa-audioconvert”
object.id = “44”
node.max-latency = “8192/48000”
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
Active Port: analog-output-speaker
Formats:
pcm

Also mention that Pavucontrol recognises my headphones but there is no audio

Ok, then the problem is with the (low-level) alsa layer (and we can leave pipewire out of the equation for now). It’s late here, so hopefully others can chime in. I didn’t spot anything obvious with the last alsa-info.sh diagnostic output, but easy to overlook something…

Show the current alsa control levels…

amixer -c0

One more thought…can you boot (choose “Advanced options…” in grub) using an earlier kernel and see if that provides working sound?

Many thanks for your input so far deano!

Result:
Simple mixer control ‘Master’,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 77 [89%] -7.50dB] [on]
Simple mixer control ‘Headphone’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] -65.25dB] [off]
Front Right: Playback 0 [0%] -65.25dB] [off]
Simple mixer control ‘Speaker’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control ‘PCM’,0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 253 [99%] -0.40dB]
Front Right: Playback 253 [99%] -0.40dB]
Simple mixer control ‘Mic’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Simple mixer control ‘Mic Boost’,0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control ‘IEC958’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control ‘IEC958 Default PCM’,0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control ‘Beep’,0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] -34.50dB] [off]
Front Right: Playback 0 [0%] -34.50dB] [off]
Simple mixer control ‘Capture’,0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 63 [100%] [30.00dB] [on]
Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control ‘Auto-Mute Mode’,0
Capabilities: enum
Items: ‘Disabled’ ‘Enabled’
Item0: ‘Disabled’
Simple mixer control ‘Internal Mic Boost’,0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%] [20.00dB]
Front Right: 2 [67%] [20.00dB]
Simple mixer control ‘Loopback Mixing’,0
Capabilities: enum
Items: ‘Disabled’ ‘Enabled’
Item0: ‘Disabled’

My previous kernel is 5.3 … I’ll retry but I’ve found an hour ago that the desktop now doesn’t start with this kernel … although it did start with this kernel when I first upgraded from Leap 15.3 to Tumbleweed a few days ago (mainly to achieve screen brightness control for my new oled screen)

Even without a working desktop environment, you should still be able to conduct the alsa sound “speaker-test” from a TTY console. At the login screen, do CTRL-ALT-F3, and log in to the VT as a regular user.

Result:
speaker-test started to run and then froze at the first test of 0-Mono … Ctrl-C wouldn’t exit … needed to reboot (and then need a lot of reboots to actually start the desktop)

What is returned by the following?

dmesg | egrep -i "snd|sof|firmware"

I have a similar problem:

pavucontrol shows no output devices

yast sound shows

GP107GL High Definition Audio Controller

  • Configured as sound card number 0
  • Driver snd-hda-intel
  • and
  • Family 17h (Models 00h-0fh) HD Audio Controller

[LIST]

  • Configured as sound card number 1
  • Driver snd-hda-intel

[/LIST]