No audio in fresh Tumbleweed install on a new AMD Ryzen7 4000 series laptop

Just recently bought a new laptop and proceeded to install OpenSUSE tumbleweed on it (wiping windows). I have installed the basic desktop environment (IceWM) instead of the big DEs as I have a custom setup that I carried over from my other laptop.

The issue seems that HDMI is set as the default audio source. Whilst trying to follow the trouble shoot guide I got a bit confused on how to proceed.

Here is the info I can provide that should be relevant for the issue:

neofetch

OS: openSUSE Tumbleweed x86_64
Host: PC-N1585AZL-2
Kernel: 5.8.14-1-default
WM: bspwm
CPU: AMD Ryzen 7 Extreme Edition (16) @ 1.800GHz
GPU: AMD ATI 04:00.0 Renoir
Memory: 1364MiB / 15413MiB

head -n 1 /proc/asound/card0/codec*

Codec: ATI R6xx HDMI

aplay -ll

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC285 Analog [ALC285 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci -nn |grep -i audio

04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1637]
04:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2] (rev 01)
04:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]

/etc/modprobe.d/50-sound.conf

options snd slots=snd-hda-intel,snd-hda-intel
# kjQT.HiT7TNOA2mA:Family 17h (Models 10h-1fh) HD Audio Controller
alias snd-card-1 snd-hda-intel
# P5_H.ecAYJTYvoK0:ATI Technologies Inc
alias snd-card-0 snd-hda-intel

Hi,

Can you try in Yast2-Sound
See if the other sound card is listed.
Click it to highlight, then click other at the bottom right of the window
and choose it to be the primary card.

Thanks for the quick reply!

In Yast Sound I have the following 2 sound cards:

  1. ATI Technologies Inc
  2. Family 17h (Models 10h-1fh) HD Audio Controller

I set the second one as primary as suggested but still had no audio, HDMI seems to still be the default audio source:

head -n 1 /proc/asound/card0/codec*

Codec: ATI R6xx HDMI

I have also noticed when checking the Volume settings in Yast Audio, I can only modify the volume for the second card in the list (Index 1) whereas the first one (Index 0) I only have the “Test” button appear for master volume. This also happens when I set a new Primary card.

Solved the issue by installing pulseaudio.