Stable update feedback

Hi all,

thanks for understanding :relaxed:

@nightmare-2021 native: wegen der 100.000 Stunden hab ich sehr gelacht, o.k. - deine Entscheidung.
Ich denke aber, ich bin auch von Dir verstanden worden, ich hab mehrere Stunden nur in die Suche einer Lösung für die Pulse-Soundausgabe investiert - ansonsten sitze ich natürlich auch mehr, oft zuviel am PC.

Zur Qualität der Rückmeldungen
Ja, sicherlich sind die Meldungen oft für Devs unzureichend - aber der Audio-Ausfall tritt bei mehreren Rechnern auf und ist doch von anderen Usern sehr intensiv gemeldet worden…

Exemplarisch mal ein paar HW-Facts zu einem(!) meiner betroffenen Systeme:

AMD Ryzen 7 1700X
Board Gigabyte GA-AX370-Gaming 5
mit Soundchip Realtek Dual ALC 1220
Grafikkarte NVIDIA GTX 1080

Getestet hab ich zunächst die Soundausgabe nach Update mit Kernel 5.9.3, danach mit 5.8.x und zuletzt mit LTS 5.4 - einzige Wiedergabe-Option immer(!) Dummy-Output.

Final hab ich an diesem System testweise das aktuelle Live Image vom USB-Stick gebootet und Updates gestartet, selbst da keine Soundausgabe über den ALC1220, angeboten wurde nur HDMI3 (über NVIDIA - ist aber kein Speaker im Monitor :roll_eyes:).

Gruß Michael

Wir hoffen, den Fehler gefunden zu haben, da er nur stable betroffen hat.

Please test pipewire 0.3.15-1 to see if that fixes your issue with audio.

@nightmare-2021:

hab die /Partition neu aufgesetzt, alle Updates eingespielt, Pipewire 0.3.15-1 ist installiert.
Sound, leider nein, Lautstärke bietet wie zuvor als Output nur HDMI3 der NVIDIA Karte an.

Die Systemeinstellungen zeigen noch Family17 HD Audio Controller an, ist aber nicht aktivierbar.

Hab HW-Probe installiert und ausgeführt, anbei der Link:

https://linux-hardware.org/?probe=db3db2dc65

Ist das so o.k.?

Gruß Michael

If you look at the mixer log, you see that all internal soundcard ports are turned off: https://linux-hardware.org/index.php?probe=db3db2dc65&log=amixer See also here: Lei Mao's Log Book – Ubuntu 18.04 LTS No Sound Fix

@philm: Thanks, but what is to do now?

in Alsamixer I could select the Soundcard (F6 - HD-Audio Generic) and activate all the sliders (set from MM to a concrete volume, for me S/PDIF is necessary) - but nothing happens.

In Audio (Lautstärke 1.0.0) there is only one Output slider for HDMI3 and in the register “Erweitert” the Familiy 17 HD Audio Controller is “Aus”, nothing else could select.

Gruß Michael

@philm: I look for Lei Maos Link, no functional workaround (switch desktop speaker)…
I could unmute and increase all output sliders in Alsamixer, and I save them with alsactl.
Nothing helps :hot_face:

I made a snapshot, but upload it seems not allowed.

Greetings Michael

The onboard audio device has the same Vendor and Product ID [1458:a0b8] as the audio device on motherboard GA-AX370 Gaming 5 mentioned in this forum discussion: No sound after upgrade

The device has a kernel patch for the dual codecs
ALSA: hda - Support Gigabyte Gaming board with dual Realtek codecs - Patchwork
The patch mentions a Use Case Manager configuration
check if package alsa-ucm-conf is installed to provide the UCM configuration file /usr/share/alsa/ucm2/HDA-Intel/HDAudio-Gigabyte-ALC1220DualCodecs.conf

The Lei Mao blogpost ‘Successful Solution’ was to edit file /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf
But the mixer path configuration files are in a different location on Manjaro
The configuration file from package alsa-card-profiles is located at /usr/share/alsa-card-profile/mixer/paths/analog-output-lineout.conf

