Some systems are experiencing problems with getting sound from onboard audio and sending audio signal through HDMI cable when using relatively new Raven2 APUs.
Mr. mrmazda describes his troubles here.
I had the same problems with nearly the same hardware.
Here is my solution.
-
Update your Leap 15.1 as described here.
-
Install PulseAudio’s “pasystray” utility. You may also install other PulseAudio utilities.
Another useful terminal-run utility is
alsamixer
- Start Yast → Hardware → Sound and set up both audio cards “Family 17h (Models 10h-1fh) HD Audio Controller” and “Raven/Raven2/Fenghuang HDMI/DP Audio Controller” using button “Edit” located in the left bottom corner.
Set one of them as a primary using button ~“Other” → “Set as the Primary Card” located in the right bottom corner.
“Family 17h (Models 10h-1fh) HD Audio Controller” = onboard audio with some Realtek chip (ALC1220 for a new systems).
And here goes the main solution: for some reason these two cards are swapped in the YaST sound settings window.
That means: if you selected “Raven/Raven2/Fenghuang HDMI/DP Audio Controller” as primary then the real primary card will be “Family 17h (Models 10h-1fh) HD Audio Controller”, and vice versa.
You may check it selecting “Other” → “Play Test Sound”.
Or select “Other” → “Volume…”, then REAL “Family 17h (Models 10h-1fh) HD Audio Controller” would have settings for a different outputs, and REAL “Raven/Raven2/Fenghuang HDMI/DP Audio Controller” would have none of them.
Set with plasmoid “Volume” appropriate HDMI output.
ASUS says onboard audio Realtek ALC1220 supports 7.1 sound output, but I only see up to 5.1 (and 7.1 for HDMI).
I don’t use 7.1 sound, so I don’t perform additional researches.
IMHO that’s all.
You may check or change your settings with “pasystray” or “alsamixer”.
You may ask your questions here to shed some light on an undescribed items.
I did it with a default for a Leap 15.1 PulseAudio and ALSA packets.
Maybe update for a PulseAudio 11.1 → 13.0 and ALSA will help.
Hint: to run YaST in an english version in a text mode you may run in terminal this command as a root:
env LANGUAGE=en_EN.UTF-8 yast