Partially problem with sound

Hi everyone,

I installed a fresh Leap 42.1 copy on my PC and I noticed that I cannot hear any sound. My speakers are connected to the computer via jack plug. According to this guide: https://en.opensuse.org/SDB:Audio_troubleshootingI made volume test and SBx00 Azalia (Intel HDA) works correctly, but only when I turn up the volume bar of Headphone. But there is a problem, because I cannot hear any sound from my web browser (Youtube, Internet radio and so on - I installed Adobe Flash). Moreover, when I reboot the PC, Headphone’s bar is set on zero. I didn’t install pavucontrol, because it didn’t help my earlier (I made more than one reinstallation of OpenSuse) and as the web page advices in the general chapter:

Not all of the steps in this troubleshooting guide will be necessary. Just work your way from STEP-1 to the end, stopping when your audio starts to work.

Ok, so how to solve these two issues:

  1. How to get sound globally, not only during a volume test?
  2. How to set Headphone’s bar on full permanently?

Additionally I attach three screen-shots which can help you.
https://i.imgsafe.org/4378e499ce.png
https://i.imgsafe.org/4378fd44f4.png
https://i.imgsafe.org/437911560c.png

Best regards,
Benek

The first question asked when someone reports something like: Player X does not play audio/video type Y (while sound basicaly works, as I understand from your description) is always: Did you do the switch to Packman?

When you do not know what “switching to Packman” means, please say so, we will explain. When you know what it means, please convince us that it is 1000% sure you did that completely.

Yes, it seems to be done. I’ve just added Packman Repository using this site: http://opensuse-community.org/ and now I see it in Software Repositories. Of course a lot of programs/codecs were downloaded, but the problem exists. Moreover, when I run Youtube, I can see on the Pulse Audio Volume Control (now I possess it) that a bar signed as Silence twitches, so sound is recognized but still inaudible.
https://i.imgsafe.org/449ab9cf2c.png

Just adding a repository to your repository list does not install (or replace) anything
The repository must be used!

For doing the switch (which means that you replace all packages that are installed from the OSS repo, but that are also on the Pazckman repo with the versions from the Packman repo and may be add newer packages that are dependentcies from the packages you now installed from Packman, this means a Vendor switch for those packages), you can use either zypper or YaST.

YaST > Software > Software Manager. Then from the View menu choose Repositories, Then from the list of repos at left, choose Packman. At the right you will se a list of packages available in Packman. Above this is a line reading: Switch system packages to … Click on the underlined part of that line. Now some packages below will be selected. Continue the installation.

Thank you, I switched system packages. Unfortunately nothing has changed.

Fine, now people can conentrate on your particular problem knowing that you are using the correct tools/codecs.

BTW, I think it is better to have this thread in the Multimedia forum. I will move it there.

This is CLOSED for the moment.

Moved from Applications and open again.

I’ve discovered something strange. The speakers were connected to the front plug-in, but the PC has also rear devices. Because access to them isn’t so easy, probably I had plugged a jack in mic’s socket firstly, before I placed it in proper plug-in. Sound appeared, but not for long. After reboot desirable settings gone. I started to switch the jack again and happily I heard an Internet radio. In this time I opened sound settings and I noticed that Digital Output wasn’t marked in blue (was white, was not chosen). Suddenly sound disappeared and background became blue (like on the screen below).

I think that switching of the jack caused changing in some configured sound file. Unfortunately I cannot force any changing using interface buttons (programs with GUI).

https://i.imgsafe.org/47d4cf3479.png

Install pavucontrol and that should give control where the sound goes. Not that this control is application specific and you may have to adjust each app. YOu can control where the sound from each app goes

The point is that any possible configuration doesn’t work. I tried with Pavucontrol, AlsaMixer, sound settings and even configuration in YaST.

Intermittent problems are often a hardware problem is the plug good? broken wire???

Impossible. I checked also my headphones. Just I’ve done this again (plug headphones in a mic’ socket) and the sound is back. I switched the jack to a green socket. Digital Output (the previous screen) is unmarked. I suspect that after reboot I will lost sound. Maybe some diagnostic messages will be helped? I read about shell scripts but I’m not able to interpret logs.

There should be no need to mess with YaST, that’s just for initial configuration of the sound card hardware and driver configuration. The pavucontrol utility is used for selecting and setting levels for various sinks and sources.

Are you sure this is not a combo jack?
http://www.tomsguide.com/answers/id-2142308/headphone-microphone-combo-jack-work.html
http://www.pcnexus.net/2013/11/how-to-use-combo-audio-jack-on-laptops.html

BTW, your issue reads a bit like this archlinux thread

The thread included a link to PulseAudio#Switch_on_connect which may be relevant here perhaps.