@nikgnomic:

thanks for response!

alsa-ucm-conf is installed in version 1.2.4-2.
alsa-card-profiles is installed in version 13.99.3-1.

I look into /usr/share/alsa-card-profile/mixer/paths/analog-output-lineout.conf,
but im not sure, what to do, most elements are switch = off or mute (…and, I need S/PDIF).

In Alsamixer the same elements I set to 51% and saved.
I see the correct sets 51% volume in /usr/share/alsa-card-profile/mixer/profile-sets/default.conf.

I’m a little confused about the patch April 2017. My Audio-Output was functional the last years in Manjaro and stopped after last manjaro stable update 2020-11.

Greetings Michael

Nachtrag Screenshot Alsamixer und Lautstärke:

The headset patch and suggested fix for analog line-out are probably not relevant if you are trying to use the onboard audio S/PDIF optical output

Both of the S/PDIF settings in alsamixer are turned on [OO]

But the PulseAudio Profile for onboard audio audio device is set to ‘Aus’ (Off)

Is there a Profile: Digital Stereo (IEC958) Ausgabe available for ‘Family 17h (Models 00h-0fh0) HD Audio Controller…’ device in Audio settings ?

If you are not sure about the PulseAudio Profiles, please post response to

pacmd list-cards

that will show all available Profiles and if they are available

Hi nikgnomic,

thanks … and you are right.

Alsamixer
Possible to select “Family 17h…” turn on/off the channels.
I set the values to 51% for testing and to control in
/usr/share/alsa-card-profile/mixer/profile-sets/default.conf.
There the config (could see 51%) seems o.k.

In Plasma - Audio Einstellungen the “Family 17h…” is Aus (Off) and no possiblty of any change.

pacmd list-cards shows correct:

alsa.card = “1”
alsa.card_name = “HD-Audio Generic”
alsa.long_card_name = “HDAudio-Gigabyte-ALC1220DualCodecs”
alsa.driver_name = “snd_hda_intel”

but
profiles:
HiFi: Default (priority 8000, available: no)
off: Aus (priority 0, available: unknown)
active profile: off

No Profile Digital Stereo (IEC958) is available, analog or S/PDIF :unamused:

Greetings Michael

This will not do much good as the file will either get replaced when package alsa-card-profiles is updated, or system will create a .pacnew folder and not update the file

PulseAudio will not use the ‘Hifi’ Profile if it is detected as not available
The Profile is probably not available because the ports (sinks (outputs) and sources (inputs) ) are also not available

so pacmd list-sinks may be showing the SPDIF output sink iec958-stereo-output but it is probably shown as ‘available:no’

please post full response to

sudo dmesg | grep snd

to check if the onboard audio device outputs are correctly detected in ALSA

and also

amixer --card=1

to see settings for ALSA controls

Hi nikgnomic,

sorry for the late response, but now it’s time & weekend :slightly_smiling_face:

pacmd list-sinks shows only HDMI, nothing like S/PDIF or iec958-stereo-output.

Output from sudo dmesg | grep snd:

[    5.425670] snd_hda_intel 0000:08:00.1: Disabling MSI
[    5.425681] snd_hda_intel 0000:08:00.1: Handle vga_switcheroo audio client
[    5.521307] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15*/0x16/0x0/0x0) type:line
[    5.521309] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.521310] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.521311] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    5.521312] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[    5.521313] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    5.521314] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    5.521315] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    5.541435] snd_hda_codec_realtek hdaudioC1D1: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) typ
e:hp
[    5.541438] snd_hda_codec_realtek hdaudioC1D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.541440] snd_hda_codec_realtek hdaudioC1D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.541442] snd_hda_codec_realtek hdaudioC1D1:    mono: mono_out=0x0
[    5.541444] snd_hda_codec_realtek hdaudioC1D1:    inputs:
[    5.541446] snd_hda_codec_realtek hdaudioC1D1:      Front Mic=0x1a
[    8.010793] usbcore: registered new interface driver snd-usb-audio

