Leap 15.1 No sound since installation

Hi,

I have not had any sound since I installed Leap 15.1. I installed via the DVD as a fresh install not an upgrade, I have had many problems when I install Leap15.1 nothing like I have ever had before with Opensuse. But the sound is becoming very annoying now asI need it for work and have been without it for 3-4 days.

I have standard onboard sound, I do not have a sound card.

http://alsa-project.org/db/?f=71dc8366247757d438bd7c31abc7422533193fd2

I only want basic sound nothing more. I’m not sure what other info may be needed here but happy for supply to get the sound sorted.

Thank you in advance.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9df8000 irq 38
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfbcfc000 irq 37


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
03:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)

You have two audio devices present. Use ‘pavucontrol’ (graphical PulseAudio mixer utility) to check that you have the appropriate configuration active.

Also, the following guide may be useful to you for troubleshooting purposes…
https://en.opensuse.org/SDB:Audio_troubleshooting

From what I see see your configuration at the alsa level is nominal. This suggests, as deano_ferrari advised, you are likely best served installing and then tuning ‘pavucontrol’ (pulse audio volume control) to tune your audio to work the way you need.

Note pulse audio provides the capability to direct audio on a per application basis to separate audio devices. So its possible pulse audio is sending audio to a device output where that device has no speaker associated. So you need to tune such. I created a blog years ago on this topic: Pulse Audio basics for openSUSE with pavucontrol. And while written for a 32-bit openSUSE-11.4 its just as valid today with the latest 64-bit LEAP.

Some basic tests you can do to confirm sound works, is copy and paste the following into a konsole/xterm as a regular user (and you can try as root if it fails as a regular user) :


aplay -D plughw:0,0 /usr/share/sounds/alsa/test.wav

and also


aplay -D plughw:0,1 /usr/share/sounds/alsa/test.wav

and also try with pulse audio ‘taken out’ of the picture (so to speak):


pasuspender -- aplay -D plughw:0,0 /usr/share/sounds/alsa/test.wav

and also with pulse audio taken out of the picture


pasuspender -- aplay -D plughw:0,1 /usr/share/sounds/alsa/test.wav

If none of those yield any sound, then please provide the error that you get when running them.

Note I am assuming your device does not use HDMI audio (which is card-1) but instead uses analog or digital (which is card-0). Since the same “snd_hda_intel” module is used with each device there is a risk they could randomly switch at boot time. If that is happening, there is a fix that can be applied, but lets not go there yet, as the solution to your sound issue may be much more simple.

@deano_ferrari, I have worked through the link provided but still no joy, whenh testing the sound I have sound other than that when I play music or play a video I get nothing.

@oldcpu, The first and the 3rd commands give me sound but the 2nd and 4th don’t. My soundbar is not connected via HDMI, it is connected via the standard connection into the back on my system.

If I understand this correctly, the test sounds play ok, but nothing from attempting to play audio/video files or streams. If so, then you are likely missing the necessary multimedia codecs perhaps. Refer to this guide…

https://forums.opensuse.org/showthread.php/536314-Multimedia-Guide-for-openSUSE-Leap-15-1

That was the first thing I did on this website before posting the thread. I will try it again.

Returning to oldcpu’s comments in post #3 regarding PulseAudio’s per-application volume levels (which can be examined/set while given media is being played)…

Note pulse audio provides the capability to direct audio on a per application basis to separate audio devices. So its possible pulse audio is sending audio to a device output where that device has no speaker associated. So you need to tune such. I created a blog years ago on this topic: Pulse Audio basics for openSUSE with pavucontrol. And while written for a 32-bit openSUSE-11.4 its just as valid today with the latest 64-bit LEAP.

Ok this is where i’m at and still no sound. When sound is tested it works perfectly a stated in an earlier post, I have tried to copy the exact settings as posted in oldcpu’s blog post just so I can get something but still no joy. Please see the screenshots below.

What am I doing wrong?

Current setup

http://alsa-project.org/db/?f=95cf864b6db0e0be171b5a88fb7de6b2703618ac

Yast Setup

http://www.imagebam.com/image/585f6a1293011634

Pulse Audio Configuration

http://www.imagebam.com/image/f416681293011684

Output Devices

http://www.imagebam.com/image/420d9f1293016874

Output Devices - All Output Devices

http://www.imagebam.com/image/cdf4901293016894

Playback - All Streams

http://www.imagebam.com/image/2567611293016914

Equalizer

http://www.imagebam.com/image/a0aa831293019544

Input Devices Except Monitor

http://www.imagebam.com/image/4d0c3c1293019574

Input Devices All Input Devices

http://www.imagebam.com/image/b654a61293021284

The screenshots were taken while a video was playin VLC Media Player.

The ‘Configuration’ tab output in pavucontrol confirms that you have HDMI output (GK104 HDMI Audio Controller) is currently configured as active. Based on one of your other shared PulseAudio images, it appears that your sound bar is connected via a S/PDIF connection (Built-in Digital Audio card). You should set that as active via the pavucontrol ‘Configuration’ tab.

BTW, for future reference it is best to add the image URLs via the ‘Insert Image’ button in the forum editor rather than embedding them with CODE tags. We also have susepaste for sharing lengthy text/code and images (ad free).

How would I do that? Via Yast>Sound HD Audio Controller is set as 0 and GK104 HDMI Audio Controller is set as 1, I thought this would make the built-in audio car the default active.

Via the configuration tab I can select the off profile for the GK104 HDMI Audio Controller, will that work?

Yes, although I’m not sure how PA configuration might influence that.

Via the configuration tab I can select the off profile for the GK104 HDMI Audio Controller, will that work?

Yes, give it a try I guess. I assume that your sound bar really is connected via a digital S/PDIF connection though?

It appears to me that you have greatly complicated your setup, by installing an equalizer before you had sound working.

Typically, after a new install, I first get basic sound working. I then make note of my settings with sound functioning. Only after basic sound is properly functional do I then add things such as an equalizer.

My recommendation would be to delete the equalizer app, … configure your sound without the equalizer, and then after you have sound functioning properly with pulse audio, add the equalizer.

Its a far more simple and IMHO easier approach.

Further to the above, the equalizer complicates your setup. I am not convinced ‘digital audio’ is the correct setting for your PC.

Looking at your setup:

Configuration: I would be surprised if “Digital Stereo (IEC958) + Analog Stereo input” is the correct setting. What other options do you have?

Under Output devices: I would be surprised if “Digital Output (S/PDIF)” is the correct setting. What other options do you have?

Playback : You are sending audio to “LADSPA Plugin Multiband EQ on Built-In Audio Digital Stereo (IEC958)” but I do not see where that device is receiving the audio. You have the LADSPA Stereo stream set to “Built in Audio Digital Stereo (IEC958)” but I would be surprised if that is the correct setting.

Now I finally have sound…

I have managed to change the configuration for the built in audio too Analog Stereo Duplex and the sound has finally worked, I can change it too Analog Stereo Output too and it still works. All the playback settings changed to Built-in Audio Analog Stereo.

Thanks for the update. That’s why I was asking about how your sound bar was really connected, and oldcpu was also asking the same question. Anyway, good result.

Appreciate the help, thank you

Well done in your efforts/determination to get this working.

Sometimes the sound can be frustrating to get working, but once it is functional and one becomes more familiar with the setup, I find the number of possibilities for sound direction/control very useful.