I switched the jack to a green socket. Digital Output (the previous screen) is unmarked. I suspect that after reboot I will lost sound. Maybe some diagnostic messages will be helped? I read about shell scripts but I’m not able to interpret logs.

Running the alsa diagnostic script will generate the most comprehensive output relating to the state of your audio system

https://en.opensuse.org/SDB:Audio_troubleshooting#Script_to_run_to_obtain_detailed_information

/usr/sbin/alsa-info.sh

It will upload to a server. Post the link that it generates here, so that others can review it further.

No, it seems to be not a combo jack. Moreover, before I installed a Leap 42.1 version I had used OpenSuSe 12.1 without any sound problems. It must be configuration issue. Here is a diagnostic message from alsa-info.sh script: http://www.alsa-project.org/db/?f=d1e87dbbfd9319059499fa083a33bff28f9f358c

I’ve just made further investigation. I retrieved a sound again manipulating the jack and I run the alsa-info.sh script one more time. Then I compared both outputs i.e. with and without sound. Here is a differential log file which was made using the standard diff linux program.


156c156
<   Amp-Out vals:  [0x28 0x28]
---
>   Amp-Out vals:  [0x2e 0x2e]
168c168
<   Amp-Out vals:  [0x28 0x28]
---
>   Amp-Out vals:  [0x2e 0x2e]
182c182
<   Amp-Out vals:  [0x28 0x28]
---
>   Amp-Out vals:  [0x2e 0x2e]
194c194
<   Amp-Out vals:  [0x28 0x28]
---
>   Amp-Out vals:  [0x2e 0x2e]
203,204c203,204
<   Converter: stream=5, channel=0
<   Digital: Enabled GenLevel
---
>   Converter: stream=6, channel=0
>   Digital: GenLevel
221,222c221,222
<   Amp-In vals:  [0x2e 0x2e]
<   Converter: stream=0, channel=0
---
>   Amp-In vals:  [0x80 0x80]
>   Converter: stream=1, channel=0
254c254
<   Converter: stream=1, channel=0
---
>   Converter: stream=0, channel=0
311,312c311,312
<   Converter: stream=5, channel=0
<   Digital: Enabled GenLevel
---
>   Converter: stream=6, channel=0
>   Digital: GenLevel
434c434
<   Amp-In vals:  [0x03 0x03]
---
>   Amp-In vals:  [0x00 0x00]
474c474
<   Amp-Out vals:  [0x00 0x00]
---
>   Amp-Out vals:  [0x80 0x80]
538c538
<   Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
---
>   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
546c546
<   Amp-Out vals:  [0x28 0x28]
---
>   Amp-Out vals:  [0x00 0x00]
602,613c602,613
< crw-rw----  1 root audio 116,  5 Aug 18 12:21 /dev/snd/controlC0
< crw-rw----  1 root audio 116,  2 Aug 18 12:21 /dev/snd/controlC1
< crw-rw----  1 root audio 116, 11 Aug 18 12:21 /dev/snd/hwC0D0
< crw-rw----  1 root audio 116,  4 Aug 18 12:21 /dev/snd/hwC1D0
< crw-rw----  1 root audio 116,  7 Aug 18 12:23 /dev/snd/pcmC0D0c
< crw-rw----  1 root audio 116,  6 Aug 18 12:33 /dev/snd/pcmC0D0p
< crw-rw----  1 root audio 116,  9 Aug 18 12:32 /dev/snd/pcmC0D1c
< crw-rw----  1 root audio 116,  8 Aug 18 12:41 /dev/snd/pcmC0D1p
< crw-rw----  1 root audio 116, 10 Aug 18 12:21 /dev/snd/pcmC0D2c
< crw-rw----  1 root audio 116,  3 Aug 18 12:23 /dev/snd/pcmC1D3p
< crw-rw----  1 root audio 116,  1 Aug 18 12:21 /dev/snd/seq
< crw-rw----  1 root audio 116, 33 Aug 18 12:21 /dev/snd/timer
---
> crw-rw----+ 1 root audio 116,  5 Aug 18 12:21 /dev/snd/controlC0
> crw-rw----+ 1 root audio 116,  2 Aug 18 12:21 /dev/snd/controlC1
> crw-rw----+ 1 root audio 116, 11 Aug 18 12:21 /dev/snd/hwC0D0
> crw-rw----+ 1 root audio 116,  4 Aug 18 12:21 /dev/snd/hwC1D0
> crw-rw----+ 1 root audio 116,  7 Aug 18 12:58 /dev/snd/pcmC0D0c
> crw-rw----+ 1 root audio 116,  6 Aug 18 12:58 /dev/snd/pcmC0D0p
> crw-rw----+ 1 root audio 116,  9 Aug 18 12:32 /dev/snd/pcmC0D1c
> crw-rw----+ 1 root audio 116,  8 Aug 18 12:58 /dev/snd/pcmC0D1p
> crw-rw----+ 1 root audio 116, 10 Aug 18 12:21 /dev/snd/pcmC0D2c
> crw-rw----+ 1 root audio 116,  3 Aug 18 12:23 /dev/snd/pcmC1D3p
> crw-rw----+ 1 root audio 116,  1 Aug 18 12:21 /dev/snd/seq
> crw-rw----+ 1 root audio 116, 33 Aug 18 12:21 /dev/snd/timer
630c630
<   Subdevices: 1/1
---
>   Subdevices: 0/1
633c633
<   Subdevices: 0/1
---
>   Subdevices: 1/1
666c666
<   Mono: Playback 40 [62%] -24.00dB] [on]
---
>   Mono: Playback 46 [72%] -18.00dB] [on]
672,673c672,673
<   Front Left: Playback 64 [100%] [0.00dB] [on]
<   Front Right: Playback 64 [100%] [0.00dB] [on]
---
>   Front Left: Playback 0 [0%] -64.00dB] [off]
>   Front Right: Playback 0 [0%] -64.00dB] [off]
700,701c700,701
<   Front Left: 3 [100%] [30.00dB]
<   Front Right: 3 [100%] [30.00dB]
---
>   Front Left: 0 [0%] [0.00dB]
>   Front Right: 0 [0%] [0.00dB]
744c744
<   Mono: Playback [on] Capture [on]
---
>   Mono: Playback [off] Capture [on]
753,754c753,754
<   Front Left: Capture 46 [100%] [30.00dB] [on]
<   Front Right: Capture 46 [100%] [30.00dB] [on]
---
>   Front Left: Capture 0 [0%] -16.00dB] [off]
>   Front Right: Capture 0 [0%] -16.00dB] [off]
768c768
<   Item0: 'Front Mic'
---
>   Item0: 'Line'
942,943c942,943
<         value.0 64
<         value.1 64
---
>         value.0 0
>         value.1 0
951,952c951,952
<             dbvalue.0 0
<             dbvalue.1 0
---
>             dbvalue.0 -6400
>             dbvalue.1 -6400
958,959c958,959
<         value.0 true
<         value.1 true
---
>         value.0 false
>         value.1 false
1074c1074
<         value 'Front Mic'
---
>         value Line
1101,1102c1101,1102
<         value.0 46
<         value.1 46
---
>         value.0 0
>         value.1 0
1110,1111c1110,1111
<             dbvalue.0 3000
<             dbvalue.1 3000
---
>             dbvalue.0 -1600
>             dbvalue.1 -1600
1117,1118c1117,1118
<         value.0 true
<         value.1 true
---
>         value.0 false
>         value.1 false
1157,1158c1157,1158
<         value.0 3
<         value.1 3
---
>         value.0 0
>         value.1 0
1166,1167c1166,1167
<             dbvalue.0 3000
<             dbvalue.1 3000
---
>             dbvalue.0 0
>             dbvalue.1 0
1227c1227
<             access 'read write locked'
---
>             access 'read write'
1235c1235
<         value true
---
>         value false
1275c1275
<         value 40
---
>         value 46
1283c1283
<             dbvalue.0 -2400
---
>             dbvalue.0 -1800
1359c1359
<         value false
---
>         value true
1410,1411c1410,1411
<         value.0 0
<         value.1 0
---
>         value.0 3
>         value.1 4
1441,1442c1441,1442
<         value.0 3
<         value.1 4
---
>         value.0 0
>         value.1 0

Finally! Thanks to settings forced by jack hacking I noticed that one of options should be Digital Stereo Output. I tried this option before, but the trick is that I must set another option parallely. Additionally the second parameter is located on another tab. It’s just a port which should be Headphones (unplugged) instead of Line Out (unplugged). All these options could be set using the Pavucontrol panel, as you pointed above. Thank you for your help and time. I think that the topic may be closed.

Cheers,
Benek

I hope that continues to solve your problem. It is very unusual that one requires a fix such as this, and IMHO if that was the only way to fix this then a bug report on openSUSE Leap is possibly needed.

I note your PC has two instances of the snd_hda_intel alsa kernel module running. One associated with your PC analog audio and one associated with your PC HDMI device. Note that has the potential to be unstable and have the devices reversed sometime in the future (and audio then unintentionally sent to the HMDI device). So you may wish to keep a watch on this. Note that YaST sound does not adequately handle such a situation.

Glad to read thou - that you have a solution for the time being.