No sound after fresh install leap 15.5

hello.
New install after changing motherboard to ASUS PRIME Z790-P
Processor is intel I5-13500
No GPU, using builtin intel graphic
Sound come from HDMI connection.
Monitor is MSI PRO MP 161

This is a not a game machine.

the sound is very low at 50% and just acceptable at 150%

I followed SDB:Troubleshooting

If you need more material ask.

Any help is welcome.

- - -

- - -

- - -

uname -a

Linux localhost.localdomain 5.14.21-150500.55.12-default #1 SMP PREEMPT_DYNAMIC Fri Jul 28 08:40:19 UTC 2023 (52c1db3) x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release

NAME="openSUSE Leap"
VERSION="15.5"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.5"
PRETTY_NAME="openSUSE Leap 15.5"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.5"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"

Firmware :

sudo journalctl -b | grep firmware

[sudo] password for root:
Aug 17 12:20:04 localhost kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
Aug 17 12:20:04 localhost kernel: i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
Aug 17 12:20:04 localhost kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Aug 17 12:20:07 localhost NetworkManager[1126]: <info>  [1692267607.2291] manager[0x55a196620000]: monitoring kernel firmware directory '/lib/firmware'.
Aug 17 12:20:10 localhost.localdomain systemd[1]: Startup finished in 12.936s (firmware) + 3.661s (loader) + 703ms (kernel) + 2.355s (initrd) + 4.724s (userspace) = 24.381s.
Aug 17 13:05:55 localhost.localdomain NetworkManager[1126]: <info>  [1692270355.0548] manager: kernel firmware directory '/lib/firmware' changed
Aug 17 13:05:55 localhost.localdomain [RPM][5324]: install alsa-firmware-1.2.4-1.41.noarch: success
Aug 17 13:05:55 localhost.localdomain [RPM][5324]: install alsa-firmware-1.2.4-1.41.noarch: success
Aug 17 15:07:24 localhost.localdomain kernel: i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_70.bin version 70.5.1
Aug 17 15:07:24 localhost.localdomain kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Alsa install : 
----------------------
sudo rpm -q alsa alsa-utils alsa-firmware

[sudo] password for root:
alsa-1.2.8-150500.1.1.x86_64
alsa-utils-1.2.8-150500.1.2.x86_64
alsa-firmware-1.2.4-1.41.noarch

No sound with this test :

user_install@localhost:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.2.8

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10.933138
 0 - Front Left
 1 - Front Right
Time per period = 10.932019
 0 - Front Left
 1 - Front Right
Time per period = 10.931980
 0 - Front Left
 1 - Front Right
Time per period = 10.931742
 0 - Front Left
 1 - Front Right
Time per period = 10.932260

Sound very low with this test :

speaker-test -c2 -l5 -twav

speaker-test 1.2.8

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 3.033272

aplay -L :

user_install@localhost:~> aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
speexrate
    Rate Converter Plugin Using Speex Resampler
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC897 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC897 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, MSI MP161
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output

Sound very low with this test :

speaker-test -c2 -l5 -twav -D hdmi:CARD=PCH,DEV=0

speaker-test -c2 -l5 -twav -D hdmi:CARD=PCH,DEV=0

speaker-test 1.2.8

Playback device is hdmi:CARD=PCH,DEV=0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10.937014
 0 - Front Left
 1 - Front Right
Time per period = 10.936757
 0 - Front Left
 1 - Front Right
Time per period = 10.935916
 0 - Front Left
 1 - Front Right
Time per period = 10.935939
 0 - Front Left
 1 - Front Right
Time per period = 10.936272

yast :

Yast sound : Nothing to be configured, test does not work, after editing nothing configured
yast sound config

Sound modules and version

cat /proc/asound/modules
 0 snd_hda_intel

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k5.14.21-150500.55.12-default.

INXI and modprobe.d:

inxi -Aa
Audio:
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7a50
    class-ID: 0403
  Sound API: ALSA v: k5.14.21-150500.55.12-default running: yes
  Sound Server-1: PulseAudio v: 15.0 running: yes
  Sound Server-2: PipeWire v: 0.3.64 running: yes

grep -i snd /etc/modprobe.d/*
/etc/modprobe.d/50-sound.conf:alias snd-card-0 snd-sof-pci-intel-tgl

codec used:

cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x6003220000 irq 175

Accessed devices

fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  user_install   2775 F.... pulseaudio

Alsa info :

alsa info

modprobe.d/50-sound.conf :

sudo  cat  /etc/modprobe.d/50-sound.conf
[sudo] password for root:

# nS1_.9_ngl8xpumD:Intel Corporation
alias snd-card-0 snd-sof-pci-intel-tgl

@jcdole is the sof-firmware package installed?

I can think of two things to start with. First unseat and reseat the HDMI cable.

Second, check to see if the volume is different in the app you’re playing sound from than the system volume.

After my very first test, I just installed “sof-firmware-2.2.6-lp155.48.1.noarch.rpm” from “https://download.opensuse.org/repositories/multimedia:/libs/15.5/noarch/sof-firmware-2.2.6-lp155.48.1.noarch.rpm”

If I use the the rear audio connector to connect audio device, that does not remove the hdmi output and I cannot configure audio with yast.

Quoted from your opening post. So sound is working to some extent?

Go into Audio settings (under system-settings).

There should be an option to switch the audio from HDMI to “Analog Stereo Duplex”. Check whether that change enables the rear audio connector.

Yes, but not as one might expect.
On the other hand why the command :

speaker-test -Dplug:front -c2 -l5 -twav

does not work (no sound) while the command :

speaker-test -c2 -l5 -twav

works (but sound very low).

Ok. I will try this a soon as possible

PS : Speakers are 2 x 1.5 W.

This is perhaps a good reason for a low sound.

Ok the switch between hdmi and analog seems not to be automatic.

A test with a JBL DUET 10W show normal sound on analog computer output

OK. I will try my msi monitor on my home cinema.

So, an accurate title would have been “low sound” not “no sound”… and as you’ve now reported was due to the speakers (low power) that were in use.

No. Because when I starting to write this thread, I did not notice any sound.
I did not report any things, I just emit a question about the power of the speakers.
I have no idea what a 1.5 W loudspeaker is like.
At this stage I do not think it can be said that the problem has been solved.
This morning I couldn’t find an hdmi/hdmi-mini cable long enough to test on a TV. I keep looking for one.

On the other hand why the command :

speaker-test -Dplug:front -c2 -l5 -twav

does not work (no sound) while the command :

speaker-test -c2 -l5 -twav

works (but sound very low).

So the more powerful speakers provided adequate output? What else are you trying to achieve here?

speaker-test -Dplug:front -c2 -l5 -twav

does not work (no sound)
So there is perhaps a leap 15.5 bugs ?

I could not imagine that MSI provides a terminal that is useless.
I have not found claim about this devices.

I want to be sure I did not missed something in sound installation.
I want to be sure that it is not a Leap 15.5 bug
I want to be sure that it is not a MSI device problem.
But can we be sure of anything in computing ? . :wink:

It should be very kind of you if you would have an illumination.

Nothing muted or set too low?
amixer -c0

1 Like

I am very busy right now on another task.
I quickly plan to make a try with a raspberry Pi4.
I will keep you informed as soon as I have done this test.
Thank you and see you soon.