and
amixer --card=1

Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 66 [76%] [-15.75dB] [on]
  Front Right: Playback 66 [76%] [-15.75dB] [on]
Simple mixer control 'Front',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 'Front 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 'Front-Panel',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 66 [76%] [-15.75dB] [on]
  Front Right: Playback 66 [76%] [-15.75dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 66 [76%] [-15.75dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 66 [76%] [-15.75dB] [on]
Simple mixer control 'Line 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 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Rear 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 'Rear-Panel',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]

I am rather at a loss, cause the same phenomen produce a Gigabyte B550I Board.

Thanks and Greetings Michael

The digital output is detected in ALSA, but it is not shown as S/PDIF

There are 2 ALSA controls listed for digital audio as IEC958 instead of S/PDIF

There is no mention of digital output in the HiFi profile for ALC1220 Analog (Card:1 Device:0)
ALC1220 Digital audio playback is probably Card:1 Device:1 and can probably be added to PulseAudio

please post response to

aplay -l

to confirm the correct device/sub-device numbers

Hi nikgnomic,

aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 10: HDMI 4 [HDMI 4]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 11: HDMI 5 [HDMI 5]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 12: HDMI 6 [HDMI 6]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
** Sub-Geräte: 1/1**
** Sub-Gerät #0: subdevice #0**
Karte 1: Generic [HD-Audio Generic], Gerät 4: ALC1220 Analog [ALC1220 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0

Greetings Michael

Archwiki suggests using this command (but I only found this today and not sure if/how it works)

iecset -c1 audio on

I know a solution that works to add an analog output that is not automatically detected in PulseAudio
I can add a digital output sink on my system but I do not have any spdif hardware to confirm 100% it is working, but it appears to work no problem

pacmd load-module module-alsa-sink device=hw:1,1 sink_name=alsa.output.digital-stereo sink_properties=device.description=SPDIF

The module is not persistent and will not be reloaded if system (or PulseAudio) is restarted
If it works for you, the PulseAudio configuration can be customised to have module always loaded (and set to be the default-sink for audio)

If you want more than a stereo output (surround sound or DTS/AEC compression) the command will need additional options for module-alsa-sink

1 Like

Hi nikgnomic,

Great job! Many thanks!!!

My Yamaha Reveicer plays again :slightly_smiling_face: :upside_down_face: :slightly_smiling_face: :grin:!!!

Stereo Output is perfect (like sources) and the Yamaha Soundprocessor pushed it to DTS Neo:6.1 :relaxed:
To be able to make it persistent would be perfect.

Greetings Michael

1 Like

Making the sink output persistent sink is no problem now it is confirmed to work

First copy the default module configuration to your home folder
(keep the system configuration file unmodified as a backup)

cp  /etc/pulse/default.pa ~/.config/pulse/default.pa

Edit this line (probably line 22)

#load-module module-alsa-sink

to this

load-module module-alsa-sink device=hw:1,1 sink_name=alsa.output.digital-stereo sink_properties=device.description=SPDIF

sed 's/'#load-module module-alsa-sink/load-module module-alsa-sink device=hw:1,1 sink_name=alsa.output.digital-stereo sink_properties=device.description=SPDIF/g' ~/.config/pulse/default.pa 

To set SPDIF to be default sink add a line to the end of the file

echo -e '\nset-default-sink alsa.output.digital-stereo' >>  ~/.config/pulse/default.pa 

And restart PulseAudio to load the new custom profile (or reboot system)

systemctl --user restart pulseaudio

I also suggest you check if the new sink is configured OK in

pacmd list-sinks

PulseAudio might not be using the optimal ‘sample spec’ for your Yamaha Soundprocessor, but that can be reconfigured too

1 Like

Hi nikgnomic,

S/PDIF is no permanent after reboot - perfect - thanks for the whole work!

Greetings Michael

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.